diff options
author | wiz <wiz@pkgsrc.org> | 2003-08-31 11:13:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-08-31 11:13:32 +0000 |
commit | 5e91625cbb2387672d8a8e916e5105e6aefc48eb (patch) | |
tree | b5e3a4bc1ca3b15bb001812216eceb8198602c81 /games/asc/patches | |
parent | 05be31747aca5ec4bd7ff3cfe266c271a6b3873f (diff) | |
download | pkgsrc-5e91625cbb2387672d8a8e916e5105e6aefc48eb.tar.gz |
Update to 1.13.8.0:
Many annoying replay problems have been fixed, as well as several
bugs in the movement code.
Diffstat (limited to 'games/asc/patches')
-rw-r--r-- | games/asc/patches/patch-aa | 28 | ||||
-rw-r--r-- | games/asc/patches/patch-ab | 25 |
2 files changed, 0 insertions, 53 deletions
diff --git a/games/asc/patches/patch-aa b/games/asc/patches/patch-aa deleted file mode 100644 index bfe6579a5cf..00000000000 --- a/games/asc/patches/patch-aa +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/07/13 22:23:13 wiz Exp $ - ---- source/ASCStringHelpers.h.orig 2002-04-05 11:25:05.000000000 +0200 -+++ source/ASCStringHelpers.h -@@ -267,9 +267,9 @@ inline ASCStringHelpers::charT* ASCStrin - while ( *pTemp != _T( '\0' ) ) - { - #ifdef _UNICODE -- *pTemp = ::towlower ( *pTemp ); -+ *pTemp = towlower ( *pTemp ); - #else -- *pTemp = ::tolower ( *pTemp ); -+ *pTemp = tolower ( *pTemp ); - #endif - - ++pTemp; -@@ -311,9 +311,9 @@ inline ASCStringHelpers::charT* ASCStrin - while ( *pTemp != _T( '\0' ) ) - { - #ifdef _UNICODE -- *pTemp = ::towupper ( *pTemp ); -+ *pTemp = towupper ( *pTemp ); - #else -- *pTemp = ::toupper ( *pTemp ); -+ *pTemp = toupper ( *pTemp ); - #endif - - ++pTemp; diff --git a/games/asc/patches/patch-ab b/games/asc/patches/patch-ab deleted file mode 100644 index e1dc311b641..00000000000 --- a/games/asc/patches/patch-ab +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2003/07/13 22:23:13 wiz Exp $ - ---- source/basestrm.cpp.orig 2003-06-04 18:18:54.000000000 +0200 -+++ source/basestrm.cpp -@@ -2381,7 +2381,19 @@ void appendbackslash ( ASCString& string - int createDirectory ( const char* name ) - { - #ifdef _UNIX_ -- return mkdir ( name, 0700 ); -+ char *nname; -+ int i; -+ -+ if (name == NULL || (nname=strdup(name)) == NULL) -+ return -1; -+ i = strlen(nname); -+ /* leave one '/' */ -+ while (i>1 && nname[i-1] == '/') -+ nname[--i] = '\0'; -+ i = mkdir ( nname, 0700 ); -+ free(nname); -+ -+ return i; - #else - return mkdir ( name ); - #endif |