mame: Bump to 0.285; small upstream patch for SHARC (#13689)

This commit is contained in:
Alex Brown
2026-01-31 07:25:57 +00:00
committed by GitHub
parent 86da526315
commit 284bb205f8
2 changed files with 32 additions and 10 deletions

View File

@@ -13,9 +13,9 @@ calculators, in addition to the arcade video games that were its initial focus."
HOMEPAGE="https://www.mamedev.org/"
COPYRIGHT="1997-2024 MAMEDev and contributors"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/mamedev/mame/archive/mame${portVersion/./}.tar.gz"
CHECKSUM_SHA256="54c9ab67953247c655be47f06575fe3a156f75e2192cfd88e5b865f165057217"
CHECKSUM_SHA256="2b7ed1553ddf434692f62ded87b296931968d55e15f786a8588102880851f41c"
SOURCE_FILENAME="mame-$portVersion.tar.gz"
SOURCE_DIR="mame-mame${portVersion/./}"
PATCHES="mame-$portVersion.patchset"

View File

@@ -1,4 +1,4 @@
From c7bb376382e666763d30589aa262f2b18839f795 Mon Sep 17 00:00:00 2001
From 83f82af71a649492c4e91a87ab4f8528e30ca32f 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,7 +676,7 @@ index f0782db..5a3a636 100644
#define PLATFORM_WINDOWS (1)
#define PLATFORM_STRING "windows"
diff --git a/makefile b/makefile
index ed5d8dd..cb79791 100644
index b689984..6b8ddb9 100644
--- a/makefile
+++ b/makefile
@@ -232,6 +232,7 @@ OS := macosx
@@ -802,7 +802,7 @@ index fa12045..5f8418d 100644
2.52.0
From f6c1cbfc140f09fb797e9a198edf8d5eaf47547c Mon Sep 17 00:00:00 2001
From f88cdfb09f49385983fea4b745fae75a852796cb 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
@@ -843,7 +843,7 @@ index dab8620..ceb2263 100644
2.52.0
From 6128cbfea24e0c75674e43b2cc0ec0bf540c75cd Mon Sep 17 00:00:00 2001
From f39c52b62051f32644cf516dd1b40180c6645f01 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
@@ -866,7 +866,7 @@ index 5f8418d..8838b2a 100644
2.52.0
From 2827eeb7954857940de3c4876718a56165af2ba1 Mon Sep 17 00:00:00 2001
From 2d1e0dbb901dcbcd744facc0b7450a828059802f 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
@@ -905,7 +905,7 @@ index 86a7272..d79abe7 100644
2.52.0
From 983f8b9c40d2d9f6896c66b348205097ba81b304 Mon Sep 17 00:00:00 2001
From 5b6185f21335cee27828a904faa32cabacf4e108 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
@@ -960,7 +960,7 @@ index 18d4755..4853c15 100644
2.52.0
From 8db981e224f0fc170e67fc6f3f54c51985f31c42 Mon Sep 17 00:00:00 2001
From e450c575e625a61bc5d6d6fd73540d0394a4b10e 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
@@ -986,7 +986,7 @@ index 9cb7ee2..ffe673d 100644
2.52.0
From 1b3b2a2b6fa2d0ec05b4ceba6cadbadb3d5cb966 Mon Sep 17 00:00:00 2001
From de2a2696403fc03e77fd9af788b2417447a30d33 Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Thu, 1 May 2025 09:47:57 +0200
Subject: Fix search for Qt6
@@ -1044,3 +1044,25 @@ index f3a970c..544d447 100644
--
2.52.0
From b7525be256ba200f8a809d97dcde6891d95f89db Mon Sep 17 00:00:00 2001
From: Alex Brown <github@alexbrown.info>
Date: Fri, 30 Jan 2026 22:27:03 +0000
Subject: sharcops_table: include emu.h (from upstream by happppp)
diff --git a/src/devices/cpu/sharc/sharcops_table.cpp b/src/devices/cpu/sharc/sharcops_table.cpp
index 6387d3d..5bb4f5c 100644
--- a/src/devices/cpu/sharc/sharcops_table.cpp
+++ b/src/devices/cpu/sharc/sharcops_table.cpp
@@ -1,5 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Ville Linde
+
+#include "emu.h"
#include "sharc.h"
const adsp21062_device::SHARC_OP adsp21062_device::s_sharc_opcode_table[] =
--
2.52.0