diff options
author | B. Watson <yalhcru@gmail.com> | 2016-07-29 14:47:21 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | fe9122b82c96f665e115b0d8d098443e87101b18 (patch) | |
tree | 97354a790540586d2af5fd4af7817c2b9c536a96 | |
parent | a4f7b6e497757caa38c08fb33c0a8ef5a77fdff6 (diff) |
games/colem: Updated for version 3.7.
-rw-r--r-- | games/colem/colem.SlackBuild | 12 | ||||
-rw-r--r-- | games/colem/colem.info | 6 | ||||
-rw-r--r-- | games/colem/rom_path.diff | 2 |
3 files changed, 12 insertions, 8 deletions
diff --git a/games/colem/colem.SlackBuild b/games/colem/colem.SlackBuild index 5753180f5d01..24866ca87390 100644 --- a/games/colem/colem.SlackBuild +++ b/games/colem/colem.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20160729 bkw: +# - updated for 3.7 +# - rom_path.diff now handles filenames longer than 20 characters. + # 20150506 bkw: # - updated for 3.3. Lots of little changes, meaning the script # won't work for 2.9 any more. @@ -34,7 +38,7 @@ # with OSS modules disabled by default. PRGNAM=colem -VERSION=${VERSION:-3.3} +VERSION=${VERSION:-3.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,11 +56,11 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Since we have to set endianness at compile-time, included a few -# extra ARCHes here (only i486 and x86_64 are actually tested, you're +# extra ARCHes here (only i586 and x86_64 are actually tested, you're # on your own with the others) # alphaslack and armedslack are little-endian, caught by the default case. -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then diff --git a/games/colem/colem.info b/games/colem/colem.info index d7a1c4828ea8..45d5afe21bae 100644 --- a/games/colem/colem.info +++ b/games/colem/colem.info @@ -1,8 +1,8 @@ PRGNAM="colem" -VERSION="3.3" +VERSION="3.7" HOMEPAGE="http://fms.komkon.org/ColEm/" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/ColEm33-Source.zip" -MD5SUM="90d38c6fa5a88a100a855b4ad9d28233" +DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/ColEm37-Source.zip" +MD5SUM="b1f3a0672992db1e413f92fd5a5a41b5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/colem/rom_path.diff b/games/colem/rom_path.diff index e788b8272d07..e01edbf43df4 100644 --- a/games/colem/rom_path.diff +++ b/games/colem/rom_path.diff @@ -20,7 +20,7 @@ diff -Naur a/ColEm/Coleco.c b/ColEm/Coleco.c + for both upper- and lower-case filenames. */ +static FILE *smart_fopen(const char *path, const char *mode) { + FILE *fp; -+ char lowercase_path[20], filename[PATH_MAX + 1]; ++ char lowercase_path[PATH_MAX + 1], filename[PATH_MAX + 1]; + const char *p = path; + char *lp = lowercase_path; + struct passwd *ent; |