aboutsummaryrefslogtreecommitdiff
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2013-06-15 13:54:26 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-15 13:54:26 -0300
commit6e8f2dc2b34ab8f29c35f9a1798a73195365b8ab (patch)
treede2d4954a946db72cfe8af4a45b5b3c884edc9ff /games/mame/mame.SlackBuild
parent9bc3c86bc86e0b7345843f36d46dbccacdd741f0 (diff)
games/mame: Updated for version 0.149.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/mame/mame.SlackBuild')
-rw-r--r--games/mame/mame.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index b3f7302341187..511fecc609e4c 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -25,7 +25,7 @@
# Adapted from sdlmame.SlackBuild, Written by B. Watson (yalhcru@gmail.com)
PRGNAM=mame
-VERSION=${VERSION:-0.148}
+VERSION=${VERSION:-0.149}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,16 @@ chmod -R a-s,u+w,go+r-w .
# $HOME/.mame, then /etc.
cat $CWD/ini_path.diff | patch -p0
+# Workaround for bug in gcc-4.7.1 (seems to be fixed in 4.7.3 & 4.8.1)
+patch -p1 < $CWD/gcc471.patch
+
+# Fix line-endings (dos2unix is much faster)
+if hash dos2unix 2>/dev/null ; then
+ find -type f -exec dos2unix -q {} \;
+else
+ find -type f -exec file {} \; | grep CRLF | awk 'BEGIN{FS=":"}{print $1}' | xargs perl -pi -e 's/\r\n?/\n/g'
+fi
+
# This is purely cosmetic.
sed -i 's/DISTRO = generic/DISTRO = slackware/' src/osd/sdl/sdl.mak