summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-01-09 19:38:45 +0300
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-01-17 22:36:40 +0000
commite982ad37f763880d5dbf8e86cdb662a1128f6194 (patch)
tree0753926a7c00721b0bceb5c24eebef17bfbdf0cb
parenteac9cdd5fb1e63814847f139cbb2b2d3df09d296 (diff)
downloadtde-packaging-gentoo-e982ad37f763880d5dbf8e86cdb662a1128f6194.tar.gz
tde-packaging-gentoo-e982ad37f763880d5dbf8e86cdb662a1128f6194.zip
media-video/transcode: fix build against recent ImageMagick
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo/issues/347 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-rw-r--r--media-video/transcode/files/transcode-1.1.7-avoid-filtering-pkg-config.patch19
-rw-r--r--media-video/transcode/transcode-1.1.7-r7.ebuild (renamed from media-video/transcode/transcode-1.1.7-r6.ebuild)1
2 files changed, 20 insertions, 0 deletions
diff --git a/media-video/transcode/files/transcode-1.1.7-avoid-filtering-pkg-config.patch b/media-video/transcode/files/transcode-1.1.7-avoid-filtering-pkg-config.patch
new file mode 100644
index 00000000..159ca01f
--- /dev/null
+++ b/media-video/transcode/files/transcode-1.1.7-avoid-filtering-pkg-config.patch
@@ -0,0 +1,19 @@
+Trinity-Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging-gentoo/issues/347
+Gentoo-Bug: https://bugs.gentoo.org/914628
+--- transcode-1.1.7/acinclude.m4.orig 2024-01-09 16:21:06.928183121 -0000
++++ transcode-1.1.7/acinclude.m4 2024-01-09 16:21:18.600682772 -0000
+@@ -561,14 +561,6 @@
+ fi
+ fi
+ fi
+- ipaths="" ; xi=""
+- for i in $$1_ii ; do
+- case $i in
+- -I*) ipaths="$ipaths $i" ;;
+- *) xi="$xi $i" ;;
+- esac
+- done
+- $1_ii="$ipaths"
+ $1_ii="`echo $$1_ii | sed -e 's/ */ /g'`"
+ $3_EXTRA_CFLAGS="$$3_EXTRA_CFLAGS $xi"
+ $3_EXTRA_CFLAGS="`echo $$3_EXTRA_CFLAGS | sed -e 's/ */ /g'`"
diff --git a/media-video/transcode/transcode-1.1.7-r6.ebuild b/media-video/transcode/transcode-1.1.7-r7.ebuild
index e3b0d10c..b0e75201 100644
--- a/media-video/transcode/transcode-1.1.7-r6.ebuild
+++ b/media-video/transcode/transcode-1.1.7-r7.ebuild
@@ -75,6 +75,7 @@ PATCHES=(
"${FILESDIR}"/${P}-swresample.patch # bug 722296
"${FILESDIR}"/${P}-gcc10-fno-common.patch
"${FILESDIR}"/${P}-glibc-2.32.patch
+ "${FILESDIR}"/${P}-avoid-filtering-pkg-config.patch # gentoo-bug 914628
)
src_prepare() {