Hi, there!

I received this patch and applied it to svn. Should fix build problems in some 
situations.

----------  Weitergeleitete Nachricht  ----------

Subject: dvbcut patch
Date: Sonntag, 28. Januar 2007 10:51
From: Christian Marillat <[EMAIL PROTECTED]>
To: Sven Over <[EMAIL PROTECTED]>

Hi,

I've received this patch from
Ingo Saitz <[EMAIL PROTECTED]> to fix the build in dvbcut.

Christian

-------------------------------------------------------

-- 
Sven Over
Stephanienstr. 9
76133 Karlsruhe

Telefon: 0721-9204199

http://www.svenover.de/
--- dvbcut-0.5.3.orig/SConstruct
+++ dvbcut-0.5.3/SConstruct
@@ -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", None)])
 
 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", None))
     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", None))
     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", None))
 
 ### FFMPEG
 

Attachment: pgpuz5VaEqyOM.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DVBCUT-devel mailing list
DVBCUT-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-devel

Reply via email to