summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-22 19:40:34 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-22 22:22:38 -0400
commitb385e934f1bb7beab4e1a1754adbd7caf699b547 (patch)
tree57378940888e3f88d372622bf8a856cc194d460e /games-util
parentgames-strategy/warzone2100: drop 3.3.0, 3.4.1 (diff)
downloadgentoo-b385e934f1bb7beab4e1a1754adbd7caf699b547.tar.gz
gentoo-b385e934f1bb7beab4e1a1754adbd7caf699b547.tar.bz2
gentoo-b385e934f1bb7beab4e1a1754adbd7caf699b547.zip
games-util/ucon64: drop 2.0.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/ucon64/Manifest1
-rw-r--r--games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch20
-rw-r--r--games-util/ucon64/files/ucon64-2.0.0-zlib.patch45
-rw-r--r--games-util/ucon64/ucon64-2.0.0.ebuild65
4 files changed, 0 insertions, 131 deletions
diff --git a/games-util/ucon64/Manifest b/games-util/ucon64/Manifest
index 2ead28e44b30..190c02eda09a 100644
--- a/games-util/ucon64/Manifest
+++ b/games-util/ucon64/Manifest
@@ -1,2 +1 @@
-DIST ucon64-2.0.0-src.tar.gz 1188488 BLAKE2B 846ea6142eb50abc8165c9abb3cc05245f891b78d786798758e393032cc59c1f3cccc0fe0e70e256e308f709870bc1cc2754df30a8fababea30eda84fd1b2b64 SHA512 d021fe6db9530405773e1e209bdfafe41a2bd997f275ca7fb387f9b3d8639f4581c2761cbdce859a1831d6eba9dab4d5df1019605698c6cb6a4695ab091b001c
DIST ucon64-2.2.1-src.tar.gz 1476080 BLAKE2B 8f7010bde2c7306f6a76dec4ce5e31975c286801e6504bf8bc99287bd7adc4ab10331a8cab308fed83ece9e13bdb01327f6d3439eba776038dbb19eb2b72cf70 SHA512 34453399151e5ed256fdcf387b9d32a052718b264e51b99a2be251b90589337d13cd317f8d1aa7d3c8e39c8e407b22797d4608ec6d14b99c8673ec74f349f6c2
diff --git a/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch b/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch
deleted file mode 100644
index 22bb9a9795fb..000000000000
--- a/games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/backup/lynxit.c
-+++ b/backup/lynxit.c
-@@ -561,7 +561,7 @@
- return FALSE;
- }
-
-- if (strcmp (header.magic, "LYNX") != 0)
-+ if (memcmp (header.magic, "LYNX", sizeof(header.magic)) != 0)
- {
- MESSAGE (("ERROR : %s is not a lynx image\n", filename));
- fclose (fp);
-@@ -682,7 +682,7 @@
- #endif
-
- memset (&header, 0, sizeof (st_lnx_header_t));
-- strcpy (header.magic, MAGIC_STRING);
-+ memcpy (header.magic, MAGIC_STRING, sizeof(header.magic));
- strcpy (header.cartname, cartname);
- strcpy (header.manufname, manufname);
- header.page_size_bank0 = cart_analyse (BANK0);
diff --git a/games-util/ucon64/files/ucon64-2.0.0-zlib.patch b/games-util/ucon64/files/ucon64-2.0.0-zlib.patch
deleted file mode 100644
index d7d3b21c833e..000000000000
--- a/games-util/ucon64/files/ucon64-2.0.0-zlib.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/misc/unzip.h
-+++ b/misc/unzip.h
-@@ -49,6 +49,10 @@
- #include "zlib.h"
- #endif
-
-+#ifndef OF
-+#define OF(x) x
-+#endif
-+
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
- from (void*) without cast */
---- a/libdiscmage/unzip.h
-+++ b/libdiscmage/unzip.h
-@@ -48,6 +48,9 @@
- #ifndef _ZLIB_H
- #include "zlib.h"
- #endif
-+#ifndef OF
-+#define OF(x) x
-+#endif
-
- #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
- /* like the STRICT of WIN32, we define a pointer that cannot be converted
---- a/libdiscmage/misc_z.c
-+++ b/libdiscmage/misc_z.c
-@@ -27,6 +27,7 @@
- #include <string.h>
- #include <errno.h>
- #include <sys/stat.h>
-+#define Z_SOLO
- #include <zlib.h>
- #include "misc_z.h"
- #include "misc.h"
---- a/misc/archive.c
-+++ b/misc/archive.c
-@@ -27,6 +27,7 @@
- #include <string.h>
- #include <errno.h>
- #include <sys/stat.h>
-+#define Z_SOLO
- #include <zlib.h>
- #ifdef HAVE_BYTESWAP_H
- #include <byteswap.h>
diff --git a/games-util/ucon64/ucon64-2.0.0.ebuild b/games-util/ucon64/ucon64-2.0.0.ebuild
deleted file mode 100644
index 64f8177f6f34..000000000000
--- a/games-util/ucon64/ucon64-2.0.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="The backup tool and wonderful emulator's Swiss Army knife program"
-HOMEPAGE="http://ucon64.sourceforge.net/"
-SRC_URI="mirror://sourceforge/ucon64/${P}-src.tar.gz"
-S="${WORKDIR}"/${P}-src/src
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
- "${FILESDIR}"/${P}-ovflfix.patch
- "${FILESDIR}"/${P}-zlib.patch
-)
-
-src_prepare() {
- default
-
- sed -i \
- -e "/^CFLAGS/s/-O3/${CFLAGS}/" \
- -e "/^LDFLAGS/s/-s$/${LDFLAGS}/" \
- {,libdiscmage/}Makefile.in || die
-}
-
-src_configure() {
- local myconf
-
- if [[ ! -e "${ESYSROOT}"/usr/include/sys/io.h ]] ; then
- ewarn "Disabling support for parallel port"
- myconf="${myconf} --disable-parallel"
- fi
-
- econf ${myconf}
-}
-
-src_install() {
- dobin ucon64
- dolib.so libdiscmage/discmage.so
-
- cd .. || die
-
- docinto html
- dodoc *.html
- docinto html/images
- dodoc images/*
-}
-
-pkg_postinst() {
- echo
- elog "In order to use ${PN}, please create the directory ~/.ucon64/dat"
- elog "The command to do that is:"
- elog " mkdir -p ~/.ucon64/dat"
- elog "Then, you can copy your DAT file collection to ~/.ucon64/dat"
- elog
- elog "To enable Discmage support, cp /usr/lib/discmage.so to ~/.ucon64"
- elog "The command to do that is:"
- elog " cp /usr/lib/discmage.so ~/.ucon64/"
- elog
- elog "Be sure to check ~/.ucon64rc for some options after"
- elog "you've run uCON64 for the first time"
-}