From: Marcin Krol Date: Wed, 7 Aug 2013 19:44:23 +0000 (+0000) Subject: - build fix X-Git-Url: https://git.tld-linux.org/?p=packages%2Fkernel.git;a=commitdiff_plain;h=3e6cf2476a5cddf1e028fc2289ac3c94524b7e62 - build fix --- diff --git a/3.2.50-build-fix.patch b/3.2.50-build-fix.patch new file mode 100644 index 0000000..0cd0720 --- /dev/null +++ b/3.2.50-build-fix.patch @@ -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 + #include + #include ++#include + #include + #include + diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 986386e..7b0680a 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -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