Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv5327

Modified Files:
        frei0r-dev.info 
Log Message:
fix for xcode 4.3.3 that doesn't like some -O2

Index: frei0r-dev.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/frei0r-dev.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- frei0r-dev.info     9 Sep 2011 14:22:59 -0000       1.1
+++ frei0r-dev.info     6 Jul 2012 11:00:42 -0000       1.2
@@ -13,6 +13,14 @@
 Source-MD5: a2eb63feeeb0c5cf439ccca276cbf70c
 SourceDirectory: frei0r-%v
 GCC: 4.0
+PatchScript: <<
+       #!/bin/sh -ev
+       ### clang-3.1svn from Xcode 4.3.3 doesn't like compiling this at -O2,
+       ### so downgrade {pr0be,test_pat_B,test_pat_C}.c to -O1
+       cp -p src/Makefile.in src/Makefile.in.new
+       awk '/(pr0be|test_pat_B|test_pat_C).Tpo/ { sub(/\$\(CFLAGS\)/,"-g 
-O1")} { print > "src/Makefile.in.new" }' src/Makefile.in
+       mv src/Makefile.in.new src/Makefile.in
+<<
 InstallScript: <<
        #!/bin/sh -ev
        make install DESTDIR=%d


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to