summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-03-10 09:36:58 +0000
committer Eric Hameleers <alien@slackware.com>2008-03-10 09:36:58 +0000
commit67b2c410a2f92edd578c7bb93d78f77330acbb3b (patch)
tree084a745f64b9db26f91c8b6eafa26c6b99656925 /MPlayer
parent5e90a26960610bd77f3f2ff0b6f6b4ea216ed880 (diff)
downloadasb-67b2c410a2f92edd578c7bb93d78f77330acbb3b.tar.gz
asb-67b2c410a2f92edd578c7bb93d78f77330acbb3b.tar.xz
Apply patch for compilation against ivtv driver in kernel 2.6.24.x
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index 07446f69..7863ee23 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -238,12 +238,15 @@ tar -xjvf ${SOURCE[0]}
chown -R root:root *
chmod -R u+w,go+r-w,a-s *
cd ${PRGNAM}-${VERSION}
-# Apply patches:
+# Apply official security patches:
( cd libmpdemux ; patch -p0 < ${SOURCE[2]} ; cd ..
cd libmpdemux ; patch -p0 < ${SOURCE[3]} ; cd ..
cd stream ; patch -p0 < ${SOURCE[4]} ; cd ..
cd stream ; patch -p0 < ${SOURCE[5]} ; cd ..
) 2>&1 | tee $OUTPUT/patch-$PRGNAM.log
+# Apply fix to let it build against kernel 2.6.24.x with the ivtv driver
+patch -p1 < $SRCDIR/ivtv_2.6.24.patch \
+ 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
# Remove potentially illegal dvdcss code (in which case, make sure you have
# libdvdread installed before you start the compile!):