[SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (c3eb5c90401b464d11caa29942fa63c76d9a2f55)

Vlad Glagolev scm at sourcemage.org
Sun Dec 6 11:12:57 EST 2009


GIT changes to master z-rejected grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 z-kernels/broadcom-wl/HISTORY     |    4 ++++
 z-kernels/broadcom-wl/PRE_BUILD   |    4 +++-
 z-kernels/broadcom-wl/sched.patch |   10 ++++++++++
 3 files changed, 17 insertions(+), 1 deletion(-)

New commits:
commit c3eb5c90401b464d11caa29942fa63c76d9a2f55
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    broadcom-wl: fixed compilation with kernel 2.6.32

diff --git a/z-kernels/broadcom-wl/HISTORY b/z-kernels/broadcom-wl/HISTORY
index 1a7bef1..717cc99 100644
--- a/z-kernels/broadcom-wl/HISTORY
+++ b/z-kernels/broadcom-wl/HISTORY
@@ -1,2 +1,6 @@
+2009-12-06 Vlad Glagolev <stealth at sourcemage.org>
+	* PRE_BUILD: apply the patch
+	* sched.patch: added, to fix compilation with kernel 2.6.32
+
 2009-11-25 Vlad Glagolev <stealth at sourcemage.org>
 	* {PRE_,}BUILD, DETAILS, DEPENDS, FINAL, TRIGGERS: spell created
diff --git a/z-kernels/broadcom-wl/PRE_BUILD b/z-kernels/broadcom-wl/PRE_BUILD
index 54dc544..feddae9 100755
--- a/z-kernels/broadcom-wl/PRE_BUILD
+++ b/z-kernels/broadcom-wl/PRE_BUILD
@@ -1,3 +1,5 @@
 mk_source_dir "$SOURCE_DIRECTORY" &&
 cd "$SOURCE_DIRECTORY" &&
-unpack_file
+unpack_file &&
+
+patch -p0 < "$SPELL_DIRECTORY/sched.patch"
diff --git a/z-kernels/broadcom-wl/sched.patch b/z-kernels/broadcom-wl/sched.patch
new file mode 100644
index 0000000..45dbbe4
--- /dev/null
+++ b/z-kernels/broadcom-wl/sched.patch
@@ -0,0 +1,10 @@
+--- src/wl/sys/wl_linux.c.orig	2009-09-10 22:21:58.000000000 +0400
++++ src/wl/sys/wl_linux.c	2009-12-06 19:02:40.561145923 +0300
+@@ -26,6 +26,7 @@
+ 
+ #include <linux/types.h>
+ #include <linux/errno.h>
++#include <linux/sched.h>
+ #include <linux/pci.h>
+ #include <linux/init.h>
+ #include <linux/kernel.h>



More information about the SM-Commit mailing list