From bb8428327459a27e5ad4ed5032893c2ee499b431 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 19 Oct 2006 14:34:13 +0000 Subject: [PATCH] Punt old versions Package-Manager: portage-2.1.2_pre3-r5 --- games-rpg/eternal-lands/Manifest | 23 --- .../eternal-lands-1.3.0-r2.ebuild | 123 ---------------- .../eternal-lands/eternal-lands-1.3.2.ebuild | 137 ------------------ .../files/digest-eternal-lands-1.3.0-r2 | 6 - .../files/digest-eternal-lands-1.3.2 | 6 - .../files/eternal-lands-1.3.0-counters.patch | 66 --------- .../files/eternal-lands-1.3.0-font.patch | 36 ----- 7 files changed, 397 deletions(-) delete mode 100644 games-rpg/eternal-lands/eternal-lands-1.3.0-r2.ebuild delete mode 100644 games-rpg/eternal-lands/eternal-lands-1.3.2.ebuild delete mode 100644 games-rpg/eternal-lands/files/digest-eternal-lands-1.3.0-r2 delete mode 100644 games-rpg/eternal-lands/files/digest-eternal-lands-1.3.2 delete mode 100644 games-rpg/eternal-lands/files/eternal-lands-1.3.0-counters.patch delete mode 100644 games-rpg/eternal-lands/files/eternal-lands-1.3.0-font.patch diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest index aa0cd6763823..ba13df0ff0bd 100644 --- a/games-rpg/eternal-lands/Manifest +++ b/games-rpg/eternal-lands/Manifest @@ -1,11 +1,3 @@ -AUX eternal-lands-1.3.0-counters.patch 1629 RMD160 5fa4e1440705ea55009d497093f00f35192eabcf SHA1 262628ce2c723437e27969d746aa1b2abd64dde9 SHA256 30720c67c8499806f8a0ef0e02aadab1d04a5cd6759c246adab48c2b3e198b08 -MD5 8a51857b10fac0c11b93350ae4d606e5 files/eternal-lands-1.3.0-counters.patch 1629 -RMD160 5fa4e1440705ea55009d497093f00f35192eabcf files/eternal-lands-1.3.0-counters.patch 1629 -SHA256 30720c67c8499806f8a0ef0e02aadab1d04a5cd6759c246adab48c2b3e198b08 files/eternal-lands-1.3.0-counters.patch 1629 -AUX eternal-lands-1.3.0-font.patch 1550 RMD160 6d93972e21da870dd0535af02f67eb78dd5e7e1f SHA1 88919b01b07668a33366c7bd6dc0d0418e09cce4 SHA256 ab1f8aef48deb7fd50f4b16b52f20c847d0264552139b2f6cd9f42a524a02a4b -MD5 5c17dc938b5c897247446a4218334306 files/eternal-lands-1.3.0-font.patch 1550 -RMD160 6d93972e21da870dd0535af02f67eb78dd5e7e1f files/eternal-lands-1.3.0-font.patch 1550 -SHA256 ab1f8aef48deb7fd50f4b16b52f20c847d0264552139b2f6cd9f42a524a02a4b files/eternal-lands-1.3.0-font.patch 1550 AUX eternal-lands-1.3.0-openal.patch 5366 RMD160 cf2ac6a7297498a38267c01f4a6819dfad186a3d SHA1 fd544b932e955a7773ade589dc879206c7a080da SHA256 aba6fd6b6afddc0861d800007b44ea22326768f883e35ab01b92f27930990c51 MD5 2dca62b921de6d325d72379114bebc98 files/eternal-lands-1.3.0-openal.patch 5366 RMD160 cf2ac6a7297498a38267c01f4a6819dfad186a3d files/eternal-lands-1.3.0-openal.patch 5366 @@ -18,21 +10,12 @@ AUX eternal-lands-1.3.2-shader.patch 746 RMD160 6ad45d544d843ea8d396792aa9ddf816 MD5 53aa0d83f4bc7d9c9fb4e7a0880a64c2 files/eternal-lands-1.3.2-shader.patch 746 RMD160 6ad45d544d843ea8d396792aa9ddf8163980c384 files/eternal-lands-1.3.2-shader.patch 746 SHA256 d8621c82b87af57a1492a0e7b0795ac15df6118e71292f5ae39f3076b84c643c files/eternal-lands-1.3.2-shader.patch 746 -DIST elc_130.tar.bz2 849004 RMD160 e5dc66b2db5203a13707170046874392e1908a06 SHA1 ae66f6822aaa73df54dfd1838698b6897ce05f2b SHA256 ffcd5779a0516e5ec3f6c1add718653284689023a92fcb9dfa3917076d8be140 DIST elc_132.tar.bz2 837127 RMD160 07ddc2c87054ec80139b76b16502b8308b286c4b SHA1 19cf30cd44f3f278533e1a1494744f1586d2cbdc SHA256 10f65992de9fe938ef93e2056dfd8dea9d351b48410fdda1f2bf2913af829982 DIST eternal-lands.png 9955 RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff SHA1 34ee1c154178090f45ca171509f8ba00d26d6a21 SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb -EBUILD eternal-lands-1.3.0-r2.ebuild 3405 RMD160 95cb0162c71c15194ea5dc162e46c51c69757d09 SHA1 c8712d2ef1b59571a7e5f015a0faff5df1f8e229 SHA256 77562292dc61d6bcedcb30cc09a046c9058bb6eb5aad18b576c9ffc0bc5e795a -MD5 95c48ba3ced1d9fcd496cff75ef1fdc3 eternal-lands-1.3.0-r2.ebuild 3405 -RMD160 95cb0162c71c15194ea5dc162e46c51c69757d09 eternal-lands-1.3.0-r2.ebuild 3405 -SHA256 77562292dc61d6bcedcb30cc09a046c9058bb6eb5aad18b576c9ffc0bc5e795a eternal-lands-1.3.0-r2.ebuild 3405 EBUILD eternal-lands-1.3.2-r1.ebuild 4159 RMD160 c937e7f073826e4079fcf1bf5d23cccd60a35948 SHA1 f734992cd7ad28e1d412ff5de57b19c4caae1bf8 SHA256 2e540e114da7fa5b2c953c1c92ebf553d02154f40b0885fcd90f94bdfbbce37d MD5 b5838dba2ab2fa86c772a3ec2a6f9734 eternal-lands-1.3.2-r1.ebuild 4159 RMD160 c937e7f073826e4079fcf1bf5d23cccd60a35948 eternal-lands-1.3.2-r1.ebuild 4159 SHA256 2e540e114da7fa5b2c953c1c92ebf553d02154f40b0885fcd90f94bdfbbce37d eternal-lands-1.3.2-r1.ebuild 4159 -EBUILD eternal-lands-1.3.2.ebuild 3829 RMD160 e5e9260eb2eafa8471d3fbb6eded87a2933f9afa SHA1 feea8f434b7dc9f920b40036c75dfa8a2c1847ae SHA256 76ea6a0b73d34bf5483f226a813b127a475513b43793299955724d2f83ac9d57 -MD5 712262bc6a133e052af2d2c542085c66 eternal-lands-1.3.2.ebuild 3829 -RMD160 e5e9260eb2eafa8471d3fbb6eded87a2933f9afa eternal-lands-1.3.2.ebuild 3829 -SHA256 76ea6a0b73d34bf5483f226a813b127a475513b43793299955724d2f83ac9d57 eternal-lands-1.3.2.ebuild 3829 MISC ChangeLog 5590 RMD160 0018ec6059d32199da15fe4bd93f5ee16db372bd SHA1 19432f14ef9ef96f5a545c49bbf262a79cbcc471 SHA256 d862a1ec2fbfc4600e58873fd6c29b729ed662b4786b33aacb0394ab6755312e MD5 c79d7802dcf832f5a566c86b68b97cfc ChangeLog 5590 RMD160 0018ec6059d32199da15fe4bd93f5ee16db372bd ChangeLog 5590 @@ -41,12 +24,6 @@ MISC metadata.xml 365 RMD160 c06f3d4bff68a5e0f8ab2da3dc62c3d0cc570a20 SHA1 a1234 MD5 a20195e09a3313e5b377c3c4ecc29e26 metadata.xml 365 RMD160 c06f3d4bff68a5e0f8ab2da3dc62c3d0cc570a20 metadata.xml 365 SHA256 0a477bd6a9085aca7e4538f81c3b9d7710cead2395d222f9903c898df57b3e63 metadata.xml 365 -MD5 a36070419026fbb1b7f19de61752a438 files/digest-eternal-lands-1.3.0-r2 452 -RMD160 71b1e63275f7db40b156a470b1aa39de6a76671f files/digest-eternal-lands-1.3.0-r2 452 -SHA256 53503f94d087461511bfffd09ac0ff5bea124b1e70e587c28636e5b0da658b0a files/digest-eternal-lands-1.3.0-r2 452 -MD5 12f6c58dae8173cf2932f215f9ca6b45 files/digest-eternal-lands-1.3.2 452 -RMD160 eec2d29d08f3eb35d6336714e713331c6ef6d17c files/digest-eternal-lands-1.3.2 452 -SHA256 80a53ea5c8ee0e14e49559e1b77ad58e7210d88f6b43a0e92021d8b8127a2809 files/digest-eternal-lands-1.3.2 452 MD5 12f6c58dae8173cf2932f215f9ca6b45 files/digest-eternal-lands-1.3.2-r1 452 RMD160 eec2d29d08f3eb35d6336714e713331c6ef6d17c files/digest-eternal-lands-1.3.2-r1 452 SHA256 80a53ea5c8ee0e14e49559e1b77ad58e7210d88f6b43a0e92021d8b8127a2809 files/digest-eternal-lands-1.3.2-r1 452 diff --git a/games-rpg/eternal-lands/eternal-lands-1.3.0-r2.ebuild b/games-rpg/eternal-lands/eternal-lands-1.3.0-r2.ebuild deleted file mode 100644 index eaa884c134e1..000000000000 --- a/games-rpg/eternal-lands/eternal-lands-1.3.0-r2.ebuild +++ /dev/null @@ -1,123 +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/eternal-lands/eternal-lands-1.3.0-r2.ebuild,v 1.1 2006/07/23 00:57:02 uberlord Exp $ - -inherit eutils games - -MY_PV="${PV//_/}" -MY_PV="${MY_PV//./}" -S="${WORKDIR}/elc" -DESCRIPTION="An online MMORPG written in C and SDL" -HOMEPAGE="http://www.eternal-lands.com" -SRC_URI="mirror://gentoo/elc_${MY_PV}.tar.bz2 - mirror://gentoo/eternal-lands.png" - -# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS -# tree as they don't always release one. -# If they do then use this in SRC_URI instead -# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz - -LICENSE="eternal_lands" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - || ( ( - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext ) - virtual/x11 ) - virtual/opengl - >=media-libs/libsdl-1.2.5 - >=media-libs/sdl-net-1.2.5 - ~media-libs/openal-0.0.8 - media-libs/freealut - media-libs/libvorbis - >=dev-libs/libxml2-2.6.7 - || ( =media-libs/cal3d-0.10.0 =media-libs/cal3d-0.11.0 ) - >=media-libs/libpng-1.2.8 - ~games-rpg/${PN}-data-${PV}" - -DEPEND="${RDEPEND} - app-arch/unzip - sys-apps/findutils - doc? ( >=app-doc/doxygen-1.3.8 - >=media-gfx/graphviz-1.10 )" - -src_unpack() { - OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\""" - S_CLIENT="${WORKDIR}/elc" - BROWSER="konqueror" - - unpack ${A} - cd "${S}" - - # Remove CVS entries - find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null - - # Create updated files with correct perms and allow dir creation - epatch "${FILESDIR}/${P}-update-createdir.patch" - - # Get counters working - epatch "${FILESDIR}/${P}-counters.patch" - - # Clean compile with all OpenAL versions - epatch "${FILESDIR}/${P}-openal.patch" - - # Fix fonts - epatch "${FILESDIR}/${P}-font.patch" - - use amd64 && OPTIONS="${OPTIONS} -DX86_64" - sed \ - -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\ - -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\ - -e "s@OPTIONS=@${OPTIONS} @g" \ - -e 's/lopenal/lopenal -l alut/' \ - Makefile.linux > Makefile \ - || die "sed failed" - sed -i \ - -e 's/#browser/browser/g' \ - -e "s/browser = mozilla/#browser = ${BROWSER}/g" \ - -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \ - el.ini || die "sed failed" -} - -src_compile() { - emake || die "emake failed" - if use doc; then - emake docs || die "Failed to create documentation, try with USE=-doc" - mv ./docs/html/ ../client || die "Failed to move documentation directory" - fi -} - -src_install() { - newgamesbin el.x86.linux.bin el || die "newgamesbin failed" - doicon "${DISTDIR}/eternal-lands.png" - make_desktop_entry el "Eternal Lands" - - insopts -m 0660 - insinto "${GAMES_DATADIR}/${PN}" - doins *.ini *.txt commands.lst || die "doins failed" - - if use doc ; then - dohtml -r client/* - fi - - prepgamesdirs -} - -pkg_postinst() { - einfo "Auto Update is now enabled in Eternal Lands" - ewarn "If an update occurs then the client will suddenly exit" - einfo "Updates only happen when the game first loads" - einfo "Please don't report this behaviour as a bug" - - # Ensure that the files are writable by the game group for auto - # updating. - chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}" - - # Make sure new files stay in games group - find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \; -} diff --git a/games-rpg/eternal-lands/eternal-lands-1.3.2.ebuild b/games-rpg/eternal-lands/eternal-lands-1.3.2.ebuild deleted file mode 100644 index 43f7fa93f2e6..000000000000 --- a/games-rpg/eternal-lands/eternal-lands-1.3.2.ebuild +++ /dev/null @@ -1,137 +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/eternal-lands/eternal-lands-1.3.2.ebuild,v 1.1 2006/09/03 17:00:40 uberlord Exp $ - -inherit eutils flag-o-matic games - -MY_PV="${PV//_/}" -MY_PV="${MY_PV//./}" -S="${WORKDIR}/elc" -DESCRIPTION="An online MMORPG written in C and SDL" -HOMEPAGE="http://www.eternal-lands.com" -SRC_URI="mirror://gentoo/elc_${MY_PV}.tar.bz2 - mirror://gentoo/eternal-lands.png" - -# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS -# tree as they don't always release one. -# If they do then use this in SRC_URI instead -# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz - -LICENSE="eternal_lands" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc" - -RDEPEND=" - || ( ( - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext ) - virtual/x11 ) - virtual/opengl - >=media-libs/libsdl-1.2.5 - >=media-libs/sdl-net-1.2.5 - ~media-libs/openal-0.0.8 - media-libs/freealut - media-libs/libvorbis - >=dev-libs/libxml2-2.6.7 - || ( =media-libs/cal3d-0.10.0 =media-libs/cal3d-0.11.0 ) - >=media-libs/libpng-1.2.8 - ~games-rpg/${PN}-data-${PV}" - -DEPEND="${RDEPEND} - app-arch/unzip - sys-apps/findutils - doc? ( >=app-doc/doxygen-1.3.8 - >=media-gfx/graphviz-1.10 )" - -src_unpack() { - OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\""" - S_CLIENT="${WORKDIR}/elc" - BROWSER="konqueror" - - unpack ${A} - cd "${S}" - - # Remove CVS entries - find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null - - # Create updated files with correct perms and allow dir creation - epatch "${FILESDIR}/${PN}-1.3.0-update-createdir.patch" - - # Clean compile with all OpenAL versions - epatch "${FILESDIR}/${PN}-1.3.0-openal.patch" - - # Allow shaders to actually work - epatch "${FILESDIR}/${P}-shader.patch" - - # Build for amd64 - use amd64 && OPTIONS="${OPTIONS} -DX86_64" - - # Use these experimental options - I like them :) - OPTIONS="${OPTIONS} -DCUSTOM_LOOK -DNEW_WEATHER" - - # Requires a patch to use correct dir - OPTIONS="${OPTIONS} -DUSE_SHADER" - - # Add debugging options - if use debug ; then - OPTIONS="${OPTIONS} -DMEMORY_DEBUG" - append-flags -ggdb - fi - - sed \ - -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\ - -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\ - -e "s@OPTIONS=@${OPTIONS} @g" \ - -e 's/lopenal/lopenal -l alut/' \ - Makefile.linux > Makefile \ - || die "sed failed" - sed -i \ - -e 's/#browser/browser/g' \ - -e "s/browser = mozilla/#browser = ${BROWSER}/g" \ - -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \ - el.ini || die "sed failed" - - # Framebuffer support is way buggy - remove it - sed -i -e '/OPTIONS=/ s/-DUSE_FRAMEBUFFER//' Makefile || die "sed failed" -} - -src_compile() { - emake || die "emake failed" - if use doc; then - emake docs || die "Failed to create documentation, try with USE=-doc" - mv ./docs/html/ ../client || die "Failed to move documentation directory" - fi -} - -src_install() { - newgamesbin el.x86.linux.bin el || die "newgamesbin failed" - doicon "${DISTDIR}/eternal-lands.png" - make_desktop_entry el "Eternal Lands" - - insopts -m 0660 - insinto "${GAMES_DATADIR}/${PN}" - doins *.ini *.txt commands.lst shader || die "doins failed" - - if use doc ; then - dohtml -r client/* - fi - - prepgamesdirs -} - -pkg_postinst() { - einfo "Auto Update is now enabled in Eternal Lands" - ewarn "If an update occurs then the client will suddenly exit" - einfo "Updates only happen when the game first loads" - einfo "Please don't report this behaviour as a bug" - - # Ensure that the files are writable by the game group for auto - # updating. - chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}" - - # Make sure new files stay in games group - find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \; -} diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.0-r2 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.0-r2 deleted file mode 100644 index 2be8e9ed82f7..000000000000 --- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.0-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 f83902ed603926a9611ace5914a3fdc0 elc_130.tar.bz2 849004 -RMD160 e5dc66b2db5203a13707170046874392e1908a06 elc_130.tar.bz2 849004 -SHA256 ffcd5779a0516e5ec3f6c1add718653284689023a92fcb9dfa3917076d8be140 elc_130.tar.bz2 849004 -MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955 -RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955 -SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955 diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.2 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.2 deleted file mode 100644 index de4826610abb..000000000000 --- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.3.2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 39f027d682186b11382c8b6e5acfd2a0 elc_132.tar.bz2 837127 -RMD160 07ddc2c87054ec80139b76b16502b8308b286c4b elc_132.tar.bz2 837127 -SHA256 10f65992de9fe938ef93e2056dfd8dea9d351b48410fdda1f2bf2913af829982 elc_132.tar.bz2 837127 -MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955 -RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955 -SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955 diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.3.0-counters.patch b/games-rpg/eternal-lands/files/eternal-lands-1.3.0-counters.patch deleted file mode 100644 index 243cfb658cff..000000000000 --- a/games-rpg/eternal-lands/files/eternal-lands-1.3.0-counters.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- elc.orig/counters.c 2006-07-04 20:03:48.000000000 +0100 -+++ elc/counters.c 2006-07-06 14:46:40.000000000 +0100 -@@ -121,54 +121,6 @@ - return my_fopen(filename, mode); - } - --/******************************************************************************* -- * XXX: Delete this function. -- ******************************************************************************/ --void import_old_counters() --{ -- char filename[256], username[16]; -- int i, j; -- Uint8 io_name_len; -- Uint8 io_is_player; -- Uint32 io_n_total; -- char io_name[32]; -- FILE *f; -- -- strncpy(username, username_str, sizeof(username)); -- for (i = 0; username[i]; i++) { -- username[i] = tolower(username[i]); -- } -- --#ifndef WINDOWS -- snprintf(filename, sizeof(filename), "%s/kills_%s.dat", configdir, username); --#else -- snprintf(filename, sizeof(filename), "kills_%s.dat", username); --#endif -- -- if (!(f = my_fopen(filename, "rb"))) { -- return; -- } -- -- i = KILLS - 1; -- -- while (fread(&io_name_len, sizeof(io_name_len), 1, f) > 0) { -- fread(io_name, io_name_len, 1, f); -- io_name[io_name_len] = '\0'; -- -- fread(&io_is_player, sizeof(io_is_player), 1, f); -- fread(&io_n_total, sizeof(io_n_total), 1, f); -- -- j = entries[i]++; -- counters[i] = realloc(counters[i], entries[i] * sizeof(struct Counter)); -- counters[i][j].name = strdup(io_name); -- counters[i][j].n_session = 0; -- counters[i][j].n_total = io_n_total; -- counters[i][j].extra = io_is_player; -- } -- -- fclose(f); --} -- - void load_counters() - { - FILE *f; -@@ -198,7 +150,7 @@ - } - - if (!(f = open_counters_file("rb"))) { -- import_old_counters(); -+ counters_initialized = 1; - return; - } - diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.3.0-font.patch b/games-rpg/eternal-lands/files/eternal-lands-1.3.0-font.patch deleted file mode 100644 index f8b3e5584545..000000000000 --- a/games-rpg/eternal-lands/files/eternal-lands-1.3.0-font.patch +++ /dev/null @@ -1,36 +0,0 @@ -=================================================================== -RCS file: /cvsroot/elc/elc/font.c,v -retrieving revision 1.69 -retrieving revision 1.70 -diff -u -r1.69 -r1.70 ---- elc/elc/font.c 2006/05/23 07:25:03 1.69 -+++ elc/elc/font.c 2006/07/19 02:11:23 1.70 -@@ -995,22 +995,25 @@ - poor_man=0; - use_mipmaps=0; - --#ifndef FONTS_FIX - fonts[0]->texture_id = load_texture_cache ("./textures/font.bmp", 0); -+#ifndef FONTS_FIX - fonts[1]->texture_id = load_texture_cache ("./textures/fontv.bmp", 0); - fonts[2]->texture_id = load_texture_cache ("./textures/font2.bmp", 0); - fonts[3]->texture_id = load_texture_cache ("./textures/font3.bmp", 0); - #else -+ // Force the selection of the base font. -+ add_multi_option("chat_font", "Type 1"); -+ add_multi_option("name_font", "Type 1"); - // Find what font's exist and load them - dp = opendir ("./textures/"); - if (dp == NULL) { - return 0; - } -- i = 0; -+ i = 1; - while ((ep = readdir (dp)) && i < FONTS_ARRAY_SIZE) { - strcpy(file, ""); - strcpy(file, ep->d_name); -- if (!strncasecmp(file, "font", 4) && !strcasecmp(file+strlen(file) - 4, ".bmp") && strncasecmp(file+strlen(file) - 10, "_alpha", 6) && strlen(file) + 11 <= 60) { -+ if (!strncasecmp(file, "font", 4) && !strcasecmp(file+strlen(file) - 4, ".bmp") && strncasecmp(file+strlen(file) - 10, "_alpha", 6) && strlen(file) + 11 <= 60 && strlen(file) > 8) { - // Get the filename, remove the .bmp and add _alpha.bmp to a copy, then replace the .bmp - file[strlen(file) - 4] = 0; - snprintf(str, sizeof(str), "./textures/%s", file); -- 2.26.2