Update of /cvsroot/leaf/src/The_UnNamed_One/apps/buildenv/patches
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25106

Added Files:
        gcc-obstack.h.patch 
Log Message:
add gcc-obstack.h.patch so gcc-3.3.3 can be compiled with more recent compilers


--- NEW FILE: gcc-obstack.h.patch ---
--- gcc-3.3.3.orig/include/obstack.h    2009-01-19 12:21:51.000000000 +0100
+++ gcc-3.3.3/include/obstack.h 2009-01-19 12:28:19.000000000 +0100
@@ -423,7 +423,8 @@
 ({ struct obstack *__o = (OBSTACK);                                    \
    if (__o->next_free + sizeof (void *) > __o->chunk_limit)            \
      _obstack_newchunk (__o, sizeof (void *));                         \
-   *((void **)__o->next_free)++ = ((void *)datum);                     \
+   *((void **)__o->next_free) = ((void *)datum);                       \
+   __o->next_free += sizeof(void *);                                   \
    (void) 0; })
 
 # define obstack_int_grow(OBSTACK,datum)                               \


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
leaf-cvs-commits mailing list
leaf-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to