mame: Update to 0.262 (#10043)

Co-authored-by: Alex Brown <mail@alexbrown.info>
This commit is contained in:
Alex Brown
2024-02-05 08:14:50 +00:00
committed by GitHub
parent 63574baf28
commit 615543aec1
2 changed files with 19 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ COPYRIGHT="1997-2023 MAMEDev and contributors"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/mamedev/mame/archive/mame${portVersion/./}.tar.gz"
CHECKSUM_SHA256="51d5ce1563897709ceb7a924c31a70cc5ff2bec466aab8d0cc9ff3cc72b38899"
CHECKSUM_SHA256="64e482f3dd13be4e91c5dfa076fb7a71f450f2879118c6ae452b0037b661aaae"
SOURCE_FILENAME="mame-$portVersion.tar.gz"
SOURCE_DIR="mame-mame${portVersion/./}"
PATCHES="mame-$portVersion.patchset"

View File

@@ -1,4 +1,4 @@
From 6620c8e03eb2f41412fa4862e51c478f1d0af31f Mon Sep 17 00:00:00 2001
From 6d8880c5e8d29e171a4bcf63106b3d604e2f3b3a Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Wed, 10 Jun 2020 22:35:16 +1000
Subject: Haiku patches
@@ -676,10 +676,10 @@ index f0782db..5a3a636 100644
#define PLATFORM_WINDOWS (1)
#define PLATFORM_STRING "windows"
diff --git a/makefile b/makefile
index 26e9f65..7849283 100644
index 00d2744..bfd3b8a 100644
--- a/makefile
+++ b/makefile
@@ -222,6 +222,7 @@ GENIEOS := darwin
@@ -224,6 +224,7 @@ GENIEOS := darwin
endif
ifeq ($(firstword $(filter Haiku,$(UNAME))),Haiku)
OS := haiku
@@ -687,7 +687,7 @@ index 26e9f65..7849283 100644
endif
ifndef OS
$(error Unable to detect OS from uname -a: $(UNAME))
@@ -494,6 +495,10 @@ endif
@@ -496,6 +497,10 @@ endif
ifeq ($(TARGETOS),asmjs)
OSD := sdl
endif
@@ -698,7 +698,7 @@ index 26e9f65..7849283 100644
endif
#-------------------------------------------------
@@ -1507,6 +1512,28 @@ openbsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-openbsd-clang/Makefile
@@ -1521,6 +1526,28 @@ openbsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-openbsd-clang/Makefile
$(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-openbsd-clang config=$(CONFIG)32 precompile
$(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-openbsd-clang config=$(CONFIG)32
@@ -799,10 +799,10 @@ index 57ff069..e0ff74e 100644
#include <termios.h>
#include <libutil.h>
--
2.42.0
2.42.1
From 1da2611683c94e4f8c6eac59e4637235a871cda0 Mon Sep 17 00:00:00 2001
From ec091bf4b90a8e9d2cb6db035fa324d4b1e11209 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Jun 2020 08:59:34 +1000
Subject: Use stat Haiku
@@ -840,10 +840,10 @@ index dab8620..ceb2263 100644
_out.type = FileType::File;
_out.size = UINT64_MAX;
--
2.42.0
2.42.1
From 5922f0145f6fa413525f11920c24eaaef09d7f81 Mon Sep 17 00:00:00 2001
From 8fd63bba1079a94fa8959b216070ae64dbc76e11 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Jun 2020 09:00:11 +1000
Subject: Disable ptty
@@ -863,10 +863,10 @@ index e0ff74e..39a0a5a 100644
#else // defined(__ANDROID__)
// TODO: handling of the slave path is insecure - should use ptsname_r/ttyname_r in a loop
--
2.42.0
2.42.1
From 8d69f32864c14d56a20018e0e8039b253abab5e2 Mon Sep 17 00:00:00 2001
From bcd8793882fbc448f26b05f1575c215e53bbb117 Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Fri, 5 Aug 2022 19:24:12 +0200
Subject: Allow use of Qt Debugger on Haiku
@@ -902,10 +902,10 @@ index cc31fa5..2727ce7 100644
local str = backtick(sdlconfigcmd() .. " --libs")
addlibfromstring(str)
--
2.42.0
2.42.1
From fe3451743dc21be2e74dc8fec98a55cd58864c86 Mon Sep 17 00:00:00 2001
From e15877b414f47e6416fbb125340c8326a4c68e8c Mon Sep 17 00:00:00 2001
From: Alex Brown <mail@alexbrown.info>
Date: Sat, 14 Oct 2023 11:26:57 +0100
Subject: toolchain.lua: set targetdir for Haiku
@@ -957,20 +957,20 @@ index 52d5146..0b67b44 100644
targetdir (_buildDir .. "osx_clang" .. "/bin/x64/Debug")
--
2.42.0
2.42.1
From e434f83007fadad2b19a6e484ae50d233014d1a5 Mon Sep 17 00:00:00 2001
From 90d7331962bee9d26e32e6f1b760b23bc9660acb Mon Sep 17 00:00:00 2001
From: Alex Brown <mail@alexbrown.info>
Date: Sat, 14 Oct 2023 09:14:19 +0100
Subject: Set LinkSupportCircularDependencies for Haiku
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 9bf68e1..b072bfe 100644
index 3a6a2bf..5f1f4d0 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1243,6 +1243,11 @@ configuration { "freebsd or netbsd" }
@@ -1250,6 +1250,11 @@ configuration { "freebsd or netbsd" }
"LinkSupportCircularDependencies",
}
@@ -983,5 +983,5 @@ index 9bf68e1..b072bfe 100644
links {
"pthread",
--
2.42.0
2.42.1