From 6e8f2dc2b34ab8f29c35f9a1798a73195365b8ab Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Sat, 15 Jun 2013 13:54:26 -0300 Subject: games/mame: Updated for version 0.149. Signed-off-by: Niels Horn --- games/mame/mame.SlackBuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'games/mame/mame.SlackBuild') diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild index b3f7302341..511fecc609 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 -- cgit v1.2.3