aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-10-18 14:16:17 +0000
committerNicolas Thill <nico@openwrt.org>2006-10-18 14:16:17 +0000
commitb4bd46bc8665e9f96b820890983c2f50c10d2762 (patch)
treee8f266bc0cc07813ef8699a00e911ba65a4a9e67
parentd37731fbbf7e46934aee31082c3792601685aeb3 (diff)
downloadupstream-b4bd46bc8665e9f96b820890983c2f50c10d2762.tar.gz
upstream-b4bd46bc8665e9f96b820890983c2f50c10d2762.tar.bz2
upstream-b4bd46bc8665e9f96b820890983c2f50c10d2762.zip
add missing <asm/segment.h>, fix mini_fo and openswan build on ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5206 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch b/target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch
new file mode 100644
index 0000000000..0a7c9ffc38
--- /dev/null
+++ b/target/linux/generic-2.6/patches/207-powerpc_asm_segment_h.patch
@@ -0,0 +1,10 @@
+diff -ruN linux-2.6.17-orig/include/asm-powerpc/segment.h linux-2.6.17/include/asm-powerpc/segment.h
+--- linux-2.6.17-orig/include/asm-powerpc/segment.h 1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.17/include/asm-powerpc/segment.h 2006-06-18 03:49:35.000000000 +0200
+@@ -0,0 +1,6 @@
++#ifndef _ASM_SEGMENT_H
++#define _ASM_SEGMENT_H
++
++/* Only here because we have some old header files that expect it.. */
++
++#endif /* _ASM_SEGMENT_H */