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

commit af59ff18615e8300c4a4e2d84d7299b489e81543
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Oct 21 17:25:49 2010 +0200

acerhk-0.5.35-50-i686

- add kernel2636.patch

diff --git a/source/apps-extra/acerhk/FrugalBuild 
b/source/apps-extra/acerhk/FrugalBuild
index 8be8d04..69ea438 100644
--- a/source/apps-extra/acerhk/FrugalBuild
+++ b/source/apps-extra/acerhk/FrugalBuild
@@ -4,17 +4,18 @@

pkgname=acerhk
pkgver=0.5.35
-pkgrel=49
+pkgrel=50
pkgdesc="Acer Hotkey driver for Linux"
url="http://www.cakey.de/acerhk/";
Finclude kernel-module
groups=('apps-extra')
archs=('i686' '!x86_64')
up2date="lynx -dump $url |grep tgz$|sed 's/.*-\(.*\)\.t.*/\1/'"
-source=($url/archives/$pkgname-$pkgver.tgz kernel263{0,3}.patch)
+source=($url/archives/$pkgname-$pkgver.tgz kernel263{0,3,6}.patch)
sha1sums=('cf977b2bee3487a401b9c92f04fe8b2ac77f2db2' \
'4b5e3ca6aa24e920dfd9bbcfa5b1e424b53bca77' \
-          '02815da77b85ba6b1d0460287e332a35d5b5886f')
+          '02815da77b85ba6b1d0460287e332a35d5b5886f' \
+          '1516d06d666e4a8723f55a2447569217bd451619')

build()
{
diff --git a/source/apps-extra/acerhk/kernel2636.patch 
b/source/apps-extra/acerhk/kernel2636.patch
new file mode 100644
index 0000000..926df9e
--- /dev/null
+++ b/source/apps-extra/acerhk/kernel2636.patch
@@ -0,0 +1,20 @@
+--- acerhk/acerhk.c.orig       2010-10-03 12:50:33.000000000 +0000
++++ acerhk/acerhk.c    2010-10-03 13:13:22.093868410 +0000
+@@ -2730,7 +2730,7 @@ static void acerhk_proc_cleanup(void)
+
+ /* {{{ file operations */
+
+-static int acerhk_ioctl( struct inode *inode, struct file *file,
++static long acerhk_ioctl( struct inode *inode, struct file *file,
+                          unsigned int cmd, unsigned long arg )
+ {
+   int retval;
+@@ -2827,7 +2827,7 @@ static int acerhk_release( struct inode
+
+ static struct file_operations acerhk_fops = {
+   owner:        THIS_MODULE,
+-  ioctl:        acerhk_ioctl,
++  unlocked_ioctl: acerhk_ioctl,
+   open:         acerhk_open,
+ #ifdef ACERDEBUG
+   write:        acerhk_write,
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to