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/ucon64/files
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/ucon64/files')
-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
2 files changed, 0 insertions, 65 deletions
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>