summaryrefslogtreecommitdiff
path: root/libraries/libunicap/libunicap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libunicap/libunicap.SlackBuild')
-rw-r--r--libraries/libunicap/libunicap.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild
index 791c4532e1..b865bf5eaa 100644
--- a/libraries/libunicap/libunicap.SlackBuild
+++ b/libraries/libunicap/libunicap.SlackBuild
@@ -52,6 +52,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# kernel in 13.37 doesn't have this header anymore
+# http://lists.fedoraproject.org/pipermail/devel/2011-February/148519.html
+patch -p1 < $CWD/disable-v4l.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -61,6 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
+ --disable-v4l \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux