Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv5286

Modified Files:
        fltk13-aqua.info 
Log Message:
patch header to not use anonymous enum so g++-4.0.1 can compile it
validated on powerpc-darwin8


Index: fltk13-aqua.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/fltk13-aqua.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fltk13-aqua.info    18 Oct 2011 16:54:39 -0000      1.1
+++ fltk13-aqua.info    18 Nov 2011 16:36:58 -0000      1.2
@@ -1,6 +1,6 @@
 Package: fltk13-aqua
 Version: 1.3.0
-Revision: 2
+Revision: 2.1
 Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
 #
 Description: GUI toolkit (Aqua graphics)
@@ -38,6 +38,8 @@
 Don't continue if any make target fails.
 
 Patch to avoid chmod +x on libraries.
+
+Patch to allow g++-4.0.1 to compile headers (anonymous enums). -- fangism
 <<
 #
 Homepage: http://www.fltk.org/
@@ -70,6 +72,12 @@
   perl -pi -e 's/ 755 / 644 / if /\/lib.*\.{a,dylib}/' src/Makefile
   perl -ni -e 'print unless /mandir\)\/cat/' documentation/Makefile
   perl -pi -e 's|share/doc/fltk|share/doc/%n/html|g' configure
+  # patch enums to be non-anonymous ofr darwin8-g++-4.0.1 -- fangism
+  darwin_vers=`uname -r | cut -f1 -d.`
+  if test $darwin_vers = 8
+  then
+    sed -i.orig -e '/^enum.*values for flags:/s|enum |&_Fl_Menu_enum |' 
Fl/Fl_Menu_Item.H
+  fi
 <<
 #
 GCC: 4.0


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to