packages/libs/glib/patches/003-gcc-3.4-compat.patch
jow 8d84e2f567 [packages] glib: the nineties called, they want their macros back...
- correct and cleanup configure.ac to make it work with autoreconf
	- fix other outstanding autofail issues
	- cleanup and refresh patches
	- drop uneeded debian patch


git-svn-id: svn://svn.openwrt.org/openwrt/packages@25961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-08 18:47:10 +00:00

23 lines
821 B
Diff

Submitted By: Uwe Düffert (lfs at uwe-dueffert dot de)
Date: 2004-05-15
Initial Package Version: 1.2.10
Origin: self-created, http://www.uwe-dueffert.de/lfs/ownpatches/glib-1.2.10-gcc34-1.patch
Upstream Status: not reported
Description: fix compilation of glib1 with gcc34
$LastChangedBy: pavlov $
$Date: 2007-03-05 02:34:12 +0100 (Mon, 05 Mar 2007) $
diff -Naur glib-1.2.10.orig/gstrfuncs.c glib-1.2.10/gstrfuncs.c
--- glib-1.2.10.orig/gstrfuncs.c 2004-05-15 13:40:03.556092792 +0000
+++ glib-1.2.10/gstrfuncs.c 2004-05-15 13:40:36.712052320 +0000
@@ -47,6 +47,8 @@
* inteferes with g_strsignal() on some OSes
*/
+#define G_GNUC_PRETTY_FUNCTION
+
typedef union _GDoubleIEEE754 GDoubleIEEE754;
#define G_IEEE754_DOUBLE_BIAS (1023)
/* multiply with base2 exponent to get base10 exponent (nomal numbers) */