summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/nvidiabl/files/nvidiabl-0.87-linux-4.0.patch')
-rw-r--r--app-laptop/nvidiabl/files/nvidiabl-0.87-linux-4.0.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-laptop/nvidiabl/files/nvidiabl-0.87-linux-4.0.patch b/app-laptop/nvidiabl/files/nvidiabl-0.87-linux-4.0.patch
deleted file mode 100644
index b466bcb620c9..000000000000
--- a/app-laptop/nvidiabl/files/nvidiabl-0.87-linux-4.0.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From dee67fbf8eeec1651dbee3c2045ce6a93da949dc Mon Sep 17 00:00:00 2001
-From: Thomas Wucher <mail@thomaswucher.de>
-Date: Tue, 14 Apr 2015 08:41:09 +0200
-Subject: [PATCH] Replace strnicmp by stncasecmp to fix build on Linux 4.0
-
----
- nvidiabl-module.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/nvidiabl-module.c b/nvidiabl-module.c
-index b789ea4..b306579 100644
---- a/nvidiabl-module.c
-+++ b/nvidiabl-module.c
-@@ -214,7 +214,7 @@ static int __init nvidiabl_init(void)
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
-
- for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {
-- if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
-+ if (strncasecmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
- props.type = backlight_type_ids[iii].type;
- printk(KERN_INFO "nvidiabl: backlight type is %s\n", backlight_type_ids[iii].id);
- }
-