diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-06-02 22:15:56 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:34 -0500 |
commit | 6672028785495935b5380fc24d38c3fa09372087 (patch) | |
tree | 6af7ac52d2c7a8b8c28c2a38bdd276da631f65e5 /libraries/libunicap/libunicap.SlackBuild | |
parent | 5ecb0025353cc37435c6b19d85ba8df4a3da58d2 (diff) |
libraries/libunicap: Patch to build with kernel-headers > 2.6.37
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libunicap/libunicap.SlackBuild')
-rw-r--r-- | libraries/libunicap/libunicap.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild index 791c4532e17f..b865bf5eaa1a 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 |