From 6f2538dc5834c0b2173e564ac8dc2fd0d7d40472 Mon Sep 17 00:00:00 2001 From: Gary Bisson Date: Thu, 10 Dec 2015 13:11:45 +0100 Subject: [PATCH] triggerhappy: bump PKG_REV to fix input header creation Current configuration creates empty evtable_*.h header which makes all the input event appear as "Unknown (null) event". The maintainer of the project submitted a patch to fix this issue: https://github.com/wertarbyte/triggerhappy/commit/7e5abc6 Thanks to this version bump, the old OpenWRT patch can be removed. Signed-off-by: Gary Bisson --- utils/triggerhappy/Makefile | 4 ++-- .../triggerhappy/patches/100-fix-LINUX_INPUT_H.patch | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 utils/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index 5b365cdd99..2bfedd3711 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy PKG_VERSION:=0.3.4 -PKG_REV:=649bf670a012558393d7c41f3660d0a017edd982 -PKG_RELEASE:=2 +PKG_REV:=7e5abc69f215678e93a6b999524981c8b40bdcd9 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=git://github.com/wertarbyte/triggerhappy diff --git a/utils/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch b/utils/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch deleted file mode 100644 index 13ecd8c488..0000000000 --- a/utils/triggerhappy/patches/100-fix-LINUX_INPUT_H.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -10,7 +10,7 @@ THCMD_COMPS := th-cmd cmdsocket - - MAKEDEPEND = $(CC) -M -MG $(CPPFLAGS) -o $*.d $< - --LINUX_INPUT_H := $(shell echo '\#include ' | $(CC) $(CPPFLAGS) -M -E - | awk 'NR==1 {print $$2}') -+LINUX_INPUT_H := $(shell for i in `echo | $(CC) $(CPPFLAGS) -M -E -include 'linux/input.h' -`; do test -f "$$i" && echo "$$i" && break; done) - - all: thd th-cmd man - -- 2.30.2