public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/
@ 2023-07-02 20:28 James Le Cuirot
  0 siblings, 0 replies; 5+ messages in thread
From: James Le Cuirot @ 2023-07-02 20:28 UTC (permalink / raw
  To: gentoo-commits

commit:     b739241a0432c2e0a0490e02bd57269c3906ed1e
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jul  2 13:14:06 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jul  2 20:27:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b739241a

dev-games/libnw: update HOMEPAGE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-games/libnw/libnw-1.30.02.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild
index 2d64032d35d8..905b0579ea49 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="Tools and libraries for NWN file manipulation"
-HOMEPAGE="http://openknights.sourceforge.net/"
+HOMEPAGE="https://sourceforge.net/projects/openknights"
 SRC_URI="mirror://sourceforge/openknights/${P}.tar.gz"
 
 LICENSE="openknights"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/
@ 2024-05-06  6:06 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-05-06  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     fd511cef256c2e34df28fe5e4f3eb09dd1545ba2
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 05:22:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd511cef

dev-games/libnw: remove highly confusing sed to "respect CC"

But it's a generated automake Makefile.in, and the sed is removing every
line containing "CC = @CC@", so it's puzzling that anyone ever thought
to do this.

It was originally added in gentoo-historical-2:

  29 Jan 2009; Michael Sterrett <mr_bones_ <AT> gentoo.org> libnw-1.30.02.ebuild:
  EAPI=2; respect CC

And 15 years later it's the same (2003) tarball and the sed is decidedly
not needed (nor ever was).

Remove this bloaty junk.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/libnw/libnw-1.30.02.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild
index f040c741f587..385052cc6d6e 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools toolchain-funcs
+inherit autotools
 
 DESCRIPTION="Tools and libraries for NWN file manipulation"
 HOMEPAGE="https://sourceforge.net/projects/openknights"
@@ -23,19 +23,9 @@ DOCS=( AUTHORS ChangeLog NEWS README README.tech TODO )
 src_prepare() {
 	default
 	eautoreconf
-
-	local f
-	while IFS="" read -d $'\0' -r f; do
-		einfo "Removing hardcoded CC/CXX from ${f}"
-		sed -i \
-			-e '/^CC =/d' \
-			-e '/^CXX =/d' \
-			"${f}" || die
-	done < <(find "${S}" -name Makefile.in -type f -print0)
 }
 
 src_configure() {
-	tc-export CC CXX
 	econf --disable-static
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/
@ 2024-05-06  6:06 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-05-06  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     29582e0918323c8387c194751daacf3be5806211
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 05:44:31 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29582e09

dev-games/libnw: mark as LTO-unsafe, strict-aliasing unsafe

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

 dev-games/libnw/libnw-1.30.02.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild
index 385052cc6d6e..668d19690ede 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Tools and libraries for NWN file manipulation"
 HOMEPAGE="https://sourceforge.net/projects/openknights"
@@ -23,9 +23,17 @@ DOCS=( AUTHORS ChangeLog NEWS README README.tech TODO )
 src_prepare() {
 	default
 	eautoreconf
+
 }
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/855314
+	#
+	# Sourceforge software dead since 2006, no point reporting anything.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	econf --disable-static
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/
@ 2024-05-06  6:06 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-05-06  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f02e8249af6d00a65f810f776ccc1ac0012f33ef
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 05:16:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02e8249

dev-games/libnw: fix Modern C porting error in vintage configure script

This is an especially vintage configure script. It was generated by
autoconf 2.13, and the tarball is dated 2003.

It failed pretty early on:
configure: error: installation or configuration problem: C compiler cannot create executables.

(There are still other modern C porting errors.)

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

 dev-games/libnw/libnw-1.30.02.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild
index b64675c3fd0e..f040c741f587 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Tools and libraries for NWN file manipulation"
 HOMEPAGE="https://sourceforge.net/projects/openknights"
@@ -22,6 +22,7 @@ DOCS=( AUTHORS ChangeLog NEWS README README.tech TODO )
 
 src_prepare() {
 	default
+	eautoreconf
 
 	local f
 	while IFS="" read -d $'\0' -r f; do


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

* [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/
@ 2024-05-06  6:06 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-05-06  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     49006d0269a1cf518a6e4012d2b6fa8a91c3d278
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon May  6 05:47:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 06:05:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49006d02

dev-games/libnw: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/libnw/{libnw-1.30.02.ebuild => libnw-1.30.02-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02-r1.ebuild
similarity index 96%
rename from dev-games/libnw/libnw-1.30.02.ebuild
rename to dev-games/libnw/libnw-1.30.02-r1.ebuild
index 668d19690ede..70e02dd86931 100644
--- a/dev-games/libnw/libnw-1.30.02.ebuild
+++ b/dev-games/libnw/libnw-1.30.02-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools flag-o-matic
 
@@ -34,7 +34,7 @@ src_configure() {
 	append-flags -fno-strict-aliasing
 	filter-lto
 
-	econf --disable-static
+	default
 }
 
 src_install() {


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

end of thread, other threads:[~2024-05-06  6:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06  6:06 [gentoo-commits] repo/gentoo:master commit in: dev-games/libnw/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-05-06  6:06 Sam James
2024-05-06  6:06 Sam James
2024-05-06  6:06 Sam James
2023-07-02 20:28 James Le Cuirot

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