diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-08-08 02:49:24 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-15 15:12:49 +0700 |
commit | f228248958a1f86fe5360269878713dcf7cb6189 (patch) | |
tree | ebf010f9699da59914fbbe2c1cdc3e197b6ab2dc /games | |
parent | ec8d6ad8d343ee1f95dbcf687870fe908a47913d (diff) |
games/mednafen: Change CXXFLAGS & updated for 0.9.38.6.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/mednafen/mednafen.SlackBuild | 25 | ||||
-rw-r--r-- | games/mednafen/mednafen.info | 6 |
2 files changed, 25 insertions, 6 deletions
diff --git a/games/mednafen/mednafen.SlackBuild b/games/mednafen/mednafen.SlackBuild index 2303d2bbcf18..592ea044fcd3 100644 --- a/games/mednafen/mednafen.SlackBuild +++ b/games/mednafen/mednafen.SlackBuild @@ -25,8 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mednafen -VERSION=${VERSION:-0.9.38.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.38.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,8 +71,27 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +CLANGFLAGS="-std=c++11" + +## +## Switched to clang as 14.1's version of gcc will compile mednafen, +## but will not run mednafen, failing a compiler code generation +## test (http://forum.fobby.net/index.php?t=msg&th=1126&start=0&). +## Unfortunately our version of clang has its own issues ... +## The 'CXXFLAGS': "-D__float128=void" and "-D__STRICT_ANSI__", +## will both work, but seem to give a drop in performance +## on some machines. Using "-std=c++11" works on stable +## and current, and seems to be the best option at this point. +## Current users (or anyone who has upgraded their compilers) +## may remove the CXXFLAGS or run like so: +## +## export CLANGFLAGS=""; sh mednafen.SlackBuild +## +## Depending on your setup, this may work better in some situations. +## But if you are on 14.1, you will need to keep those CLANGFLAGS. ;^) +## CC=clang CXX=clang++ \ -CXXFLAGS+="-D__float128=void" \ +CXXFLAGS+="$CLANGFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib$LIBDIRSUFFIX \ diff --git a/games/mednafen/mednafen.info b/games/mednafen/mednafen.info index b99781e2d428..c5949e500a73 100644 --- a/games/mednafen/mednafen.info +++ b/games/mednafen/mednafen.info @@ -1,8 +1,8 @@ PRGNAM="mednafen" -VERSION="0.9.38.5" +VERSION="0.9.38.6" HOMEPAGE="http://mednafen.sourceforge.net" -DOWNLOAD="https://prdownloads.sourceforge.net/mednafen/mednafen-0.9.38.5.tar.bz2" -MD5SUM="ad8d2bea9dd3ae85c8c380c2cd031632" +DOWNLOAD="http://mednafen.fobby.net/releases/files/mednafen-0.9.38.6.tar.bz2" +MD5SUM="b8aa26ff02c9552beeb93d90cbcea3eb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |