aboutsummaryrefslogtreecommitdiff
path: root/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch
diff options
context:
space:
mode:
authorGreg' Ar Tourter <artourter@gmail.com>2010-05-26 21:11:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-26 23:57:57 -0500
commitabfa84c32278df8a5e18373cd3a3b6a3c2a2702f (patch)
treee10e1cb47c457840e70b901773f33072f8010d14 /network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch
parente2f42de3fe8e53600c8b41ccadbb17d4fc55586b (diff)
Revert network/broadcom-sta removal and fix build
This reverts commit 52f92278a45fcd32f9227c3dbab353a9cd50b460 and fixes compilation on 2.6.33.x kernels.
Diffstat (limited to 'network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch')
-rw-r--r--network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch b/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch
new file mode 100644
index 0000000000000..a11ac3a709b36
--- /dev/null
+++ b/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch
@@ -0,0 +1,12 @@
+diff -Naur broadcom-sta-5.60.48.36.orig/src/include/linuxver.h broadcom-sta-5.60.48.36/src/include/linuxver.h
+--- broadcom-sta-5.60.48.36.orig/src/include/linuxver.h 2009-09-16 07:25:26.00000000 +0900
++++ broadcom-sta-5.60.48.36/src/include/linuxver.h 2009-09-16 07:25:26.00000000 +0900
+@@ -19,6 +19,8 @@
+ #include <linux/version.h>
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
+ #include <linux/config.h>
++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33))
++#include <generated/autoconf.h>
+ #else
+ #include <linux/autoconf.h>
+ #endif