summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/colem/colem.SlackBuild12
-rw-r--r--games/colem/colem.info6
-rw-r--r--games/colem/rom_path.diff2
3 files changed, 12 insertions, 8 deletions
diff --git a/games/colem/colem.SlackBuild b/games/colem/colem.SlackBuild
index 5753180f5d..24866ca873 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 d7a1c4828e..45d5afe21b 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 e788b8272d..e01edbf43d 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;