diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-17 18:56:54 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-18 10:19:28 +0100 |
commit | 1ffec4e755d189de3743ab7a9c94314b9246eeee (patch) | |
tree | 8f0e9778d6d01fce99b358a1a5b5fe94757ec78a /net-wireless/ndiswrapper | |
parent | net-wireless/adm8211: remove unused patches (diff) | |
download | gentoo-1ffec4e755d189de3743ab7a9c94314b9246eeee.tar.gz gentoo-1ffec4e755d189de3743ab7a9c94314b9246eeee.tar.bz2 gentoo-1ffec4e755d189de3743ab7a9c94314b9246eeee.zip |
net-wireless/ndiswrapper: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3516
Diffstat (limited to 'net-wireless/ndiswrapper')
-rw-r--r-- | net-wireless/ndiswrapper/files/ndiswrapper-1.56-cflags.patch | 12 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/files/ndiswrapper-1.58-3.9.patch | 32 |
2 files changed, 0 insertions, 44 deletions
diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-1.56-cflags.patch b/net-wireless/ndiswrapper/files/ndiswrapper-1.56-cflags.patch deleted file mode 100644 index 480274e31c7f..000000000000 --- a/net-wireless/ndiswrapper/files/ndiswrapper-1.56-cflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur ndiswrapper-1.56.orig/utils/Makefile ndiswrapper-1.56/utils/Makefile ---- ndiswrapper-1.56.orig/utils/Makefile 2010-02-11 03:09:32.000000000 +0100 -+++ ndiswrapper-1.56/utils/Makefile 2010-08-10 01:33:36.199000011 +0200 -@@ -5,7 +5,7 @@ - DRIVER_DIR ?= ../driver - - CC = gcc --CFLAGS = -g -Wall -I$(DRIVER_DIR) -+CFLAGS += -Wall -I$(DRIVER_DIR) - - DISTFILES=Makefile ndiswrapper loadndisdriver.c ndiswrapper-buginfo - diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-1.58-3.9.patch b/net-wireless/ndiswrapper/files/ndiswrapper-1.58-3.9.patch deleted file mode 100644 index d9b7f3b58085..000000000000 --- a/net-wireless/ndiswrapper/files/ndiswrapper-1.58-3.9.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/driver/loader.c b/driver/loader.c -index 406e6ba..6f2113f 100644 ---- a/driver/loader.c -+++ b/driver/loader.c -@@ -575,7 +575,11 @@ static int load_user_space_driver(struct load_driver *load_driver) - } else { - printk(KERN_INFO "%s: driver %s (%s) loaded\n", - DRIVER_NAME, wrap_driver->name, wrap_driver->version); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) - add_taint(TAINT_PROPRIETARY_MODULE); -+#else -+ add_taint(TAINT_PROPRIETARY_MODULE, LOCKDEP_STILL_OK); -+#endif - EXIT1(return 0); - } - } -diff --git a/driver/wrapper.c b/driver/wrapper.c -index f77c879..4fcbbe8 100644 ---- a/driver/wrapper.c -+++ b/driver/wrapper.c -@@ -72,7 +72,11 @@ static void module_cleanup(void) - static int __init wrapper_init(void) - { - #ifdef TAINT_OOT_MODULE -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) - add_taint(TAINT_OOT_MODULE); -+#else -+ add_taint(TAINT_OOT_MODULE, LOCKDEP_STILL_OK); -+#endif - #endif - printk(KERN_INFO "%s version %s loaded (smp=%s, preempt=%s)\n", - DRIVER_NAME, DRIVER_VERSION, |