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 14:14:17 -0600

Download raw body.

Thread
On Tue, 18 Nov 2025 14:07:04 -0600
izzy Meyer <izder456@disroot.org> wrote:

> On Tue, 18 Nov 2025 13:58:38 -0600
> izzy Meyer <izder456@disroot.org> wrote:
> 
> > 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.
> > 
> 
> Whoops, that was a malformed diff.
> 

Okay, sorry, I kept messing up while generating the diff. This should
work fine now. Apologies for all the troubles.

-- 
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 emulators/melonds/Makefile emulators/melonds/Makefile
index d81968709e0..d79eaf92682 100644
--- emulators/melonds/Makefile
+++ emulators/melonds/Makefile
@@ -1,7 +1,9 @@
+USE_WXNEEDED =	Yes
+
 COMMENT =	Nintendo DS emulator
 
 PKGNAME =	melonds-$V
-V =		1.0
+V =		1.1
 
 DIST_TUPLE +=	github melonDS-emu melonDS $V .
 
@@ -34,11 +36,9 @@ BUILD_DEPENDS =	devel/kf6/extra-cmake-modules
 RUN_DEPENDS =	x11/gtk+4,-guic \
 		devel/desktop-file-utils
 
-
 CONFIGURE_ARGS +=	-DQt6_DIR="${LOCALBASE}/lib/qt6/cmake/Qt6" \
 			-DUSE_SYSTEM_LIBSLIRP=ON \
 			-DBUILD_STATIC=OFF \
-			-DENABLE_JIT=OFF \
 			-DENABLE_LTO_RELEASE=ON \
 			-DENABLE_LTO=ON
 
diff --git emulators/melonds/distinfo emulators/melonds/distinfo
index d0bb39fb2ea..63f37ac0f7c 100644
--- emulators/melonds/distinfo
+++ emulators/melonds/distinfo
@@ -1,2 +1,2 @@
-SHA256 (melonDS-emu-melonDS-1.0.tar.gz) = N45fb0EspvhGzOaPiRn6RXuhuwEHg6uhRCvlBc8N+tQ=
-SIZE (melonDS-emu-melonDS-1.0.tar.gz) = 3595302
+SHA256 (melonDS-emu-melonDS-1.1.tar.gz) = YeM5vLGKaKF0hZc2N9ly6mKMViTX5rit9ocPiV1eJv0=
+SIZE (melonDS-emu-melonDS-1.1.tar.gz) = 3673157
diff --git emulators/melonds/patches/patch-CMakeLists_txt emulators/melonds/patches/patch-CMakeLists_txt
index 90327ac5c4f..58161051b28 100644
--- emulators/melonds/patches/patch-CMakeLists_txt
+++ emulators/melonds/patches/patch-CMakeLists_txt
@@ -13,4 +13,4 @@ Index: CMakeLists.txt
 -
  if (WIN32)
      option(BUILD_STATIC "Statically link dependencies" OFF)
- endif()
+     add_definitions(-DWIN32_LEAN_AND_MEAN -DNOMINMAX)
diff --git emulators/melonds/patches/patch-src_debug_GdbStub_cpp emulators/melonds/patches/patch-src_debug_GdbStub_cpp
deleted file mode 100644
index 04894784a17..00000000000
--- emulators/melonds/patches/patch-src_debug_GdbStub_cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-Index: src/debug/GdbStub.cpp
---- src/debug/GdbStub.cpp.orig
-+++ src/debug/GdbStub.cpp
-@@ -18,6 +18,7 @@
- #include <poll.h>
- #include <signal.h>
- #include <arpa/inet.h>
-+#include <netinet/in.h>
- #include <netinet/tcp.h>
- #endif
-