summaryrefslogtreecommitdiff
path: root/games/d2x-xl/files/patch-main-gamefolders.cpp
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
committerRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
commitb8b8fa5aeb1df824ed5374149d0a7377dd0c1cd9 (patch)
tree67d5f350f6c92b847a528d27db9960acb190f10e /games/d2x-xl/files/patch-main-gamefolders.cpp
parentRestore "hs-" package name prefix for Haskell packages. (diff)
Remove expired ports:
2019-05-08 databases/ruby-odbc: Broken for more than 6 months 2019-05-08 databases/rubygem-dbd-odbc: Broken for more than 6 months 2019-05-08 devel/dlangui: Broken for more than 6 months 2019-05-08 editors/dlangide: Broken for more than 6 months 2019-05-08 emulators/desmume: Broken for more than 6 months 2019-05-08 emulators/yabause: Broken for more than 6 months 2019-05-08 emulators/yape: Broken for more than 6 months 2019-05-08 games/armagetron: Broken for more than 6 months 2019-05-08 games/boswars: Broken for more than 6 months 2019-05-08 games/ceferino: Broken for more than 6 months 2019-05-08 games/chanta: Broken for more than 6 months 2019-05-08 games/d2x-xl: Broken for more than 6 months 2019-05-08 games/drcreep: Broken for more than 6 months 2019-05-08 games/frobtads: Broken for more than 6 months 2019-05-08 games/paintown: Broken for more than 6 months 2019-05-08 games/pykawari: Broken for more than 6 months 2019-05-08 games/stepmania-devel: Broken for more than 6 months 2019-05-08 games/tinymux: Broken for more than 6 months 2019-05-08 games/voxelands: Broken for more than 6 months 2019-05-08 games/voxelands-server: Broken for more than 6 months 2019-05-08 games/warsow: Broken for more than 6 months 2019-05-08 graphics/appleseed: Broken for more than 6 months 2019-05-08 graphics/apvlv: Broken for more than 6 months 2019-05-08 graphics/qslim: Broken for more than 6 months 2019-05-08 graphics/rawstudio: Broken for more than 6 months 2019-05-08 graphics/tulip: Broken for more than 6 months 2019-05-08 lang/qore: Broken for more than 6 months 2019-05-08 mail/milter-manager: Broken for more than 6 months 2019-05-08 math/goblin: Broken for more than 6 months 2019-05-08 math/mosesdecoder: Broken for more than 6 months 2019-05-08 multimedia/asdcplib: Broken for more than 6 months 2019-05-08 net/crtmpserver: Broken for more than 6 months 2019-05-08 net/linuxigd: Abandonware; use net/miniupnpd instead 2019-05-08 net/openafs: Broken for more than 6 months 2019-05-08 security/quantis: Broken for more than 6 months 2019-05-08 sysutils/boxbackup: Broken for more than 6 months 2019-05-08 sysutils/grub2-efi: Broken for more than 6 months 2019-05-08 sysutils/grub2-pcbsd: Broken for more than 6 months 2019-05-08 sysutils/mdcp: Broken for more than 6 months 2019-05-08 sysutils/sbsigntool: Broken for more than 6 months 2019-05-08 www/py-cherrypy-old: Lates version is in tree and no dependent ports
Notes
Notes: svn path=/head/; revision=501106
Diffstat (limited to 'games/d2x-xl/files/patch-main-gamefolders.cpp')
-rw-r--r--games/d2x-xl/files/patch-main-gamefolders.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/games/d2x-xl/files/patch-main-gamefolders.cpp b/games/d2x-xl/files/patch-main-gamefolders.cpp
deleted file mode 100644
index 96e835badf8f..000000000000
--- a/games/d2x-xl/files/patch-main-gamefolders.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
---- main/gamefolders.cpp.orig 2009-09-08 15:00:31.000000000 +0200
-+++ main/gamefolders.cpp 2009-09-10 02:55:54.000000000 +0200
-@@ -112,7 +112,7 @@
- // ----------------------------------------------------------------------------
-
- #ifdef _WIN32
--# define STD_GAMEDIR ""
-+# define STD_GAMEDIR "./"
- # define D2X_APPNAME "d2x-xl.exe"
- #elif defined(__macosx__)
- # define STD_GAMEDIR "/Applications/Games/D2X-XL"
-@@ -228,8 +228,6 @@
- # endif //__unix__
- if (!*gameFolders.szGameDir && GetAppFolder ("", gameFolders.szGameDir, STD_GAMEDIR, ""))
- *gameFolders.szGameDir = '\0';
--if (!*gameFolders.szGameDir && GetAppFolder ("", gameFolders.szGameDir, SHAREPATH, ""))
-- *gameFolders.szGameDir = '\0';
- # ifdef __macosx__
- GetOSXAppFolder (szDataRootDir, gameFolders.szGameDir);
- # else
-@@ -732,19 +730,16 @@
- if ((i = FindArg ("-userdir")) && pszArgList [i + 1] && *pszArgList [i + 1]) {
- strcpy (szRootFolder, pszArgList [i + 1]);
- i = int (strlen (szRootFolder));
--#if defined(__unix__)
-- if (szRootFolder [i - 1] != '/')
-- strcat (szRootFolder, "/");
--#else
-- if ((szRootFolder [i - 1] != '\\') && (szRootFolder [i - 1] != '/') && (szRootFolder [i - 1] != ':'))
-- strcat (szRootFolder, "/");
--#endif
- }
- else
-+ strcpy (szRootFolder, STD_GAMEDIR);
-+
- #if defined(__unix__)
-- strcpy (szRootFolder, "/usr/local/games/d2x-xl/");
-+if (szRootFolder [i - 1] != '/')
-+ strcat (szRootFolder, "/");
- #else
-- strcpy (szRootFolder, "./");
-+if ((szRootFolder [i - 1] != '\\') && (szRootFolder [i - 1] != '/') && (szRootFolder [i - 1] != ':'))
-+ strcat (szRootFolder, "/");
- #endif
-
- #if defined(__unix__)