summaryrefslogtreecommitdiff
path: root/system/lirc/lirc.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-13 06:57:17 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-13 17:58:11 -0500
commit085fc4cb823d1b0de05afdf2b0f5f279851c6486 (patch)
tree7a040e74fb2a611d19b65f5b5ba7610aec69c721 /system/lirc/lirc.SlackBuild
parentf71725b388a7251b8861bf0df14a96e004a4e14f (diff)
downloadslackbuilds-085fc4cb823d1b0de05afdf2b0f5f279851c6486.tar.gz
system/lirc: Patched for recent kernels.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/lirc/lirc.SlackBuild')
-rw-r--r--system/lirc/lirc.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index a572d5c39f..79a6ffff8a 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=lirc
VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -74,6 +74,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch for recent kernels, thanks Gentoo
+patch -p1 < $CWD/patches/lirc-0.9.0-kernel-2.6.39-fixes.patch
+patch -p1 < $CWD/patches/lirc-0.9.0-atiusb_kfifo.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \