]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/unionfs/files/gcc2-hack.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / unionfs / files / gcc2-hack.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- unionfs-1.0.3/fist.h~gcc2   2004-11-10 09:38:58.000000000 -0500
7 +++ unionfs-1.0.3/fist.h        2004-11-14 05:11:47.601022344 -0500
8 @@ -212,11 +212,20 @@
9  } while (0)
10  
11  /* Call if you encounter a bug. */
12 +
13 +#if __GNUC__ < 3
14 +#define FISTBUG(arg...) \
15 +do { \
16 +       printk("<0>FISTBUG " ##arg); \
17 +       (*((char *)0))=0; \
18 +} while (0)
19 +#else
20  #define FISTBUG(fmt, args...) \
21  do { \
22         printk("<0>FISTBUG at %s:%s:%d " fmt, __FILE__, __FUNCTION__, __LINE__,  ##args); \
23         (*((char *)0))=0;       \
24  } while (0);
25 +#endif
26  
27  /* The if (0 ...) is so that we can make sure that you don't pass this
28   * define a non-pointer.  gcc should optimize it away. */