summaryrefslogtreecommitdiff
path: root/openwrt/package/glib/patches/03-use-glibconfig-sysdefs
blob: 932d7c3800c0a022c843c25da1eeab63e9a08395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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