Fix building Dolphin with newer minizip-ng.

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/dolphin/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile    1 Jun 2024 09:01:48 -0000       1.23
+++ Makefile    19 Jan 2025 00:52:09 -0000
@@ -6,6 +6,7 @@ COMMENT-main =          Nintendo GameCube and Wi
 COMMENT-nogui =                Nintendo GameCube and Wii emulator
 
 PKGNAME =              dolphin-5.0.0.20240524
+REVISION =             0
 DIST_TUPLE +=          github dolphin-emu dolphin \
                        222a3930807545d9ebffebfbd13c3a816f788434 . # GPLv2
 
@@ -136,7 +137,8 @@ CONFIGURE_ARGS +=   -DENABLE_ALSA=OFF \
                        -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
 
 FIX_CRLF_FILES =       Externals/soundtouch/SoundTouch.cpp \
-                       Externals/soundtouch/SoundTouch.h
+                       Externals/soundtouch/SoundTouch.h \
+                       Source/Core/Common/MinizipUtil.h
 
 post-configure:
        @mv ${WRKSRC}/Externals/soundtouch/SoundTouch.h \
Index: patches/patch-Source_Core_Common_MinizipUtil_h
===================================================================
RCS file: patches/patch-Source_Core_Common_MinizipUtil_h
diff -N patches/patch-Source_Core_Common_MinizipUtil_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Source_Core_Common_MinizipUtil_h      19 Jan 2025 00:52:09 
-0000
@@ -0,0 +1,12 @@
+Index: Source/Core/Common/MinizipUtil.h
+--- Source/Core/Common/MinizipUtil.h.orig
++++ Source/Core/Common/MinizipUtil.h
+@@ -5,7 +5,7 @@
+ 
+ #include <algorithm>
+ 
+-#include <mz_compat.h>
++#include <unzip.h>
+ 
+ #include "Common/CommonTypes.h"
+ #include "Common/ScopeGuard.h"
Index: patches/patch-Source_Core_DiscIO_VolumeVerifier_cpp
===================================================================
RCS file: patches/patch-Source_Core_DiscIO_VolumeVerifier_cpp
diff -N patches/patch-Source_Core_DiscIO_VolumeVerifier_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Source_Core_DiscIO_VolumeVerifier_cpp 19 Jan 2025 00:52:09 
-0000
@@ -0,0 +1,13 @@
+Index: Source/Core/DiscIO/VolumeVerifier.cpp
+--- Source/Core/DiscIO/VolumeVerifier.cpp.orig
++++ Source/Core/DiscIO/VolumeVerifier.cpp
+@@ -13,8 +13,8 @@
+ #include <unordered_set>
+ 
+ #include <mbedtls/md5.h>
+-#include <mz_compat.h>
+ #include <pugixml.hpp>
++#include <unzip.h>
+ 
+ #include "Common/Align.h"
+ #include "Common/Assert.h"
Index: patches/patch-Source_Core_UICommon_ResourcePack_ResourcePack_cpp
===================================================================
RCS file: patches/patch-Source_Core_UICommon_ResourcePack_ResourcePack_cpp
diff -N patches/patch-Source_Core_UICommon_ResourcePack_ResourcePack_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Source_Core_UICommon_ResourcePack_ResourcePack_cpp    19 Jan 
2025 00:52:09 -0000
@@ -0,0 +1,14 @@
+Index: Source/Core/UICommon/ResourcePack/ResourcePack.cpp
+--- Source/Core/UICommon/ResourcePack/ResourcePack.cpp.orig
++++ Source/Core/UICommon/ResourcePack/ResourcePack.cpp
+@@ -6,7 +6,9 @@
+ #include <algorithm>
+ #include <memory>
+ 
+-#include <mz_compat.h>
++#include <mz.h>
++#include <unzip.h>
++
+ #include <mz_os.h>
+ 
+ #include "Common/CommonPaths.h"

Reply via email to