summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-27 17:18:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-27 17:18:56 +0000
commita74bc9bd1f8b2c71668f38f06ebefdf052af01f0 (patch)
tree1f50c5efac6889d908fb760aa6e4e5a3383515d6 /openwrt/package
parent49abfada1f475fe670e22c05e6efdfa46fbd0804 (diff)
downloadmtk-20170518-a74bc9bd1f8b2c71668f38f06ebefdf052af01f0.zip
mtk-20170518-a74bc9bd1f8b2c71668f38f06ebefdf052af01f0.tar.gz
mtk-20170518-a74bc9bd1f8b2c71668f38f06ebefdf052af01f0.tar.bz2
fix stdint include patch
SVN-Revision: 4868
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch32
1 files changed, 12 insertions, 20 deletions
diff --git a/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch b/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch
index 5e9b3b6..7c1e8c1 100644
--- a/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch
+++ b/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch
@@ -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
+