mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-libs/neXtaw: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/879779 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user