summaryrefslogtreecommitdiff
path: root/libraries/allegro/allegro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/allegro/allegro.SlackBuild')
-rw-r--r--libraries/allegro/allegro.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index fc7c9cde54..546eb4b5df 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -8,7 +8,7 @@
# on modern (>=i586) machines. Hence no CFLAGS and the i586 ARCH.
PRGNAM=allegro
-VERSION=4.2.1
+VERSION=4.2.2
ARCH=${ARCH:-i586}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,7 +19,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION
@@ -36,6 +36,8 @@ chmod -R u+w,go+r-w,a-s .
--enable-static=no \
|| exit 1
+sed -i "s/fnstsw %eax/fnstsw %ax/" src/i386/icpus.s
+
make || exit 1
make install DESTDIR=$PKG || exit 1
make install-gzipped-man DESTDIR=$PKG || exit 1