commit:     0019e235ced6f5cad4dc36d1ea474070075d333a
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Sep  2 19:02:16 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 10:52:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0019e235

www-apps/hugo: fix failing test with newer libwebp

>=libwebp-1.2.3 creates a different image than 1.2.0 (bundled by
upstream) in one test case. Visual inspection showed no noticeable
difference, so the control image is patched.

Closes: https://bugs.gentoo.org/867940
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/hugo/Manifest            |  1 +
 www-apps/hugo/hugo-0.101.0.ebuild | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/www-apps/hugo/Manifest b/www-apps/hugo/Manifest
index 9e81ffc93553..5cefacfd7353 100644
--- a/www-apps/hugo/Manifest
+++ b/www-apps/hugo/Manifest
@@ -1,3 +1,4 @@
+DIST hugo-0.101.0-libwebp-1.2.3.patch 5197 BLAKE2B 
ef39ae1d804a96f791031eef87f1e0a51ccf0abc2963c65bb0e86971d0a5079445707af57d14f98c9709a97e148925cb51b676d4009e89b7ff695e633b200443
 SHA512 
3c8b227f07037048f0191b7ecda1d6c3900b2b515ae2007cbc18d8c9b8d8dd10f70e7b41dd8b81c612c43ae280024538226cd93049c20e9437e774c28b51b45a
 DIST hugo-0.101.0-vendor.tar.xz 5682852 BLAKE2B 
130cf9fda4d857e69144147e408a90fd28273d42919c4ea50228b795b7c35f9641857f642be8628b947b213ee42f11f468ca76317d4742d09c60bc5a272e83ff
 SHA512 
07390ebb9daf2097010013f5e7c789f3fcee485952968b0934cc5d625eec9a79784ccda1414e59a21073b66389c75888704f923675f255df5eaa0d43c0cc3048
 DIST hugo-0.101.0.tar.gz 28130925 BLAKE2B 
ff35c48c39dac61abe56ba4f75bfddcdda700b71157dc4ed75f1c3724b11b8a9f4546e94d3105a724a5493b3baa73056a55d9d90e87ce4237e39213995db636d
 SHA512 
541d0e04e868845119f2b488fd53b92929ea4dc08685d438a2914b41586e204588b193522013e8eed908dc0c3fbc2714aefb1afad0beae875d57d71aadc59c70
 DIST hugo-0.99.1-vendor.tar.xz 5675228 BLAKE2B 
80fdd25fe924bcde7f200b805bf6598dbb726bb628b82e9b0d2809414a7a6e33cbfe069e29953e75b8ed4ecdb9c7303b44a8d8195b43540977cd7461295de109
 SHA512 
88ffb6bea777e3a72dac05941de542acdc6a17faff9e98517e483e17c7a42d1ab5aa7e65ed3a91f6832468d2da3e98e87346118694a8e20f6375fad56d5d7ff0

diff --git a/www-apps/hugo/hugo-0.101.0.ebuild 
b/www-apps/hugo/hugo-0.101.0.ebuild
index 9a449bde3bbb..76d449330265 100644
--- a/www-apps/hugo/hugo-0.101.0.ebuild
+++ b/www-apps/hugo/hugo-0.101.0.ebuild
@@ -10,6 +10,7 @@ HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo";
 SRC_URI="
        https://github.com/gohugoio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
        https://tastytea.de/files/gentoo/${P}-vendor.tar.xz
+       https://tastytea.de/files/gentoo/${PN}-0.101.0-libwebp-1.2.3.patch
 "
 
 # NOTE: To create the vendor tarball, run:
@@ -29,7 +30,7 @@ BDEPEND="
        )
 "
 RDEPEND="
-       media-libs/libwebp:=
+       >=media-libs/libwebp-1.2.3-r1:=
        sass? ( dev-libs/libsass:= )
 "
 DEPEND="${RDEPEND}"
@@ -37,9 +38,10 @@ DEPEND="${RDEPEND}"
 RESTRICT="!test? ( test )"
 
 PATCHES=(
-       "${FILESDIR}/${PN}-0.96.0-unbundle-libwebp-and-libsass.patch"
-       "${FILESDIR}/${PN}-0.96.0-skip-some-tests.patch"
-       "${FILESDIR}/${PN}-0.99.1-test-timeout.patch"
+       "${FILESDIR}"/${PN}-0.96.0-unbundle-libwebp-and-libsass.patch
+       "${FILESDIR}"/${PN}-0.96.0-skip-some-tests.patch
+       "${FILESDIR}"/${PN}-0.99.1-test-timeout.patch
+       "${DISTDIR}"/${PN}-0.101.0-libwebp-1.2.3.patch
 )
 
 src_configure() {

Reply via email to