public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/anagramarama/files/, games-puzzle/anagramarama/
Date: Thu, 24 Apr 2025 18:50:32 +0000 (UTC)	[thread overview]
Message-ID: <1745520599.c3448f3a9c536dd873efbfb2bc96e8badad38257.sam@gentoo> (raw)

commit:     c3448f3a9c536dd873efbfb2bc96e8badad38257
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 18:39:17 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 18:49:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3448f3a

games-puzzle/anagramarama: EAPI 8, fix C23 compat

Closes: https://bugs.gentoo.org/944388
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...amarama-0.2-r1.ebuild => anagramarama-0.2-r2.ebuild} | 17 ++++++++++-------
 .../anagramarama/files/anagramarama-0.2-c23.patch       | 15 +++++++++++++++
 2 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/games-puzzle/anagramarama/anagramarama-0.2-r1.ebuild b/games-puzzle/anagramarama/anagramarama-0.2-r2.ebuild
similarity index 84%
rename from games-puzzle/anagramarama/anagramarama-0.2-r1.ebuild
rename to games-puzzle/anagramarama/anagramarama-0.2-r2.ebuild
index 2fb8281f6204..02f7abe6900b 100644
--- a/games-puzzle/anagramarama/anagramarama-0.2-r1.ebuild
+++ b/games-puzzle/anagramarama/anagramarama-0.2-r2.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop toolchain-funcs vcs-clean
 
 DESCRIPTION="Create as many words as you can before the time runs out"
 HOMEPAGE="http://www.coralquest.com/anagramarama/"
 SRC_URI="http://www.omega.clara.net/anagramarama/dist/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -16,16 +17,18 @@ KEYWORDS="~amd64 ~x86"
 DEPEND="
 	>=media-libs/libsdl-1.2
 	>=media-libs/sdl-mixer-1.2
-	>=media-libs/sdl-image-1.2"
-RDEPEND="${DEPEND}
-	sys-apps/miscfiles"
+	>=media-libs/sdl-image-1.2
+"
+RDEPEND="
+	${DEPEND}
+	sys-apps/miscfiles
+"
 BDEPEND="virtual/pkgconfig"
 
-S="${WORKDIR}/${PN}"
-
 PATCHES=(
 	"${FILESDIR}"/${P}-fhs.patch
 	"${FILESDIR}"/${P}-gentoo.patch
+	"${FILESDIR}"/${P}-c23.patch
 )
 
 src_prepare() {

diff --git a/games-puzzle/anagramarama/files/anagramarama-0.2-c23.patch b/games-puzzle/anagramarama/files/anagramarama-0.2-c23.patch
new file mode 100644
index 000000000000..db55719bf0b6
--- /dev/null
+++ b/games-puzzle/anagramarama/files/anagramarama-0.2-c23.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/944388
+
+The comment for clearSoundBuffer() makes clear it uses the global soundCache,
+as do the other functions that operate on it.
+--- a/src/ag.c
++++ b/src/ag.c
+@@ -1772,7 +1772,7 @@ struct sprite* letters = NULL;
+ 	// tidy up and exit
+ 	free(rootWord);
+ 	Mix_CloseAudio();
+-	clearSoundBuffer(&soundCache);
++	clearSoundBuffer();
+ 	//trashDLBTree();
+ 	destroyLetters(&letters);
+ 	SDL_FreeSurface(screen);


             reply	other threads:[~2025-04-24 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24 18:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-21 19:59 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/anagramarama/files/, games-puzzle/anagramarama/ David Seifert

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=1745520599.c3448f3a9c536dd873efbfb2bc96e8badad38257.sam@gentoo \
    --to=sam@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