games/godot: unbreak: remove compat patches for old zlib.

This commit is contained in:
tb 2021-07-04 14:34:25 +00:00
parent 6614df07b3
commit a60a787a67
3 changed files with 2 additions and 35 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2021/06/27 11:44:14 jasper Exp $
# $OpenBSD: Makefile,v 1.22 2021/07/04 14:34:25 tb Exp $
BROKEN-powerpc = fails at runtime, the UI is totally blank
BROKEN-powerpc64 = Unknown ISA
@ -8,7 +8,7 @@ COMMENT = 2D and 3D game engine
V = 3.3.2
DISTNAME = godot-${V}-stable
PKGNAME = godot-${V}
REVISION = 0
REVISION = 1
CATEGORIES = games
HOMEPAGE = https://godotengine.org/
MAINTAINER = Omar Polo <op@omarpolo.com>

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-thirdparty_minizip_unzip_c,v 1.1 2020/07/19 13:02:38 thfr Exp $
z_crc_t is defined as unsigned long on zlib 1.2.11, which is newer than
the one we have in base.
Index: thirdparty/minizip/unzip.c
--- thirdparty/minizip/unzip.c.orig
+++ thirdparty/minizip/unzip.c
@@ -118,6 +118,7 @@
#define SIZECENTRALDIRITEM (0x2e)
#define SIZEZIPLOCALHEADER (0x1e)
+typedef unsigned long z_crc_t;
const char unz_copyright[] =
" unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-thirdparty_minizip_zip_c,v 1.1 2020/07/19 13:02:38 thfr Exp $
z_crc_t is defined as unsigned long on zlib 1.2.11, which is newer than
the one we have in base.
Index: thirdparty/minizip/zip.c
--- thirdparty/minizip/zip.c.orig
+++ thirdparty/minizip/zip.c
@@ -111,6 +111,8 @@ const char zip_copyright[] =" zip 1.01 Copyright 1998-
#define SIZECENTRALHEADER (0x2e) /* 46 */
+typedef unsigned long z_crc_t;
+
typedef struct linkedlist_datablock_internal_s
{
struct linkedlist_datablock_internal_s* next_datablock;