summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-05 07:42:58 +0000
committerSam James <sam@gentoo.org>2023-01-05 07:45:28 +0000
commit326f6f0395169cf06fee8ab4cf70743ea93a4dc9 (patch)
tree002318781f68d7bbed82c30f5450a697cdabaf1c /x11-libs/neXtaw
parentgames-arcade/yarsrevenge: fix configure w/ clang 16 (diff)
downloadgentoo-326f6f0395169cf06fee8ab4cf70743ea93a4dc9.tar.gz
gentoo-326f6f0395169cf06fee8ab4cf70743ea93a4dc9.tar.bz2
gentoo-326f6f0395169cf06fee8ab4cf70743ea93a4dc9.zip
x11-libs/neXtaw: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/879779 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-libs/neXtaw')
-rw-r--r--x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild (renamed from x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild)11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild b/x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild
index b99ad9f930f5..581a5a855fc0 100644
--- a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
+++ b/x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="Athena Widgets with N*XTSTEP appearance"
HOMEPAGE="https://siag.nu/neXtaw/"
@@ -33,6 +33,13 @@ PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
)
+src_prepare() {
+ default
+
+ # Clang 16, bug #879779
+ eautoreconf
+}
+
src_configure() {
append-cflags -std=gnu89 # old codebase, incompatible with c2x
append-cflags -fno-strict-aliasing #864535