aboutsummaryrefslogtreecommitdiffstats
path: root/app-emulation/bochs/files/linux-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/bochs/files/linux-3.patch')
-rw-r--r--app-emulation/bochs/files/linux-3.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-emulation/bochs/files/linux-3.patch b/app-emulation/bochs/files/linux-3.patch
new file mode 100644
index 0000000..998222b
--- /dev/null
+++ b/app-emulation/bochs/files/linux-3.patch
@@ -0,0 +1,32 @@
+--- a/configure.in 2010-04-25 09:57:19.000000000 +0200
++++ b/configure.in 2011-10-23 14:00:04.000000000 +0200
+@@ -699,8 +699,12 @@
+ PCIDEV_MODULE_MAKE_ALL="all-kernel26"
+ KERNEL_MODULE_SUFFIX="ko"
+ ;;
++ 3*)
++ PCIDEV_MODULE_MAKE_ALL="all-kernel26"
++ KERNEL_MODULE_SUFFIX="ko"
++ ;;
+ *)
+- AC_MSG_ERROR([Linux kernel 2.4 or 2.6 is required])
++ AC_MSG_ERROR([Linux kernel 2.4, 2.6 or 3 is required])
+ ;;
+ esac
+ KERNELDIR="/lib/modules/$linux_version/build"
+--- a/configure 2010-04-25 09:58:15.000000000 +0200
++++ b/configure 2011-10-23 14:09:40.000000000 +0200
+@@ -33561,8 +33561,12 @@
+ PCIDEV_MODULE_MAKE_ALL="all-kernel26"
+ KERNEL_MODULE_SUFFIX="ko"
+ ;;
++ 3*)
++ PCIDEV_MODULE_MAKE_ALL="all-kernel26"
++ KERNEL_MODULE_SUFFIX="ko"
++ ;;
+ *)
+- { { echo "$as_me:$LINENO: error: Linux kernel 2.4 or 2.6 is required" >&5
++ { { echo "$as_me:$LINENO: error: Linux kernel 2.4, 2.6 or 3 is required" >&5
+ echo "$as_me: error: Linux kernel 2.4 or 2.6 is required" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;