summaryrefslogtreecommitdiffstats
path: root/source/xap/xine-ui/xine-ui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xine-ui/xine-ui.SlackBuild')
-rwxr-xr-xsource/xap/xine-ui/xine-ui.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/xap/xine-ui/xine-ui.SlackBuild b/source/xap/xine-ui/xine-ui.SlackBuild
index 4ec9ee50..3f3c366a 100755
--- a/source/xap/xine-ui/xine-ui.SlackBuild
+++ b/source/xap/xine-ui/xine-ui.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=xine-ui
VERSION=${VERSION:-$(echo xine-ui-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
# I would use "-march=i586 -mcpu=i686" here as usual, but with XINE it's all or nothing.
# I'd rather have it work well for the i686/Athlon crowd than suck for everyone.
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -60,6 +60,10 @@ rm -rf xine-ui-$VERSION
tar xvf $CWD/xine-ui-$VERSION.tar.?z || exit 1
cd xine-ui-$VERSION || exit 1
+# Fix missing function:
+zcat $CWD/02_FTBFS.diff.gz | patch -p1 --verbose || exit 1
+autoreconf -vif
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \