diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-24 14:47:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-24 14:47:38 +0100 |
commit | b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 (patch) | |
tree | 911928b566777494d08ebe2c16cb64f15af71901 /games-util/ucon64/files | |
parent | 61f10f985e19dfe20a4d9552902625edd5b6eabb (diff) |
gentoo resync : 24.06.2021
Diffstat (limited to 'games-util/ucon64/files')
-rw-r--r-- | games-util/ucon64/files/ucon64-2.0.0-ovflfix.patch | 20 | ||||
-rw-r--r-- | games-util/ucon64/files/ucon64-2.0.0-zlib.patch | 45 |
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> |