commit: 1ffec4e755d189de3743ab7a9c94314b9246eeee Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Jan 17 17:56:54 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Jan 18 09:19:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffec4e7
net-wireless/ndiswrapper: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/3516 .../files/ndiswrapper-1.56-cflags.patch | 12 -------- .../ndiswrapper/files/ndiswrapper-1.58-3.9.patch | 32 ---------------------- 2 files changed, 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 480274e..00000000 --- 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 d9b7f3b..00000000 --- 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,
