diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-03-12 07:59:36 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-03-12 07:59:36 +0000 |
commit | 24cfcb783e0d4ebb01ed5d7c82e0355e629da4df (patch) | |
tree | ab8df1a8b2203d7057746b0453b0f73dd7799e25 /media-video/dvbcut/files | |
parent | Add missing app-arch/zip dependency for the source use flag. (diff) | |
download | historical-24cfcb783e0d4ebb01ed5d7c82e0355e629da4df.tar.gz historical-24cfcb783e0d4ebb01ed5d7c82e0355e629da4df.tar.bz2 historical-24cfcb783e0d4ebb01ed5d7c82e0355e629da4df.zip |
Fix build with scons dev-util/scons-0.96.94, thanks to Castagnola Roberto for porting this patch, bug #159373, add ~amd64, die if ffmpeg is not built with a52 useflag, bug #159212
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'media-video/dvbcut/files')
-rw-r--r-- | media-video/dvbcut/files/dvbcut-0.5.3-sconstruct.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-video/dvbcut/files/dvbcut-0.5.3-sconstruct.patch b/media-video/dvbcut/files/dvbcut-0.5.3-sconstruct.patch new file mode 100644 index 000000000000..a4382ca08d2a --- /dev/null +++ b/media-video/dvbcut/files/dvbcut-0.5.3-sconstruct.patch @@ -0,0 +1,34 @@ +--- trunk/SConstruct 2006/09/04 19:40:35 1 ++++ trunk/SConstruct 2007/01/28 11:09:32 21 +@@ -48,7 +48,7 @@ + + env.Replace(CXXFILESUFFIX=".cpp") + +-env.Append(CPPDEFINES={"_FILE_OFFSET_BITS": "64", "_LARGEFILE_SOURCE": None}) ++env.Append(CPPDEFINES=[("_FILE_OFFSET_BITS", "64"), "_LARGEFILE_SOURCE"]) + + for v in ("CXX","LINK"): + if (v in os.environ): +@@ -62,11 +62,11 @@ + + if (not env.GetOption('clean')): + if (conf.TryAction('pkg-config --exists ao')[0]): +- conf.env.Append(CPPDEFINES={"HAVE_LIB_AO":None}) ++ conf.env.Append(CPPDEFINES="HAVE_LIB_AO") + conf.env.ParseConfig('pkg-config --cflags --libs ao') + print "Checking for libao... found" + elif (conf.CheckLibWithHeader('ao', 'ao/ao.h', 'C')): +- conf.env.Append(CPPDEFINES={"HAVE_LIB_AO":None}) ++ conf.env.Append(CPPDEFINES="HAVE_LIB_AO") + conf.env.Append(LIBS=['ao']) + print "Checking for libao... found" + else: +@@ -85,7 +85,7 @@ + env.Replace(QT_LIB=qtlib) + + if (debug<=0): +- env.Append(CPPDEFINES={"QT_NO_DEBUG": None}) ++ env.Append(CPPDEFINES="QT_NO_DEBUG") + + ### FFMPEG + |