public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/tiemu/files/, sci-calculators/tiemu/
Date: Fri, 27 Oct 2023 08:19:45 +0000 (UTC)	[thread overview]
Message-ID: <1698394752.7bb99f18c1bc348d5b1c1f816dba17ac41febf41.andrewammerlaan@gentoo> (raw)

commit:     7bb99f18c1bc348d5b1c1f816dba17ac41febf41
Author:     Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Wed Oct 11 07:51:27 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 08:19:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb99f18

sci-calculators/tiemu: Fix call to undeclared function romcalls_is_addr

Closes: https://bugs.gentoo.org/886067
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33295
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../tiemu/files/tiemu-3.03-clang16-build-fix.patch | 23 ++++++++++++++++++++++
 sci-calculators/tiemu/tiemu-3.03-r2.ebuild         |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
new file mode 100644
index 000000000000..10d57c7f9ee9
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-clang16-build-fix.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/886067
+--- a/src/core/uae/newcpu.c
++++ b/src/core/uae/newcpu.c
+@@ -19,6 +19,8 @@
+ #include "options.h"
+ #include "memory.h"
+ #include "newcpu.h"
++#include "romcalls.h"
++#include "handles.h"
+ 
+ // tiemu begin
+ #include "tilibs.h"
+--- a/src/gui/logger/log_link.c
++++ b/src/gui/logger/log_link.c
+@@ -36,7 +36,7 @@
+ #include "filesel.h"
+ 
+ static GtkTextBuffer *txtbuf;
+-static logger_enabled = 0;
++static int logger_enabled = 0;
+ 
+ static void udpate_widgets(GtkWidget *button, GtkWidget *spin)
+ {

diff --git a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
index ef5c95e0d072..ff146a5fd377 100644
--- a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
+++ b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch
 	"${FILESDIR}"/${P}-r2820.patch
 	"${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
+	"${FILESDIR}"/${P}-clang16-build-fix.patch
 )
 
 src_prepare() {


                 reply	other threads:[~2023-10-27  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698394752.7bb99f18c1bc348d5b1c1f816dba17ac41febf41.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox