diff --git a/lirc-0.9.1a-fix-bashisms.patch b/lirc-0.9.1a-fix-bashisms.patch new file mode 100644 index 0000000..b41e317 --- /dev/null +++ b/lirc-0.9.1a-fix-bashisms.patch @@ -0,0 +1,12 @@ +diff -Ndur lirc-0.9.1a/contrib/lirc-codecs-regression-test.sh lirc-0.9.1a-fix-bashisms/contrib/lirc-codecs-regression-test.sh +--- lirc-0.9.1a/contrib/lirc-codecs-regression-test.sh 2014-08-06 23:22:28.000000000 +0300 ++++ lirc-0.9.1a-fix-bashisms/contrib/lirc-codecs-regression-test.sh 2014-11-29 01:05:51.156914190 +0200 +@@ -17,7 +17,7 @@ + + REMOTES=remotes + +-find -L $REMOTES -type f -print0|xargs -0 -n 1 echo|while read; ++find -L $REMOTES -type f -print0|xargs -0 -n 1 echo|while read REPLY; + do + # Skip invalid configs with 'one 0 0', see + # http://sourceforge.net/p/lirc/mailman/message/32297923 diff --git a/lirc.changes b/lirc.changes index 716ae88..b8fff27 100644 --- a/lirc.changes +++ b/lirc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 28 23:08:00 UTC 2014 - Led + +- fix bashism in lirc-codecs-regression-test.sh script +- add patches: + * lirc-0.9.1a-fix-bashisms.patch + ------------------------------------------------------------------- Sun Oct 19 00:08:12 UTC 2014 - crrodriguez@opensuse.org diff --git a/lirc.spec b/lirc.spec index 48cd557..16adb21 100644 --- a/lirc.spec +++ b/lirc.spec @@ -42,6 +42,7 @@ Patch1: 0002-lircd-Fix-bad-default-for-lircdfile.patch Patch2: 0003-0.9.1a-Bugfix-segfault-when-parsing-connect-in-confi.patch # PATCH-FEATURE-UPSTREAM 0004-lircd-fix-compiler-error-format-security-error.patch --fix compiler error=format-security error Patch3: 0004-lircd-fix-compiler-error-format-security-error.patch +Patch4: lirc-0.9.1a-fix-bashisms.patch # PATCH-FEATURE-UPSTREAM -- lirc config for iMON-PAD remote Patch90: imon2_conf.patch BuildRequires: fdupes @@ -131,6 +132,7 @@ Udev rule which disables the kernel built-in handling of infrared devices %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %patch90 -p1 cp %{SOURCE8} . %if %{defined _rundir}