public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2020-04-28 22:55 James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2020-04-28 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     d79264cf6d41ee6870c4b2bcb8b82d544e4b6131
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 22:46:26 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 22:55:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79264cf

games-emulation/advancemame: Locate nasm with var instead of symlink

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index 65219bb4bbb..0c69669f9ac 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -49,8 +49,6 @@ src_prepare() {
 
 	eautoreconf
 	sed -i -e 's/"-s"//' configure || die
-
-	use x86 && ln -s $(type -P nasm) "${T}/${CHOST}-nasm"
 }
 
 src_configure() {
@@ -59,7 +57,7 @@ src_configure() {
 		append-ldflags "-Wl,--relax"
 	fi
 
-	PATH="${PATH}:${T}"
+	ac_cv_prog_ASM=nasm \
 	econf \
 		--enable-expat \
 		--enable-sdl2 \


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2020-04-28 22:55 James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2020-04-28 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     775feb00f70e7f7218376a73475549775c36f8b9
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 22:44:04 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 22:55:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775feb00

games-emulation/advancemame: sdl2-config symlink no longer needed

It is not found via pkg-config.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index 484df1da0a3..65219bb4bbb 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -51,7 +51,6 @@ src_prepare() {
 	sed -i -e 's/"-s"//' configure || die
 
 	use x86 && ln -s $(type -P nasm) "${T}/${CHOST}-nasm"
-	ln -s $(type -P sdl2-config) "${T}/${CHOST}-sdl2-config"
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2020-04-28 22:55 James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2020-04-28 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     56b5878dce5dfe7abc2f7b5fc4a33bcd3981bc64
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 22:42:31 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 22:54:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b5878d

games-emulation/advancemame: Add missing ncurses subslot operator

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index 08968fbd325..484df1da0a3 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -19,7 +19,7 @@ DEPEND="
 	media-libs/libsdl2[video]
 	sys-libs/zlib
 	alsa? ( media-libs/alsa-lib )
-	ncurses? ( sys-libs/ncurses )
+	ncurses? ( sys-libs/ncurses:= )
 	slang? ( sys-libs/slang )
 	truetype? ( media-libs/freetype:2 )
 "


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2020-04-29 10:08 James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2020-04-29 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     33e06e748ded1d938628b43bfd664f2ece852572
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 29 10:08:15 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 10:08:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e06e74

games-emulation/advancemame: Work around parallel install bug with -j1

I'll try to fix it properly later.

Bug: https://bugs.gentoo.org/665770
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index a0c04dabff6..94f89102438 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -80,7 +80,7 @@ src_compile() {
 }
 
 src_install() {
-	emake install \
+	emake -j1 install \
 		VERSION="${PV}" \
 		DESTDIR="${D}"
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2020-05-21 10:11 James Le Cuirot
  0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2020-05-21 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     5155984fcb4107145482014d2f9840cb77144a26
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu May 21 10:10:33 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu May 21 10:10:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5155984f

games-emulation/advancemame: Add missing autoconf-archive dep

Closes: https://bugs.gentoo.org/724424
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index 94f89102438..61a5a35b78d 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -29,6 +29,7 @@ RDEPEND="
 	app-arch/zip
 "
 BDEPEND="
+	sys-devel/autoconf-archive
 	virtual/pkgconfig
 	x86? ( >=dev-lang/nasm-0.98 )
 "


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2021-05-10 12:31 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-05-10 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d579c09523642be68987e393189b59d1a567995e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 10 12:30:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 10 12:30:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d579c095

games-emulation/advancemame: Keyword 3.9 ppc64, #769962

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/advancemame/advancemame-3.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9.ebuild
index 2759ceac28f..c7ee4e9a92d 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/amadvance/advancemame/releases/download/v${PV}/${P}.
 
 LICENSE="GPL-2 XMAME"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="alsa fbcon ncurses oss slang truetype"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/
@ 2024-03-15 20:22 Sam James
  0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2024-03-15 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     4a0b19c40778736c971a3ef371413404b25ceac0
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 15 19:42:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 20:21:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0b19c4

games-emulation/advancemame: suppress compiler optimizations with fire

Upstream configure.ac sets some sanity flags, but only when CFLAGS
aren't defined. They acknowledge the codebase was written "when
compilers where not aggressively optimizing undefined behaviour". We
should respect that even though we do set CFLAGS. Also suppress LTO
because why on earth should we assume that will work if they have that
much UB.

Closes: https://bugs.gentoo.org/858626
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{advancemame-3.9.ebuild => advancemame-3.9-r1.ebuild}     | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/games-emulation/advancemame/advancemame-3.9.ebuild b/games-emulation/advancemame/advancemame-3.9-r1.ebuild
similarity index 78%
rename from games-emulation/advancemame/advancemame-3.9.ebuild
rename to games-emulation/advancemame/advancemame-3.9-r1.ebuild
index 344e87abb787..ff19eda49ce8 100644
--- a/games-emulation/advancemame/advancemame-3.9.ebuild
+++ b/games-emulation/advancemame/advancemame-3.9-r1.ebuild
@@ -56,6 +56,17 @@ src_prepare() {
 }
 
 src_configure() {
+	# https://bugs.gentoo.org/858626
+	#
+	# From upstream configure.ac, only enabled if CFLAGS is not set:
+	# - Code was written when compilers where not aggressively optimizing undefined behaviour about aliasing
+	# - Code was written when compilers where not aggressively optimizing undefined behaviour about overflow in signed integers
+	# - Code was written on Intel where char is signed
+	#
+	# Do not trust with LTO either, BTW
+	append-flags -fno-strict-aliasing -fno-strict-overflow -fsigned-char
+	filter-lto
+
 	# Fix for bug #78030
 	use ppc && append-ldflags "-Wl,--relax"
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-15 20:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28 22:55 [gentoo-commits] repo/gentoo:master commit in: games-emulation/advancemame/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2020-04-28 22:55 James Le Cuirot
2020-04-28 22:55 James Le Cuirot
2020-04-29 10:08 James Le Cuirot
2020-05-21 10:11 James Le Cuirot
2021-05-10 12:31 Sam James
2024-03-15 20:22 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox