Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14460

Modified Files:
        glib2.info glib2.patch 
Log Message:
Work around Apple gcc3.3 compiler bug in array-test


Index: glib2.info
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/glib2.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- glib2.info  4 Jun 2005 23:30:46 -0000       1.3
+++ glib2.info  5 Jun 2005 20:43:04 -0000       1.4
@@ -18,7 +18,11 @@
 SetCFLAGS: -O3 -funroll-loops -fstrict-aliasing
 SetLIBRARY_PATH: %p/lib
 ConfigureParams: --mandir=%p/share/man --disable-gtk-doc 
--disable-dependency-tracking
-CompileScript: ./configure %c; make -j2; make check
+CompileScript: <<
+  ./configure %c
+  make -j2
+  make check
+<<
 InstallScript: make install DESTDIR=%d
 SplitOff: <<
   Package: %N-shlibs
@@ -48,6 +52,10 @@
 
   check uses some C++ but it doesn't leak out into the installed
   package
+
+  Patch array-test.c to avoid triggering bug in Apple's gcc3.3
+  (claimed to be fixed in gcc4.0 and wontfix in gcc3.3). See
+    http://bugzilla.gnome.org/show_bug.cgi?id=173127
 <<
 License: LGPL
 Maintainer: The Gnome Core Team <[EMAIL PROTECTED]>

Index: glib2.patch
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/glib2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- glib2.patch 4 Jun 2005 23:31:53 -0000       1.2
+++ glib2.patch 5 Jun 2005 20:43:04 -0000       1.3
@@ -275,3 +275,13 @@
  #endif
  
    alive = 2;
+--- glib-2.6.4/tests/array-test.c      2004-12-25 20:04:01.000000000 -0400
++++ glib-2.6.4-new/tests/array-test.c  2005-06-05 16:27:23.000000000 -0400
+@@ -116,6 +116,7 @@
+ 
+   for (i = 0; i < 10000; i++)
+     {
++      printf("");
+       g_assert (gbarray->data[4*i] == 'a');
+       g_assert (gbarray->data[4*i+1] == 'b');
+       g_assert (gbarray->data[4*i+2] == 'c');



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to