Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77testing.git;a=commitdiff;h=fde90e9b3fbf59366d4b49334e08f0a52ccdba48

commit fde90e9b3fbf59366d4b49334e08f0a52ccdba48
Author: James Buren <[email protected]>
Date:   Sat May 3 18:50:57 2014 -0500

tp-smapi-0.41-13-x86_64
* rebuild with kernel 3.14
* fix a warning about mismatched module parameter type

diff --git a/source/apps-extra/tp-smapi/FrugalBuild 
b/source/apps-extra/tp-smapi/FrugalBuild
index 960a942..f697ee0 100644
--- a/source/apps-extra/tp-smapi/FrugalBuild
+++ b/source/apps-extra/tp-smapi/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=tp-smapi
pkgver=0.41
-pkgrel=12
+pkgrel=13
pkgdesc="Modules for ThinkPad's SMAPI functionality"
url='https://github.com/evgeni/tp_smapi'
groups=('apps-extra')
@@ -13,10 +13,13 @@ _F_archive_name="tp_smapi"
_F_github_ext=".tar.gz"
_F_github_author="evgeni"
Finclude github kernel-module
-sha1sums=('ab222a41a2773bfa8a67c4b74343655dca6fb8be')
+source=(${source[@]} fixes.patch)
+sha1sums=('ab222a41a2773bfa8a67c4b74343655dca6fb8be' \
+          '9f03b6204287afbd623de403c01c90fcdd11f63f')

build() {
Fsed '$(shell uname -r)' "$_F_kernelmod_uname" Makefile
+       Fpatchall
Fmake
Finstallrel 644 thinkpad_ec.ko 
$_F_kernelmod_dir/kernel/drivers/platform/x86/thinkpad_ec.ko
Finstallrel 644 tp_smapi.ko 
$_F_kernelmod_dir/kernel/drivers/platform/x86/tp_smapi.ko
diff --git a/source/apps-extra/tp-smapi/fixes.patch 
b/source/apps-extra/tp-smapi/fixes.patch
new file mode 100644
index 0000000..1d6bd08
--- /dev/null
+++ b/source/apps-extra/tp-smapi/fixes.patch
@@ -0,0 +1,12 @@
+diff -ur a/thinkpad_ec.c b/thinkpad_ec.c
+--- a/thinkpad_ec.c    2011-07-28 12:06:30.000000000 -0500
++++ b/thinkpad_ec.c    2014-05-03 18:48:44.747289384 -0500
+@@ -97,7 +97,7 @@
+ /* 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? */
+ static int reserved_io; /* Successfully reserved the ports? */
+-module_param_named(force_io, force_io, bool, 0600);
++module_param_named(force_io, force_io, int, 0600);
+ MODULE_PARM_DESC(force_io, "Force IO even if region already reserved (0=off, 
1=on)");
+
+ /**
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to