summaryrefslogtreecommitdiff
path: root/triggersad/patches/001-input.patch
diff options
context:
space:
mode:
Diffstat (limited to 'triggersad/patches/001-input.patch')
-rw-r--r--triggersad/patches/001-input.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/triggersad/patches/001-input.patch b/triggersad/patches/001-input.patch
new file mode 100644
index 0000000..2f8d448
--- /dev/null
+++ b/triggersad/patches/001-input.patch
@@ -0,0 +1,12 @@
+diff -ur triggerhappy-0.1.3.orig/Makefile triggerhappy-0.1.3/Makefile
+--- triggerhappy-0.1.3.orig/Makefile 2010-11-18 11:42:08.402150170 +0300
++++ triggerhappy-0.1.3/Makefile 2010-11-18 12:09:55.033025473 +0300
+@@ -23,7 +23,7 @@
+ --release="" \
+ $< > $@
+
+-evtable_%.h: /usr/include/linux/input.h
++evtable_%.h: $(TOOLCHAIN_DIR)/usr/include/linux/input.h
+ awk '/^#define $*_/ && $$2 !~ /_(MAX|CNT|VERSION)$$/ {print "EV_MAP("$$2"),"}' $< > $@
+
+ clean: