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>
pull/339/head
Alexander Golubev 10 months ago committed by TDE Gitea
parent eac9cdd5fb
commit e982ad37f7

@ -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'`"

@ -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() {
Loading…
Cancel
Save