Index | Thread | Search

From:
izzy Meyer <izder456@disroot.org>
Subject:
Re: UPDATE: emulators/melonds 1.0 -> 1.1
To:
ports@openbsd.org
Date:
Tue, 18 Nov 2025 13:58:38 -0600

Download raw body.

Thread
On Tue, 18 Nov 2025 13:51:20 -0600
izzy Meyer <izder456@disroot.org> wrote:

> Hello ports@
> 
> Here's an update to the recently released 1.1 of melonDS
> 
> Changelog:
> https://github.com/melonDS-emu/melonDS/releases/tag/1.1
> Announcement from upstream:
> https://melonds.kuribo64.net/comments.php?id=240
> 
> Tested on amd64 with good success playing Animal Crossing: Wild World
> and Mario Kart DS cart dumps. Was even able to play a match or two of
> mario kart on https://wiimmfi.de
> 
> Thanks,
> 

Upstream re-rolled tarballs and I didn't catch it. Updated diff
attached.

-- 
iz (she/her)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git a/emulators/melonds/distinfo b/emulators/melonds/distinfo
index 9756033d5..63f37ac0f 100644
--- a/emulators/melonds/distinfo
+++ b/emulators/melonds/distinfo
@@ -1,2 +1,2 @@
-SHA256 (melonDS-emu-melonDS-1.1.tar.gz) = BU8GOL2qQ7fI7Pw1VxvvDnBUczip7umzhrJknP4Umh0=
-SIZE (melonDS-emu-melonDS-1.1.tar.gz) = 3673165
+SHA256 (melonDS-emu-melonDS-1.1.tar.gz) = YeM5vLGKaKF0hZc2N9ly6mKMViTX5rit9ocPiV1eJv0=
+SIZE (melonDS-emu-melonDS-1.1.tar.gz) = 3673157
diff --git a/emulators/melonds/patches/patch-CMakeLists_txt b/emulators/melonds/patches/patch-CMakeLists_txt
index 6d4678faf..58161051b 100644
--- a/emulators/melonds/patches/patch-CMakeLists_txt
+++ b/emulators/melonds/patches/patch-CMakeLists_txt
@@ -1,26 +1,16 @@
 Don't strip debug symbols.
-Backport hotfix patch commit b86390e4428bf38ce4c1ce0e9ca446d6d25955e8
 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -63,7 +63,7 @@ detect_architecture("__arm__" ARM)
- detect_architecture("__aarch64__" ARM64)
- 
- cmake_dependent_option(ENABLE_JIT "Enable JIT recompiler" ON
--    "(ARCHITECTURE STREQUAL x86_64 AND NOT APPLE) OR ARCHITECTURE STREQUAL ARM64" OFF)
-+    "ARCHITECTURE STREQUAL x86_64 OR ARCHITECTURE STREQUAL ARM64;NOT ARCHITECTURE STREQUAL x86_64 OR NOT APPLE" OFF)
- cmake_dependent_option(ENABLE_JIT_PROFILING "Enable JIT profiling with VTune" OFF "ENABLE_JIT" OFF)
- option(ENABLE_OGLRENDERER "Enable OpenGL renderer" ON)
- 
-@@ -77,10 +77,6 @@ endif()
- 
- if (ENABLE_LTO)
+@@ -79,10 +79,6 @@ if (ENABLE_LTO)
      set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
--endif()
--
--if (NOT APPLE)
--    set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -s")
  endif()
  
+-if (NOT APPLE)
+-    set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -s")
+-endif()
+-
  if (WIN32)
+     option(BUILD_STATIC "Statically link dependencies" OFF)
+     add_definitions(-DWIN32_LEAN_AND_MEAN -DNOMINMAX)