From 39f5d5d856f7272821ccb44f1a446b724a7143ad Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 28 Nov 2011 02:08:03 +0100 Subject: [PATCH] eventlircd: add patch to fix path Signed-off-by: Stephan Raue --- .../eventlircd/patches/eventlircd-42-001-path.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/sysutils/remote/eventlircd/patches/eventlircd-42-001-path.patch diff --git a/packages/sysutils/remote/eventlircd/patches/eventlircd-42-001-path.patch b/packages/sysutils/remote/eventlircd/patches/eventlircd-42-001-path.patch new file mode 100644 index 0000000000..e85edbf3bc --- /dev/null +++ b/packages/sysutils/remote/eventlircd/patches/eventlircd-42-001-path.patch @@ -0,0 +1,12 @@ +diff -Naur eventlircd-42/udev/wakeup_enable.in eventlircd-42.patch/udev/wakeup_enable.in +--- eventlircd-42/udev/wakeup_enable.in 2011-04-01 16:42:27.000000000 +0200 ++++ eventlircd-42.patch/udev/wakeup_enable.in 2011-11-28 02:05:59.743690557 +0100 +@@ -4,7 +4,7 @@ + ################################################################################ + + devpath=`readlink -f "/sys/${DEVPATH}"` +-while echo "${devpath}" | /bin/grep -q '^/sys/devices/' > /dev/null 2>&1 ; do ++while echo "${devpath}" | grep -q '^/sys/devices/' > /dev/null 2>&1 ; do + if test -e "${devpath}/power/wakeup" ; then + state=`cat "${devpath}/power/wakeup"` + if test "x${state}" = "xdisabled" ; then