summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/allegro/allegro.SlackBuild6
-rw-r--r--libraries/allegro/allegro.info6
2 files changed, 7 insertions, 5 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
diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info
index ded37f785c..c2d91e9d90 100644
--- a/libraries/allegro/allegro.info
+++ b/libraries/allegro/allegro.info
@@ -1,8 +1,8 @@
PRGNAM="allegro"
-VERSION="4.2.1"
+VERSION="4.2.2"
HOMEPAGE="http://www.allegro.cc/"
-DOWNLOAD="http://www.allegro.cc/files/4.2.1/allegro-4.2.1.tar.gz"
-MD5SUM="0a09d0144ee8652fb8fa00f6cbb324fe"
+DOWNLOAD="http://www.allegro.cc/files/4.2.2/allegro-4.2.2.tar.gz"
+MD5SUM="2b677f9ef772944b62251cf823dc24b6"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"