summaryrefslogtreecommitdiff
path: root/recipes/madwifi/files/powerpc-fix.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-07 20:31:36 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-07 20:31:36 +0400
commit0628081b0377b36a7db9e74e5a27a079978f2924 (patch)
tree57f684f837c5865b2e52c3243509cb4aa8ab5af6 /recipes/madwifi/files/powerpc-fix.patch
parent54d9df34828cfa75fa71a2ca086aa2468ea38c5c (diff)
madwifi: compilation fixes
Fix compilation of madwifi-ng 1) for powerpc arches with recent kernels (which provide no PPC_MERGE config) 2) for 2.6.30-rc kernels which provide no more netdev->priv Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/madwifi/files/powerpc-fix.patch')
-rw-r--r--recipes/madwifi/files/powerpc-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/madwifi/files/powerpc-fix.patch b/recipes/madwifi/files/powerpc-fix.patch
new file mode 100644
index 0000000000..25adfd776c
--- /dev/null
+++ b/recipes/madwifi/files/powerpc-fix.patch
@@ -0,0 +1,12 @@
+Index: madwifi-trunk-r3837-20080802/scripts/get_arch.mk
+===================================================================
+--- madwifi-trunk-r3837-20080802.orig/scripts/get_arch.mk 2009-05-07 18:15:10.318387697 +0400
++++ madwifi-trunk-r3837-20080802/scripts/get_arch.mk 2009-05-07 18:15:13.746381708 +0400
+@@ -20,6 +20,7 @@
+ ARCH-$(CONFIG_PPC) = ppc
+ ARCH-$(CONFIG_PPC64) = ppc64
+ ARCH-$(CONFIG_PPC_MERGE) = powerpc
++ARCH-$(CONFIG_PPC_OF) = powerpc
+ ARCH-$(CONFIG_ARCH-S390) = s390
+ ARCH-$(CONFIG_ARCH-S390X) = s390x
+ ARCH-$(CONFIG_SUPERH) = sh