]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- build fix
authorMarcin Krol <hawk@tld-linux.org>
Wed, 7 Aug 2013 19:44:23 +0000 (19:44 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 7 Aug 2013 19:44:23 +0000 (19:44 +0000)
3.2.50-build-fix.patch [new file with mode: 0644]
kernel-vanilla.spec

diff --git a/3.2.50-build-fix.patch b/3.2.50-build-fix.patch
new file mode 100644 (file)
index 0000000..0cd0720
--- /dev/null
@@ -0,0 +1,11 @@
+diff -ur linux-3.2.orig/drivers/net/ifb.c linux-3.2/drivers/net/ifb.c
+--- linux-3.2.orig/drivers/net/ifb.c   2013-08-07 18:47:36.000000000 +0000
++++ linux-3.2/drivers/net/ifb.c        2013-08-07 18:49:58.920996770 +0000
+@@ -34,6 +34,7 @@
+ #include <linux/init.h>
+ #include <linux/interrupt.h>
+ #include <linux/moduleparam.h>
++#include <linux/sched.h>
+ #include <net/pkt_sched.h>
+ #include <net/net_namespace.h>
index 986386e37ee7fdd924a67e376cdc7abeff08b343..7b0680abf61607930c71af25f1e6cfabdd317e65 100644 (file)
@@ -6,7 +6,7 @@
 
 %define                _basever                3.2
 %define                _postver                .50
-%define                _rel                    1
+%define                _rel                    2
 
 %define                _enable_debug_packages                  0
 
@@ -45,6 +45,7 @@ Source10:     kernel-vanilla-x86.config
 Source11:      kernel-vanilla-x86_64.config
 
 Patch0:                kernel-vanilla-small_fixes.patch
+Patch1:                3.2.50-build-fix.patch
 
 URL:           http://www.kernel.org/
 BuildRequires: binutils >= 3:2.18
@@ -343,6 +344,7 @@ Pakiet zawiera dokumentację do jądra Linuksa pochodzącą z katalogu
 %endif
 
 %patch0 -p1
+%patch1 -p1
 
 # Fix EXTRAVERSION in main Makefile
 sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = -%{alt_kernel}#g' Makefile