summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/sapphire/PKGBUILD6
-rw-r--r--abs/extra/sapphire/sapphire.patch14
2 files changed, 11 insertions, 9 deletions
diff --git a/abs/extra/sapphire/PKGBUILD b/abs/extra/sapphire/PKGBUILD
index dd7c0cb..f6d872b 100644
--- a/abs/extra/sapphire/PKGBUILD
+++ b/abs/extra/sapphire/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sapphire
_kernver=`uname -r`
-pkgver=3.3
+pkgver=3.4
pkgrel=1
pkgdesc="Kernel module for Sapphire remote"
arch=('i686' 'x86_64')
@@ -30,5 +30,5 @@ package() {
install -m 644 keymap.default ${pkgdir}/usr/share/doc/sapphire
rm -fr ${pkgdir}/lib/modules/$_kernver/modules*
}
-md5sums=('2f5734d338bb7795f8405689f7d52389'
- 'b72bd9141297af07546c2da850f82a2c')
+md5sums=('da5243f914aa3cecb8821dd12fe85933'
+ '90fcf01a3b96eb49a69d20bca74167a2')
diff --git a/abs/extra/sapphire/sapphire.patch b/abs/extra/sapphire/sapphire.patch
index 36cf217..93e4047 100644
--- a/abs/extra/sapphire/sapphire.patch
+++ b/abs/extra/sapphire/sapphire.patch
@@ -1,6 +1,6 @@
-diff -ruaN sapphire-3.3.orig/Makefile sapphire-3.3/Makefile
---- sapphire-3.3.orig/Makefile 2012-04-22 16:19:27.000000000 +0000
-+++ sapphire-3.3/Makefile 2012-04-22 22:19:18.000000000 +0000
+diff -ruaN sapphire-3.4.orig//Makefile sapphire-3.4/Makefile
+--- sapphire-3.4.orig//Makefile 2012-04-23 02:33:11.000000000 +0000
++++ sapphire-3.4/Makefile 2012-04-23 05:23:07.000000000 +0000
@@ -5,7 +5,7 @@
MODNAME=sapphire
MODSOURCE=$(MODNAME).c
@@ -10,26 +10,28 @@ diff -ruaN sapphire-3.3.orig/Makefile sapphire-3.3/Makefile
KEYMAP_SCRIPT=sapphire_keymap.sh
EXTRACT_KEYDEFS=extract_keydefs.sh
INPUT_H=/usr/include/linux/input.h
-@@ -39,12 +39,12 @@
+@@ -39,13 +39,13 @@
- modinstall: $(MODNAME).ko
+ modinstall: $(MODNAME).ko $(KEYMAP_SCRIPT)
$(MAKE) -C $(KDIR)/build M=`pwd` modules_install
- depmod $(KVER)
- @if [ "$(KVER)" = "$$(uname -r)" ]; then \
- rmmod $(MODNAME) 2>/dev/null ;\
- rmmod $(CONFLICTS) 2>/dev/null ;\
- modprobe -v $(MODNAME) ;\
+- [ -e /etc/sapphire.keymap ] && ./$(KEYMAP_SCRIPT) /etc/sapphire.keymap ;\
- fi
+# depmod $(KVER)
+# @if [ "$(KVER)" = "$$(uname -r)" ]; then \
+# rmmod $(MODNAME) 2>/dev/null ;\
+# rmmod $(CONFLICTS) 2>/dev/null ;\
+# modprobe -v $(MODNAME) ;\
++# [ -e /etc/sapphire.keymap ] && ./$(KEYMAP_SCRIPT) /etc/sapphire.keymap ;\
+# fi
clean:
$(MAKE) -C $(KDIR)/build M=`pwd` clean
-@@ -61,7 +61,7 @@
+@@ -62,7 +62,7 @@
depmod
install: $(MODNAME).ko clean_modparms modinstall $(BLACKLIST) $(KEYMAP_SCRIPT)