summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-03-22 18:35:19 +0000
committerMichael Palimaka <kensington@gentoo.org>2014-03-22 18:35:19 +0000
commitdccf281ae3b1b38ad4dbf79be05251046c9f2be6 (patch)
tree4f4ec0c9763f10cdce23c40efb45ae0f2a261150 /app-laptop/tp_smapi/files
parentRemove old. (diff)
downloadgentoo-2-dccf281ae3b1b38ad4dbf79be05251046c9f2be6.tar.gz
gentoo-2-dccf281ae3b1b38ad4dbf79be05251046c9f2be6.tar.bz2
gentoo-2-dccf281ae3b1b38ad4dbf79be05251046c9f2be6.zip
Remove old.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'app-laptop/tp_smapi/files')
-rw-r--r--app-laptop/tp_smapi/files/fix_header_check.patch19
-rw-r--r--app-laptop/tp_smapi/files/tp_smapi-0.40-2.6.37.patch30
2 files changed, 0 insertions, 49 deletions
diff --git a/app-laptop/tp_smapi/files/fix_header_check.patch b/app-laptop/tp_smapi/files/fix_header_check.patch
deleted file mode 100644
index 97b656961166..000000000000
--- a/app-laptop/tp_smapi/files/fix_header_check.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-*** Makefile.orig Mon Nov 23 08:55:42 2009
---- Makefile Mon Nov 23 08:57:48 2009
-***************
-*** 27,33 ****
-
- DEBUG := 0
-
-! ifneq ($(shell [ -f $(KBUILD)/include/linux/aio_abi.h ] && echo 1),1)
- $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
- $(warning You may need to override the following Make variables:)
- $(warning . KVER=$(KVER))
---- 27,33 ----
-
- DEBUG := 0
-
-! ifneq ($(shell [ -f $(KSRC)/include/linux/aio_abi.h ] && echo 1),1)
- $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
- $(warning You may need to override the following Make variables:)
- $(warning . KVER=$(KVER))
diff --git a/app-laptop/tp_smapi/files/tp_smapi-0.40-2.6.37.patch b/app-laptop/tp_smapi/files/tp_smapi-0.40-2.6.37.patch
deleted file mode 100644
index 60f05997a1d4..000000000000
--- a/app-laptop/tp_smapi/files/tp_smapi-0.40-2.6.37.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -urN tp_smapi-0.40.orig/thinkpad_ec.c tp_smapi-0.40/thinkpad_ec.c
---- tp_smapi-0.40.orig/thinkpad_ec.c 2008-12-16 08:03:06.000000000 +0300
-+++ tp_smapi-0.40/thinkpad_ec.c 2010-11-22 18:16:54.000000000 +0300
-@@ -88,7 +88,11 @@
- #define TPC_PREFETCH_JUNK (INITIAL_JIFFIES+1) /* Ignore prefetch */
-
- /* Locking: */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
- static DECLARE_MUTEX(thinkpad_ec_mutex);
-+#else
-+static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
-+#endif
-
- /* Kludge in case the ACPI DSDT reserves the ports we need. */
- static int force_io; /* Willing to do IO to ports we couldn't reserve? */
-diff -urN tp_smapi-0.40.orig/tp_smapi.c tp_smapi-0.40/tp_smapi.c
---- tp_smapi-0.40.orig/tp_smapi.c 2008-12-16 08:03:06.000000000 +0300
-+++ tp_smapi-0.40/tp_smapi.c 2010-11-22 18:17:29.000000000 +0300
-@@ -109,7 +109,11 @@
- #define SMAPI_PORT2 0x4F /* fixed port, meaning unclear */
- static unsigned short smapi_port; /* APM control port, normally 0xB2 */
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
- static DECLARE_MUTEX(smapi_mutex);
-+#else
-+static DEFINE_SEMAPHORE(smapi_mutex);
-+#endif
-
- /**
- * find_smapi_port - read SMAPI port from NVRAM