slackbuilds_ponce/network/broadcom-sta/broadcom-sta-5.60.48.36-linux-2.6.33.patch
Greg' Ar Tourter abfa84c322 Revert network/broadcom-sta removal and fix build
This reverts commit 52f92278a4
    and fixes compilation on 2.6.33.x kernels.
2010-05-26 23:57:57 -05:00

12 lines
548 B
Diff

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