games-strategy/liquidwar: drop old 5.6.4

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17393
Signed-off-by: Stefan Strogin <steils@gentoo.org>
This commit is contained in:
Alexey Sokolov
2020-09-21 01:25:07 +01:00
committed by Stefan Strogin
parent f9648eb25f
commit 6120833da2
5 changed files with 0 additions and 121 deletions

View File

@@ -1,2 +1 @@
DIST liquidwar-5.6.4.tar.gz 3268432 BLAKE2B 9b74b057ecb065e18c355c92e9b71bcd257997d9b9874c37a77352b1df83fe17d130c6ac1394368eeb40957ff81d26e973f0677035949d84c357829dc40875f6 SHA512 7145a8362c46a0f39662327edf81b341659a3ce8216f9fb3bb32e483de618c0f46169ed916fe2c4c651ebc5925ecdc534b372c381e16c3ddae9a50fb48f98ed7
DIST liquidwar-5.6.5.tar.gz 6508987 BLAKE2B 26411f3c79a407a467f14a0c18b4ff320ab522ed96e43d00fdf4ccc8feab72e786361ac367349336e0478b6cbd187d9ce7c12e28be7896476557beb7b2f65327 SHA512 15dc2cacd1f3b00f8dcac4318cbaf5c713f2d0e111392d14dd56eec7ae97a64af1487a11038dc108743baf3c995e9136100d56331fadc4cf19dc5702d5051a25

View File

@@ -1,27 +0,0 @@
--- a/src/glouglou.s
+++ b/src/glouglou.s
@@ -240,3 +240,6 @@
ret
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
--- a/src/monster.s
+++ b/src/monster.s
@@ -972,3 +972,6 @@
ret # retour au c
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif
--- a/src/spread.s
+++ b/src/spread.s
@@ -957,3 +957,6 @@
+#ifdef __ELF__
+.section .note.GNU-stack,"",%progbits
+#endif

View File

@@ -1,18 +0,0 @@
--- a/src/wwwsrv.c.old 2010-10-26 14:16:31.000000000 +0200
+++ b/src/wwwsrv.c 2010-10-26 14:17:35.000000000 +0200
@@ -100,12 +100,12 @@
data->privacy = privacy;
data->log = log;
- strncpy (data->metaserver, metaserver, URL_SIZE);
+ strncpy (data->metaserver, metaserver, sizeof(data->metaserver));
data->port = port;
data->busy_players = busy_players;
data->max_players = max_players;
- strncpy (data->password, password, URL_SIZE);
- strncpy (data->comment, comment, URL_SIZE);
+ strncpy (data->password, password, sizeof(data->password));
+ strncpy (data->comment, comment, sizeof(data->comment));
}
/*------------------------------------------------------------------*/

View File

@@ -1,11 +0,0 @@
--- a/src/Makefile.in.old 2011-06-22 07:45:05.756127862 +0200
+++ b/src/Makefile.in 2011-06-22 07:46:00.681613957 +0200
@@ -223,7 +223,7 @@
EXTERN_LIBS = `allegro-config --static $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
else
LINK_OPTIONS =
- EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
+ EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY) -lm
endif
CONFIG_OPTIONS = \

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit desktop
DESCRIPTION="Unique multiplayer wargame"
HOMEPAGE="http://www.ufoot.org/liquidwar/"
SRC_URI="https://savannah.nongnu.org/download/liquidwar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=">=media-libs/allegro-4.2:0[X]"
DEPEND="${RDEPEND}"
src_prepare() {
default
eapply "${FILESDIR}"/${P}-exec-stack.patch \
"${FILESDIR}"/${P}-ovflfix.patch
sed -i \
-e 's:/games::' \
-e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \
-e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \
-e '/^DESKTOPDIR/ s:=.*:= /usr/share/applications/:' \
-e '/^INFODIR/ s/=.*/= $(infodir)/' \
-e '/^GAMEDIR/ s/exec_prefix/bindir/' \
-e '/install/s:-s ::' \
-e 's:$(DOCDIR)/txt:$(DOCDIR):g' \
-e 's:$(GMAKE):$(MAKE):' \
-e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \
|| die 'sed Makefile.in failed'
sed -i \
-e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \
-e 's:/games::' src/Makefile.in \
|| die "sed src/Makefile.in failed"
eapply "${FILESDIR}"/${P}-underlink.patch
}
src_configure() {
econf \
--disable-doc-ps \
--disable-doc-pdf \
--disable-target-opt \
$(use_enable x86 asm)
}
src_compile() {
# skip build_doc target wrt bug 460344
emake build_bin build_data
}
src_install() {
emake DESTDIR="${D}" install_nolink
einstalldocs
rm -f "${ED}"/usr/share/doc/${PF}/COPYING
# Provided desktop file is completely obsolete
rm -f "${ED}"/usr/share/applications/liquidwar.desktop
make_desktop_entry ${PN} "Liquid War" /usr/share/pixmaps/${PN}.xpm
}