summaryrefslogtreecommitdiff
path: root/openwrt/package/glib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-28 16:15:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-28 16:15:01 +0000
commit7268e7ce8645a5406d153748729a477c8a46c438 (patch)
treea58e997e5d1a0af8b4b613d7858046d39aa45fc5 /openwrt/package/glib
parent0213c90179c014bd4315ec278159fc2612a208b7 (diff)
downloadmtk-20170518-7268e7ce8645a5406d153748729a477c8a46c438.zip
mtk-20170518-7268e7ce8645a5406d153748729a477c8a46c438.tar.gz
mtk-20170518-7268e7ce8645a5406d153748729a477c8a46c438.tar.bz2
add gcc 3.4 fix for glib
SVN-Revision: 746
Diffstat (limited to 'openwrt/package/glib')
-rw-r--r--openwrt/package/glib/patches/04-gcc3.4-fix22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/glib/patches/04-gcc3.4-fix b/openwrt/package/glib/patches/04-gcc3.4-fix
new file mode 100644
index 0000000..3eddcf6
--- /dev/null
+++ b/openwrt/package/glib/patches/04-gcc3.4-fix
@@ -0,0 +1,22 @@
+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: bdubbs $
+$Date$
+
+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) */