summaryrefslogtreecommitdiff
path: root/openwrt/package/glib/patches/03-use-glibconfig-sysdefs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-03 00:20:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-03 00:20:48 +0000
commitf7b8c69ccf8b26fdcbb8bd5a97c213773c17957b (patch)
tree0e6207e35d5cf02a1eb879049156e95de9bda5e6 /openwrt/package/glib/patches/03-use-glibconfig-sysdefs
parentfa466d4b23e4680e34793f313f5818f2105cb983 (diff)
downloadmtk-20170518-f7b8c69ccf8b26fdcbb8bd5a97c213773c17957b.zip
mtk-20170518-f7b8c69ccf8b26fdcbb8bd5a97c213773c17957b.tar.gz
mtk-20170518-f7b8c69ccf8b26fdcbb8bd5a97c213773c17957b.tar.bz2
add glib
SVN-Revision: 535
Diffstat (limited to 'openwrt/package/glib/patches/03-use-glibconfig-sysdefs')
-rw-r--r--openwrt/package/glib/patches/03-use-glibconfig-sysdefs31
1 files changed, 31 insertions, 0 deletions
diff --git a/openwrt/package/glib/patches/03-use-glibconfig-sysdefs b/openwrt/package/glib/patches/03-use-glibconfig-sysdefs
new file mode 100644
index 0000000..932d7c3
--- /dev/null
+++ b/openwrt/package/glib/patches/03-use-glibconfig-sysdefs
@@ -0,0 +1,31 @@
+diff -urN glib-1.2.10.old/glib.h glib-1.2.10/glib.h
+--- glib-1.2.10.old/glib.h 2001-02-27 04:44:38.000000000 +0100
++++ glib-1.2.10/glib.h 2005-04-03 01:43:17.000000000 +0200
+@@ -63,6 +63,7 @@
+ * exist. The prototype looks like the above, give or take a const,
+ * or size_t.
+ */
++#include <glibconfig-sysdefs.h>
+ #include <glibconfig.h>
+
+ /* include varargs functions for assertment macros
+diff -urN glib-1.2.10.old/configure glib-1.2.10/configure
+--- glib-1.2.10.old/configure 2005-04-03 01:43:49.000000000 +0200
++++ glib-1.2.10/configure 2005-04-03 01:45:47.000000000 +0200
+@@ -575,16 +575,6 @@
+ # Save this value here, since automake will set cflags later
+ cflags_set=${CFLAGS+set}
+
+-# we rewrite this file
+-rm -f glibconfig-sysdefs.h
+-
+-
+-
+-
+-
+-
+-
+-
+
+ # libtool versioning
+ LT_RELEASE=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION