1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

fix stdint include patch

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4868 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-09-27 17:18:56 +00:00
parent 652d907345
commit a6cb7e0b3c

View File

@ -1,20 +1,12 @@
Index: package/linux-atm/patches/400-stdint-local-instead-of-host.patch
===================================================================
--- package/linux-atm/patches/400-stdint-local-instead-of-host.patch    (revision 0)
+++ package/linux-atm/patches/400-stdint-local-instead-of-host.patch    (revision 0)
@@ -0,0 +1,15 @@
+--- linux-atm-2.4.1/src/include/stdint.h       2001-09-03 20:41:06.000000000 +0200
++++ linux-atm-2.4.1/src/include/stdint.h.my    2006-08-26 22:08:41.000000000 +0200
+@@ -4,11 +4,7 @@
+
+ #include <features.h>
+
+-#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
+-
+-#include "/usr/include/stdint.h"
+-
+-#elif __GLIBC__ >= 2
++#if __GLIBC__ >= 2
+
+ /* Works for i386 and Alpha */
+
diff -ur linux-atm.old/src/include/stdint.h linux-atm.dev/src/include/stdint.h
--- linux-atm.old/src/include/stdint.h 2001-09-03 20:41:06.000000000 +0200
+++ linux-atm.dev/src/include/stdint.h 2006-09-27 19:13:56.000000000 +0200
@@ -6,7 +6,7 @@
#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
-#include "/usr/include/stdint.h"
+#include_next <stdint.h>
#elif __GLIBC__ >= 2