summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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!):