aboutsummaryrefslogblamecommitdiffstats
path: root/app-emulation/bochs/files/linux-3.patch
blob: 998222b2ba40b1fc1e7978e3d76071eadb280f0e (plain) (tree)































                                                                                                    
--- 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; }; }
 		;;