diff options
author | 2007-07-26 16:05:11 +0000 | |
---|---|---|
committer | 2007-07-26 16:05:11 +0000 | |
commit | 01a6c06151fd6c6e57e7c98e0cf11b6c82c79f02 (patch) | |
tree | 6176f4f1ee9115572f676ea1c7a264a4bc824c38 /media-video/transcode/files | |
parent | Initial import, a QT4 gui for recordmydesktop (diff) | |
download | gentoo-2-01a6c06151fd6c6e57e7c98e0cf11b6c82c79f02.tar.gz gentoo-2-01a6c06151fd6c6e57e7c98e0cf11b6c82c79f02.tar.bz2 gentoo-2-01a6c06151fd6c6e57e7c98e0cf11b6c82c79f02.zip |
Fix tomsmocomp filter building against gcc4, bug 181239
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'media-video/transcode/files')
-rw-r--r-- | media-video/transcode/files/digest-transcode-1.0.3-r1 | 6 | ||||
-rw-r--r-- | media-video/transcode/files/transcode-1.0.3-tomsmocomp-gcc4.patch | 48 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-video/transcode/files/digest-transcode-1.0.3-r1 b/media-video/transcode/files/digest-transcode-1.0.3-r1 new file mode 100644 index 000000000000..1c396b21f49c --- /dev/null +++ b/media-video/transcode/files/digest-transcode-1.0.3-r1 @@ -0,0 +1,6 @@ +MD5 4f6eb832123ea28c54f0d4952733bcb6 transcode-1.0.3.tar.bz2 1987499 +RMD160 f7c2db91be55c14a8e59eee4467a7f6a1bd73c83 transcode-1.0.3.tar.bz2 1987499 +SHA256 9a98e307f78fde36bb55b891dcbf8d2be3d2def9ae016255959e0664be9785f9 transcode-1.0.3.tar.bz2 1987499 +MD5 ece32a8f6bce5bd9d06841bec8cc263e transcode-types.patch.bz2 5021 +RMD160 956ea116495a57e304ab71a20ccd45ffd7416544 transcode-types.patch.bz2 5021 +SHA256 02bf6ac9a2e039336e103d43acbe7c86975bc3b587dc9dfa23992bd949fc2170 transcode-types.patch.bz2 5021 diff --git a/media-video/transcode/files/transcode-1.0.3-tomsmocomp-gcc4.patch b/media-video/transcode/files/transcode-1.0.3-tomsmocomp-gcc4.patch new file mode 100644 index 000000000000..52456684cf8b --- /dev/null +++ b/media-video/transcode/files/transcode-1.0.3-tomsmocomp-gcc4.patch @@ -0,0 +1,48 @@ +diff --exclude=Makefile.in -ru transcode-1.0.3.original/filter/Makefile.am transcode-1.0.3/filter/Makefile.am +--- transcode-1.0.3.original/filter/Makefile.am 2007-06-07 20:40:53.000000000 +0200 ++++ transcode-1.0.3/filter/Makefile.am 2007-06-07 20:43:32.000000000 +0200 +@@ -40,20 +40,14 @@ + if HAVE_GCC2 + F_TOMSMOCOMP = + else +-if HAVE_GCC4 +-F_TOMSMOCOMP = +-else + if ARCH_X86 + if HAVE_MMX + if HAVE_SSE +-if HAVE_3DNOW + F_TOMSMOCOMP = tomsmocomp + endif + endif + endif + endif +-endif +-endif + + AM_CFLAGS = $(ALTIVEC) + +diff --exclude=Makefile.in -ru transcode-1.0.3.original/filter/tomsmocomp/Makefile.am transcode-1.0.3/filter/tomsmocomp/Makefile.am +--- transcode-1.0.3.original/filter/tomsmocomp/Makefile.am 2007-06-07 20:40:53.000000000 +0200 ++++ transcode-1.0.3/filter/tomsmocomp/Makefile.am 2007-06-07 21:33:11.000000000 +0200 +@@ -8,6 +8,20 @@ + + AM_CFLAGS = -fno-omit-frame-pointer + ++##################################################################### ++# gcc-4.x only allows mmx inline assembly keywords when ++# -mmmx is specified. ++# (http://osdir.com/ml/video.transcode.devel/2005-07/msg00004.html) ++# ++# A dirty workaround would be to compile the problematic file ++# (tomsmocompfilter_mmx.c) as a pseudo-library so that we're able to ++# specify CFLAGS for it although it's okay in this case to add ++# -mmmx to the CFLAGS for the whole library because it won't be built ++# without an MMX capable CPU anyway, as specified in ../Makefile.am. ++# ++filter_tomsmocomp_la_CFLAGS = -mmmx ++##################################################################### ++ + pkgdir = $(MOD_PATH) + + pkg_LTLIBRARIES = filter_tomsmocomp.la |