commit 8743229e34a4a59be0fb45676023b3e4f33d837c
Author: Mamoru TASAKA <mtasaka(a)fedoraproject.org>
Date: Fri Oct 11 00:15:59 2024 +0900
Add missing include for zlib related funcs
gambatte-537-minizip.patch | 3 ++-
gambatte.spec | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gambatte-537-minizip.patch b/gambatte-537-minizip.patch
index 6b00ae3..e268f29 100644
--- a/gambatte-537-minizip.patch
+++ b/gambatte-537-minizip.patch
@@ -15,12 +15,13 @@ diff -durN gambatte_src-r537.orig/libgambatte/SConstruct
gambatte_src-r537/libga
diff -durN gambatte_src-r537.orig/libgambatte/src/file/file_zip.cpp
gambatte_src-r537/libgambatte/src/file/file_zip.cpp
--- gambatte_src-r537.orig/libgambatte/src/file/file_zip.cpp 2013-06-01
16:43:58.000000000 +0200
+++ gambatte_src-r537/libgambatte/src/file/file_zip.cpp 2013-07-01 14:39:57.325515266
+0200
-@@ -24,7 +24,7 @@
+@@ -24,7 +24,8 @@
#include <cstring>
namespace zlib {
-#include "unzip/unzip.h"
+#include <minizip/unzip.h>
++#include <zlib.h>
}
namespace {
diff --git a/gambatte.spec b/gambatte.spec
index b827d29..9472ea7 100644
--- a/gambatte.spec
+++ b/gambatte.spec
@@ -4,7 +4,7 @@
Name: gambatte
Version: 571
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: An accuracy-focused Game Boy / Game Boy Color emulator
License: GPLv2
@@ -198,6 +198,9 @@ convert %{SOURCE2} -resize x64
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
%changelog
+* Thu Oct 10 2024 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 571-21
+- Add missing include for zlib related funcs
+
* Fri Aug 02 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 571-20
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild