diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-08-16 18:00:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-08-16 18:00:35 +0000 |
commit | 270c87d4e646d2ae950e67a65867201b16844c98 (patch) | |
tree | 592d58adf902a7a30d222fc0ca982153522cbab5 /games-rpg/daimonin-client | |
parent | Stable on ppc64 (diff) | |
download | historical-270c87d4e646d2ae950e67a65867201b16844c98.tar.gz historical-270c87d4e646d2ae950e67a65867201b16844c98.tar.bz2 historical-270c87d4e646d2ae950e67a65867201b16844c98.zip |
old
Package-Manager: portage-2.1.1_pre5-r1
Diffstat (limited to 'games-rpg/daimonin-client')
11 files changed, 0 insertions, 632 deletions
diff --git a/games-rpg/daimonin-client/Manifest b/games-rpg/daimonin-client/Manifest index fa820f612174..4c06764aa397 100644 --- a/games-rpg/daimonin-client/Manifest +++ b/games-rpg/daimonin-client/Manifest @@ -1,46 +1,12 @@ -AUX 0.95b-gcc3.patch 1664 RMD160 22406cd9099cab6c178d51c003f1de9d2ef49499 SHA1 faede7fcb2b405c7d2964f6a57dec6e7346062e1 SHA256 6cb074342051667d0e6144526f6a7df0e589777fff643a59d87321b60b29d3d6 -MD5 f0fea0494c9b50a88620443df60a150e files/0.95b-gcc3.patch 1664 -RMD160 22406cd9099cab6c178d51c003f1de9d2ef49499 files/0.95b-gcc3.patch 1664 -SHA256 6cb074342051667d0e6144526f6a7df0e589777fff643a59d87321b60b29d3d6 files/0.95b-gcc3.patch 1664 -AUX 0.95b-gentoo-paths.patch 2948 RMD160 0720289ec1649c11c90eb6bcb82ecf2ec5f4a439 SHA1 8ee3a4ae46abbba781a180404c290d27b79ec611 SHA256 16b141b8eab6d5d6892721c675a0fcc1b0266bfadcb9e5597ab6f410d2e84561 -MD5 49fc669e5a92e2d43091dbcb3f5afec2 files/0.95b-gentoo-paths.patch 2948 -RMD160 0720289ec1649c11c90eb6bcb82ecf2ec5f4a439 files/0.95b-gentoo-paths.patch 2948 -SHA256 16b141b8eab6d5d6892721c675a0fcc1b0266bfadcb9e5597ab6f410d2e84561 files/0.95b-gentoo-paths.patch 2948 -AUX 0.96.5_beta3-gentoo-paths.patch 3172 RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd SHA1 c08c6a3119cfe39ca88f4e43c8c9d08cfc5c9564 SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b -MD5 8a41290909b2aa9cf1835f6aac36c738 files/0.96.5_beta3-gentoo-paths.patch 3172 -RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd files/0.96.5_beta3-gentoo-paths.patch 3172 -SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b files/0.96.5_beta3-gentoo-paths.patch 3172 -AUX 0.96.6_beta3-gentoo-paths.patch 3172 RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd SHA1 c08c6a3119cfe39ca88f4e43c8c9d08cfc5c9564 SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b -MD5 8a41290909b2aa9cf1835f6aac36c738 files/0.96.6_beta3-gentoo-paths.patch 3172 -RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd files/0.96.6_beta3-gentoo-paths.patch 3172 -SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b files/0.96.6_beta3-gentoo-paths.patch 3172 AUX 0.96.7_beta3-gentoo-paths.patch 3172 RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd SHA1 c08c6a3119cfe39ca88f4e43c8c9d08cfc5c9564 SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b MD5 8a41290909b2aa9cf1835f6aac36c738 files/0.96.7_beta3-gentoo-paths.patch 3172 RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd files/0.96.7_beta3-gentoo-paths.patch 3172 SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b files/0.96.7_beta3-gentoo-paths.patch 3172 -AUX 0.96a_beta2-gentoo-paths.patch 3172 RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd SHA1 c08c6a3119cfe39ca88f4e43c8c9d08cfc5c9564 SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b -MD5 8a41290909b2aa9cf1835f6aac36c738 files/0.96a_beta2-gentoo-paths.patch 3172 -RMD160 754eb5a9759ec2907847fc5ebd1f29bab24a93fd files/0.96a_beta2-gentoo-paths.patch 3172 -SHA256 534d2a5c40c2384d69d839b6d068a5a470a46fc14c8c7790157efbe28ad1331b files/0.96a_beta2-gentoo-paths.patch 3172 -AUX daimonin-client-0.96.6_beta3-64bits.patch 901 RMD160 84e96c6864dd2a485e5b415524ffb434855d92ae SHA1 1afcf066a185ede6613ccef65824b30e43448b68 SHA256 89c40ec9dfef6498feda2665a9b4566063bd4fa7590fe7bf35a68e5f59489fbf -MD5 7f2510d3c8a639a495b06c05e3a072f9 files/daimonin-client-0.96.6_beta3-64bits.patch 901 -RMD160 84e96c6864dd2a485e5b415524ffb434855d92ae files/daimonin-client-0.96.6_beta3-64bits.patch 901 -SHA256 89c40ec9dfef6498feda2665a9b4566063bd4fa7590fe7bf35a68e5f59489fbf files/daimonin-client-0.96.6_beta3-64bits.patch 901 AUX daimonin-client-0.96.7_beta3-64bits.patch 901 RMD160 84e96c6864dd2a485e5b415524ffb434855d92ae SHA1 1afcf066a185ede6613ccef65824b30e43448b68 SHA256 89c40ec9dfef6498feda2665a9b4566063bd4fa7590fe7bf35a68e5f59489fbf MD5 7f2510d3c8a639a495b06c05e3a072f9 files/daimonin-client-0.96.7_beta3-64bits.patch 901 RMD160 84e96c6864dd2a485e5b415524ffb434855d92ae files/daimonin-client-0.96.7_beta3-64bits.patch 901 SHA256 89c40ec9dfef6498feda2665a9b4566063bd4fa7590fe7bf35a68e5f59489fbf files/daimonin-client-0.96.7_beta3-64bits.patch 901 -DIST daimonin_client-BETA3-0966.tgz 15101397 RMD160 34a09d41cc4e468ce34a45e33a1b7d9c7ee09dff SHA256 f41a1f0068bdb6a6d77410097037e2e2901aff557109d136a570ce61b47c67d3 DIST daimonin_client-BETA3-0967.tgz 15276026 RMD160 628a070c38f0b2c10728d2295a01955d82eba84b SHA1 7a0f7f2e7950b161e83113d7c51c67e293cbae4d SHA256 d02586e7a619ccccb15d1cef467cc46570847f4779815d91817972d36e237e3b -DIST dm_client_95b2_src.zip 12831601 RMD160 21695b995edaa8b7187c5de87c3b95201cef3981 SHA256 5b0bf07805458376fae5ee5f5eaf11d942a1881b99770e1404212b3e478170df -EBUILD daimonin-client-0.95b-r2.ebuild 1156 RMD160 8e623af6ec53e3c70f6348474e310630df37aac7 SHA1 5f5d1afe0f706462b5a699c7e8bfc8ba9ad8ab60 SHA256 811829b457b214a06368924495dd3a10605027c0c2f33a9c058cdf880deeec29 -MD5 264a931c70392a59e0281e302c1f7f76 daimonin-client-0.95b-r2.ebuild 1156 -RMD160 8e623af6ec53e3c70f6348474e310630df37aac7 daimonin-client-0.95b-r2.ebuild 1156 -SHA256 811829b457b214a06368924495dd3a10605027c0c2f33a9c058cdf880deeec29 daimonin-client-0.95b-r2.ebuild 1156 -EBUILD daimonin-client-0.96.6_beta3.ebuild 1630 RMD160 750b9f00b81640511ce658f6cdc98c75b4af23b7 SHA1 a82aae66d3bd326ca364076a58cf444f95fcb345 SHA256 ba637cdb591eeaeed49ed775ceb5866060e7cbe6020ed6da262184e1592a214e -MD5 918c7681213b01884c7e8b0b91ed402f daimonin-client-0.96.6_beta3.ebuild 1630 -RMD160 750b9f00b81640511ce658f6cdc98c75b4af23b7 daimonin-client-0.96.6_beta3.ebuild 1630 -SHA256 ba637cdb591eeaeed49ed775ceb5866060e7cbe6020ed6da262184e1592a214e daimonin-client-0.96.6_beta3.ebuild 1630 EBUILD daimonin-client-0.96.7_beta3.ebuild 1633 RMD160 398529b6bfa0ce9f416fec0122d6aeac2d6ec953 SHA1 b07e882d7253331ea91f8c794a01e2b03cb06a6e SHA256 74ef7acf2cf2b35fec4a0655503640adbef9bd607fce95c569313c00f9e10217 MD5 6efc3fddc12df20692dbe7089e0b634a daimonin-client-0.96.7_beta3.ebuild 1633 RMD160 398529b6bfa0ce9f416fec0122d6aeac2d6ec953 daimonin-client-0.96.7_beta3.ebuild 1633 @@ -53,12 +19,6 @@ MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be525 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 bfbe393e70c795d2fb4dc707bfd838bd files/digest-daimonin-client-0.95b-r2 253 -RMD160 610b458066450c0b5832cf28e2a7acde003da4a7 files/digest-daimonin-client-0.95b-r2 253 -SHA256 d9396247136d833fb39d607fe8770ffafa01e54bc8125f5ccfeb5b29aca97eb5 files/digest-daimonin-client-0.95b-r2 253 -MD5 3f4cf988933206552386a7031d142214 files/digest-daimonin-client-0.96.6_beta3 277 -RMD160 461d29bfeccbd699be492ac36b72535008aba59e files/digest-daimonin-client-0.96.6_beta3 277 -SHA256 94a56194f41de4677a4da190dfbaf1996a229c9e470c55937a66e3a75c714487 files/digest-daimonin-client-0.96.6_beta3 277 MD5 3511b70f840557ee96a916ba37c39af7 files/digest-daimonin-client-0.96.7_beta3 277 RMD160 868629ce00aa26f80922305fbad8c433c5545cdb files/digest-daimonin-client-0.96.7_beta3 277 SHA256 4d19ac047e22f30ffe450590eaa7ccc92a67041a4d853c77fb0263beda040c13 files/digest-daimonin-client-0.96.7_beta3 277 diff --git a/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild b/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild deleted file mode 100644 index c233e9297176..000000000000 --- a/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.95b-r2.ebuild,v 1.9 2006/03/31 21:26:58 tupone Exp $ - -inherit eutils flag-o-matic games - -MY_PV=95b2 -DESCRIPTION="MMORPG with 2D isometric tiles grafik, true color and alpha blending effects" -HOMEPAGE="http://daimonin.sourceforge.net/" -SRC_URI="mirror://sourceforge/daimonin/dm_client_${MY_PV}_src.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image" -DEPEND="${RDEPEND} - app-arch/unzip" - -S="${WORKDIR}/daimonin/client" - -src_unpack() { - unpack ${A} - cd ${S} - epatch "${FILESDIR}/${PV}-gentoo-paths.patch" -} - -src_compile() { - cd make/linux - append-flags -DGENTOO_DATADIR="'\"${GAMES_DATADIR}/${PN}\"'" - emake EXTRA_CFLAGS="${CFLAGS}" || die "emake failed" -} - -src_install() { - dogamesbin src/daimonin - dodir "${GAMES_DATADIR}/${PN}" - cp -r bitmaps icons media sfx cache "${D}/${GAMES_DATADIR}/${PN}/" \ - || die "cp failed" - insinto "${GAMES_DATADIR}/${PN}" - doins *.dat - prepgamesdirs -} diff --git a/games-rpg/daimonin-client/daimonin-client-0.96.6_beta3.ebuild b/games-rpg/daimonin-client/daimonin-client-0.96.6_beta3.ebuild deleted file mode 100644 index d98ae08b7abc..000000000000 --- a/games-rpg/daimonin-client/daimonin-client-0.96.6_beta3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.96.6_beta3.ebuild,v 1.6 2006/03/31 21:26:58 tupone Exp $ - -inherit eutils flag-o-matic games - -MY_PV=${PV/_beta*} -MY_PV=${MY_PV//.} -DESCRIPTION="MMORPG with 2D isometric tiles grafik, true color and alpha blending effects" -HOMEPAGE="http://daimonin.sourceforge.net/" -SRC_URI="mirror://sourceforge/daimonin/daimonin_client-BETA3-${MY_PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image" - -S=${WORKDIR}/daimonin/client - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PV}-gentoo-paths.patch" \ - "${FILESDIR}/${P}"-64bits.patch - chmod a+x make/linux/configure -} - -src_compile() { - append-flags \ - -DGENTOO_DATADIR="'\"${GAMES_DATADIR}/${PN}\"'" \ - -DGENTOO_STATEDIR="'\"${GAMES_STATEDIR}/${PN}\"'" - # Bug #91950 - compiler optimization is bad for the game on amd64 - if use amd64; then - append-flags -O0 - fi - - cd make/linux - egamesconf || die - emake || die "emake failed" -} - -src_install() { - dogamesbin src/daimonin || die "dogamesbin failed" - dodir "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - cp -r bitmaps icons media sfx "${D}/${GAMES_DATADIR}/${PN}/" \ - || die "cp failed" - cp -r cache gfx_user srv_files "${D}/${GAMES_STATEDIR}/${PN}/" \ - || die "cp failed" - insinto "${GAMES_STATEDIR}/${PN}" - doins *.{dat,p0} || die "doins failed" - prepgamesdirs - find "${D}/${GAMES_STATEDIR}/${PN}/" -type d -print0 | xargs -0 \ - chmod g+w -} diff --git a/games-rpg/daimonin-client/files/0.95b-gcc3.patch b/games-rpg/daimonin-client/files/0.95b-gcc3.patch deleted file mode 100644 index eac3dd30aed1..000000000000 --- a/games-rpg/daimonin-client/files/0.95b-gcc3.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- src/socket.c.orig 2003-10-18 22:14:41.722083520 -0400 -+++ src/socket.c 2003-10-18 22:15:26.096337608 -0400 -@@ -370,8 +370,7 @@ - *socket_temp = SOCKET_NO; - return FALSE; - } -- csocket.inbuf.buf=(unsigned char *)_malloc(MAXSOCKBUF,"SOCKET_OpenSocket(): --MAXSOCKBUF"); -+ csocket.inbuf.buf=(unsigned char *)_malloc(MAXSOCKBUF,"SOCKET_OpenSocket(): MAXSOCKBUF"); - csocket.inbuf.len=0; - insock.sin_family = AF_INET; - insock.sin_port = htons((unsigned short)port); -@@ -410,8 +409,7 @@ - if(setsockopt(*socket_temp,SOL_SOCKET,SO_RCVBUF, (char*)&newbufsize, - sizeof(&newbufsize))) - { -- LOG(1,"InitConnection: setsockopt unable to set output buf size to --%d\n", newbufsize); -+ LOG(1,"InitConnection: setsockopt unable to set output buf size to %d\n", newbufsize); - setsockopt(*socket_temp,SOL_SOCKET,SO_RCVBUF, (char*)&oldbufsize, - sizeof(&oldbufsize)); - } -@@ -447,10 +445,8 @@ - int stat,temp; - char *ptr, *buf; - -- ptr = (char*)_malloc(MAX_METASTRING_BUFFER,"read_metaserver_data(): metastring --buffer1"); -- buf = (char*)_malloc(MAX_METASTRING_BUFFER,"read_metaserver_data(): metastring --buffer2"); -+ ptr = (char*)_malloc(MAX_METASTRING_BUFFER,"read_metaserver_data(): metastring buffer1"); -+ buf = (char*)_malloc(MAX_METASTRING_BUFFER,"read_metaserver_data(): metastring buffer2"); - temp=0; - for(;;) - { -@@ -603,4 +599,4 @@ - } - return 0; - } --#endif -\ No newline at end of file -+#endif diff --git a/games-rpg/daimonin-client/files/0.95b-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.95b-gentoo-paths.patch deleted file mode 100644 index e8af9b311d20..000000000000 --- a/games-rpg/daimonin-client/files/0.95b-gentoo-paths.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- src/wrapper.c.orig 2003-10-18 22:20:38.154897496 -0400 -+++ src/wrapper.c 2003-10-18 22:21:11.628808688 -0400 -@@ -84,28 +84,28 @@ - char * GetBitmapDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./bitmaps/"); -+ return(GENTOO_DATADIR "/bitmaps/"); - #endif - } - - char * GetIconDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./icons/"); -+ return(GENTOO_DATADIR "/icons/"); - #endif - } - - char * GetSfxDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./sfx/"); -+ return(GENTOO_DATADIR "/sfx/"); - #endif - } - - char * GetCacheDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./cache/"); -+ return(GENTOO_DATADIR "/cache/"); - #endif - } - -@@ -113,7 +113,7 @@ - char * GetMediaDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./media/"); -+ return(GENTOO_DATADIR "/media/"); - #endif - } - ---- src/menu.c.orig 2003-10-18 22:55:47.836177192 -0400 -+++ src/menu.c 2003-10-18 22:56:29.063909624 -0400 -@@ -884,7 +885,7 @@ - FILE *stream; - char line[255], name[255], d1[255], d2[255], d3[255], d4[255], icon[128]; - -- if( (stream = fopen("./spells.dat", "r" )) != NULL ) -+ if( (stream = fopen(GENTOO_DATADIR "/spells.dat", "r" )) != NULL ) - { - for(i=0;;i++) - { -@@ -949,7 +950,7 @@ - FILE *stream; - char line[255], name[255], d1[255], d2[255], d3[255], d4[255], icon[128]; - -- if( (stream = fopen("./skills.dat", "r" )) != NULL ) -+ if( (stream = fopen(GENTOO_DATADIR "/skills.dat", "r" )) != NULL ) - { - for(i=0;;i++) - { ---- src/include/config.h.orig 2003-10-18 22:49:31.166439696 -0400 -+++ src/include/config.h 2003-10-18 22:55:37.103808760 -0400 -@@ -29,11 +29,13 @@ - #define VERSION_CS 991013 - #define VERSION_SC 991013 - --#define KEYBIND_FILE "./keys.dat" --#define OPTION_FILE "./options.dat" --#define ARCHDEF_FILE "./archdef.dat" -+#include "userfile.h" - --#define LOG_FILE "./client.log" -+#define KEYBIND_FILE user_file("keys.dat") -+#define OPTION_FILE user_file("options.dat") -+#define ARCHDEF_FILE GENTOO_DATADIR "/archdef.dat" -+ -+#define LOG_FILE user_file("client.log") - - #define CLIENT_ICON_NAME "icon.png" - ---- src/include/userfile.h 1969-12-31 19:00:00.000000000 -0500 -+++ src/include/userfile.h 2003-10-18 22:55:26.081484408 -0400 -@@ -0,0 +1,17 @@ -+#include <stdio.h> /* snprintf */ -+#include <stdlib.h> /* getenv */ -+#include <sys/stat.h> /* mkdir */ -+#include <sys/types.h> /* mkdir */ -+#include <unistd.h> /* lstat */ -+static char *user_file(char *filename) -+{ -+ #define MAX_PATH 1024 -+ static char pathname[MAX_PATH]; -+ static struct stat mystat; -+ snprintf(pathname, MAX_PATH, "%s/.daimonin", getenv("HOME")); -+ mkdir(pathname, 0700); -+ snprintf(pathname, MAX_PATH, "%s/.daimonin/%s", getenv("HOME"), filename); -+ if (lstat(pathname, &mystat)) -+ sprintf(pathname, "%s/%s", GENTOO_DATADIR, filename); -+ return pathname; -+} diff --git a/games-rpg/daimonin-client/files/0.96.5_beta3-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.96.5_beta3-gentoo-paths.patch deleted file mode 100644 index 94022939b3a9..000000000000 --- a/games-rpg/daimonin-client/files/0.96.5_beta3-gentoo-paths.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff -urN client/src/include/config.h client-new/src/include/config.h ---- client/src/include/config.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/config.h 2004-06-13 13:23:55.408837640 +0100 -@@ -26,11 +26,11 @@ - #define VERSION_CS 991016 - #define VERSION_SC 991016 - --#define KEYBIND_FILE "./keys.dat" --#define OPTION_FILE "./options.dat" --#define ARCHDEF_FILE "./archdef.dat" -+#define KEYBIND_FILE GENTOO_STATEDIR "/keys.dat" -+#define OPTION_FILE GENTOO_STATEDIR "/options.dat" -+#define ARCHDEF_FILE GENTOO_STATEDIR "/archdef.dat" - --#define LOG_FILE "./client.log" -+#define LOG_FILE GENTOO_STATEDIR "/client.log" - - #define CLIENT_ICON_NAME "icon.png" - -diff -urN client/src/include/main.h client-new/src/include/main.h ---- client/src/include/main.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/main.h 2004-06-13 13:33:36.773456784 +0100 -@@ -103,16 +103,16 @@ - - extern int bmaptype_table_size; - --#define FILE_DAIMONIN_P0 "./daimonin.p0" --#define FILE_BMAPS_P0 "./bmaps.p0" --#define FILE_BMAPS_TMP "./srv_files/bmaps.tmp" --#define FILE_ANIMS_TMP "./srv_files/anims.tmp" -- --#define FILE_CLIENT_SPELLS "./srv_files/client_spells" --#define FILE_CLIENT_SKILLS "./srv_files/client_skills" --#define FILE_CLIENT_SETTINGS "./srv_files/client_settings" --#define FILE_CLIENT_BMAPS "./srv_files/client_bmap" --#define FILE_CLIENT_ANIMS "./srv_files/client_anims" -+#define FILE_DAIMONIN_P0 GENTOO_STATEDIR "/daimonin.p0" -+#define FILE_BMAPS_P0 GENTOO_STATEDIR "/bmaps.p0" -+#define FILE_BMAPS_TMP GENTOO_STATEDIR "/srv_files/bmaps.tmp" -+#define FILE_ANIMS_TMP GENTOO_STATEDIR "/srv_files/anims.tmp" -+ -+#define FILE_CLIENT_SPELLS GENTOO_STATEDIR "/srv_files/client_spells" -+#define FILE_CLIENT_SKILLS GENTOO_STATEDIR "/srv_files/client_skills" -+#define FILE_CLIENT_SETTINGS GENTOO_STATEDIR "/srv_files/client_settings" -+#define FILE_CLIENT_BMAPS GENTOO_STATEDIR "/srv_files/client_bmap" -+#define FILE_CLIENT_ANIMS GENTOO_STATEDIR "/srv_files/client_anims" - - enum { - SRV_CLIENT_SKILLS, -diff -urN client/src/wrapper.c client-new/src/wrapper.c ---- client/src/wrapper.c 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/wrapper.c 2004-06-13 13:45:34.944278224 +0100 -@@ -84,35 +84,35 @@ - char * GetBitmapDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./bitmaps/"); -+ return(GENTOO_DATADIR "/bitmaps/"); - #endif - } - - char * GetIconDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./icons/"); -+ return(GENTOO_DATADIR "/icons/"); - #endif - } - - char * GetSfxDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./sfx/"); -+ return(GENTOO_DATADIR "/sfx/"); - #endif - } - - char * GetCacheDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./cache/"); -+ return(GENTOO_STATEDIR "/cache/"); - #endif - } - - char * GetGfxUserDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./gfx_user/"); -+ return(GENTOO_STATEDIR "/gfx_user/"); - #endif - } - -@@ -120,7 +120,7 @@ - char * GetMediaDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./media/"); -+ return(GENTOO_DATADIR "/media/"); - #endif - } - diff --git a/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch deleted file mode 100644 index 94022939b3a9..000000000000 --- a/games-rpg/daimonin-client/files/0.96.6_beta3-gentoo-paths.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff -urN client/src/include/config.h client-new/src/include/config.h ---- client/src/include/config.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/config.h 2004-06-13 13:23:55.408837640 +0100 -@@ -26,11 +26,11 @@ - #define VERSION_CS 991016 - #define VERSION_SC 991016 - --#define KEYBIND_FILE "./keys.dat" --#define OPTION_FILE "./options.dat" --#define ARCHDEF_FILE "./archdef.dat" -+#define KEYBIND_FILE GENTOO_STATEDIR "/keys.dat" -+#define OPTION_FILE GENTOO_STATEDIR "/options.dat" -+#define ARCHDEF_FILE GENTOO_STATEDIR "/archdef.dat" - --#define LOG_FILE "./client.log" -+#define LOG_FILE GENTOO_STATEDIR "/client.log" - - #define CLIENT_ICON_NAME "icon.png" - -diff -urN client/src/include/main.h client-new/src/include/main.h ---- client/src/include/main.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/main.h 2004-06-13 13:33:36.773456784 +0100 -@@ -103,16 +103,16 @@ - - extern int bmaptype_table_size; - --#define FILE_DAIMONIN_P0 "./daimonin.p0" --#define FILE_BMAPS_P0 "./bmaps.p0" --#define FILE_BMAPS_TMP "./srv_files/bmaps.tmp" --#define FILE_ANIMS_TMP "./srv_files/anims.tmp" -- --#define FILE_CLIENT_SPELLS "./srv_files/client_spells" --#define FILE_CLIENT_SKILLS "./srv_files/client_skills" --#define FILE_CLIENT_SETTINGS "./srv_files/client_settings" --#define FILE_CLIENT_BMAPS "./srv_files/client_bmap" --#define FILE_CLIENT_ANIMS "./srv_files/client_anims" -+#define FILE_DAIMONIN_P0 GENTOO_STATEDIR "/daimonin.p0" -+#define FILE_BMAPS_P0 GENTOO_STATEDIR "/bmaps.p0" -+#define FILE_BMAPS_TMP GENTOO_STATEDIR "/srv_files/bmaps.tmp" -+#define FILE_ANIMS_TMP GENTOO_STATEDIR "/srv_files/anims.tmp" -+ -+#define FILE_CLIENT_SPELLS GENTOO_STATEDIR "/srv_files/client_spells" -+#define FILE_CLIENT_SKILLS GENTOO_STATEDIR "/srv_files/client_skills" -+#define FILE_CLIENT_SETTINGS GENTOO_STATEDIR "/srv_files/client_settings" -+#define FILE_CLIENT_BMAPS GENTOO_STATEDIR "/srv_files/client_bmap" -+#define FILE_CLIENT_ANIMS GENTOO_STATEDIR "/srv_files/client_anims" - - enum { - SRV_CLIENT_SKILLS, -diff -urN client/src/wrapper.c client-new/src/wrapper.c ---- client/src/wrapper.c 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/wrapper.c 2004-06-13 13:45:34.944278224 +0100 -@@ -84,35 +84,35 @@ - char * GetBitmapDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./bitmaps/"); -+ return(GENTOO_DATADIR "/bitmaps/"); - #endif - } - - char * GetIconDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./icons/"); -+ return(GENTOO_DATADIR "/icons/"); - #endif - } - - char * GetSfxDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./sfx/"); -+ return(GENTOO_DATADIR "/sfx/"); - #endif - } - - char * GetCacheDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./cache/"); -+ return(GENTOO_STATEDIR "/cache/"); - #endif - } - - char * GetGfxUserDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./gfx_user/"); -+ return(GENTOO_STATEDIR "/gfx_user/"); - #endif - } - -@@ -120,7 +120,7 @@ - char * GetMediaDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./media/"); -+ return(GENTOO_DATADIR "/media/"); - #endif - } - diff --git a/games-rpg/daimonin-client/files/0.96a_beta2-gentoo-paths.patch b/games-rpg/daimonin-client/files/0.96a_beta2-gentoo-paths.patch deleted file mode 100644 index 94022939b3a9..000000000000 --- a/games-rpg/daimonin-client/files/0.96a_beta2-gentoo-paths.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff -urN client/src/include/config.h client-new/src/include/config.h ---- client/src/include/config.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/config.h 2004-06-13 13:23:55.408837640 +0100 -@@ -26,11 +26,11 @@ - #define VERSION_CS 991016 - #define VERSION_SC 991016 - --#define KEYBIND_FILE "./keys.dat" --#define OPTION_FILE "./options.dat" --#define ARCHDEF_FILE "./archdef.dat" -+#define KEYBIND_FILE GENTOO_STATEDIR "/keys.dat" -+#define OPTION_FILE GENTOO_STATEDIR "/options.dat" -+#define ARCHDEF_FILE GENTOO_STATEDIR "/archdef.dat" - --#define LOG_FILE "./client.log" -+#define LOG_FILE GENTOO_STATEDIR "/client.log" - - #define CLIENT_ICON_NAME "icon.png" - -diff -urN client/src/include/main.h client-new/src/include/main.h ---- client/src/include/main.h 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/include/main.h 2004-06-13 13:33:36.773456784 +0100 -@@ -103,16 +103,16 @@ - - extern int bmaptype_table_size; - --#define FILE_DAIMONIN_P0 "./daimonin.p0" --#define FILE_BMAPS_P0 "./bmaps.p0" --#define FILE_BMAPS_TMP "./srv_files/bmaps.tmp" --#define FILE_ANIMS_TMP "./srv_files/anims.tmp" -- --#define FILE_CLIENT_SPELLS "./srv_files/client_spells" --#define FILE_CLIENT_SKILLS "./srv_files/client_skills" --#define FILE_CLIENT_SETTINGS "./srv_files/client_settings" --#define FILE_CLIENT_BMAPS "./srv_files/client_bmap" --#define FILE_CLIENT_ANIMS "./srv_files/client_anims" -+#define FILE_DAIMONIN_P0 GENTOO_STATEDIR "/daimonin.p0" -+#define FILE_BMAPS_P0 GENTOO_STATEDIR "/bmaps.p0" -+#define FILE_BMAPS_TMP GENTOO_STATEDIR "/srv_files/bmaps.tmp" -+#define FILE_ANIMS_TMP GENTOO_STATEDIR "/srv_files/anims.tmp" -+ -+#define FILE_CLIENT_SPELLS GENTOO_STATEDIR "/srv_files/client_spells" -+#define FILE_CLIENT_SKILLS GENTOO_STATEDIR "/srv_files/client_skills" -+#define FILE_CLIENT_SETTINGS GENTOO_STATEDIR "/srv_files/client_settings" -+#define FILE_CLIENT_BMAPS GENTOO_STATEDIR "/srv_files/client_bmap" -+#define FILE_CLIENT_ANIMS GENTOO_STATEDIR "/srv_files/client_anims" - - enum { - SRV_CLIENT_SKILLS, -diff -urN client/src/wrapper.c client-new/src/wrapper.c ---- client/src/wrapper.c 2004-05-13 19:14:52.000000000 +0100 -+++ client-new/src/wrapper.c 2004-06-13 13:45:34.944278224 +0100 -@@ -84,35 +84,35 @@ - char * GetBitmapDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./bitmaps/"); -+ return(GENTOO_DATADIR "/bitmaps/"); - #endif - } - - char * GetIconDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./icons/"); -+ return(GENTOO_DATADIR "/icons/"); - #endif - } - - char * GetSfxDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./sfx/"); -+ return(GENTOO_DATADIR "/sfx/"); - #endif - } - - char * GetCacheDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./cache/"); -+ return(GENTOO_STATEDIR "/cache/"); - #endif - } - - char * GetGfxUserDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./gfx_user/"); -+ return(GENTOO_STATEDIR "/gfx_user/"); - #endif - } - -@@ -120,7 +120,7 @@ - char * GetMediaDirectory(void) - { - #if defined( __WIN_32) || defined(__LINUX) -- return("./media/"); -+ return(GENTOO_DATADIR "/media/"); - #endif - } - diff --git a/games-rpg/daimonin-client/files/daimonin-client-0.96.6_beta3-64bits.patch b/games-rpg/daimonin-client/files/daimonin-client-0.96.6_beta3-64bits.patch deleted file mode 100644 index aa097abbb0a9..000000000000 --- a/games-rpg/daimonin-client/files/daimonin-client-0.96.6_beta3-64bits.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ../../src/wrapper.c.orig Thu Dec 18 22:43:08 2003 -+++ ../../src/wrapper.c Wed Feb 16 10:09:17 2005 -@@ -44,13 +44,15 @@ - } - if(!logstream) /* secure: we have no open stream*/ - flag = FALSE; -- va_start(ap, format); - if(flag) - { -+ va_start(ap, format); - vfprintf(stdout, format, ap); -+ va_end(ap); -+ va_start(ap, format); - vfprintf(logstream, format, ap); -+ va_end(ap); - } -- va_end(ap); - fflush(logstream); - - #endif ---- ../../src/uncompr.c.orig Sun Nov 30 22:59:30 2003 -+++ ../../src/uncompr.c Wed Feb 16 22:11:32 2005 -@@ -39,7 +39,7 @@ - - stream.next_out = dest; - stream.avail_out = (uInt)*destLen; -- if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; -+ if ((uLong)stream.avail_out != (uInt)*destLen) return Z_BUF_ERROR; - - stream.zalloc = (alloc_func)0; - stream.zfree = (free_func)0; diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.95b-r2 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.95b-r2 deleted file mode 100644 index 8e8c6420ec67..000000000000 --- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.95b-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 dc54e26b44a7c94961e4dc4e58a47499 dm_client_95b2_src.zip 12831601 -RMD160 21695b995edaa8b7187c5de87c3b95201cef3981 dm_client_95b2_src.zip 12831601 -SHA256 5b0bf07805458376fae5ee5f5eaf11d942a1881b99770e1404212b3e478170df dm_client_95b2_src.zip 12831601 diff --git a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3 b/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3 deleted file mode 100644 index 7b4e785a2898..000000000000 --- a/games-rpg/daimonin-client/files/digest-daimonin-client-0.96.6_beta3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f15098816863537ed547b4f70d1413c2 daimonin_client-BETA3-0966.tgz 15101397 -RMD160 34a09d41cc4e468ce34a45e33a1b7d9c7ee09dff daimonin_client-BETA3-0966.tgz 15101397 -SHA256 f41a1f0068bdb6a6d77410097037e2e2901aff557109d136a570ce61b47c67d3 daimonin_client-BETA3-0966.tgz 15101397 |