summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-10 15:53:24 -0400
committerSam James <sam@gentoo.org>2024-03-11 14:22:41 +0000
commite9ba22b61ce631b1f9ebf19c74ec04eef55dc509 (patch)
treef16326108e69a80fc3b21767656034b005450c3f /x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild
parentnet-misc/aria2: make sure elibtoolize is applied (diff)
downloadgentoo-e9ba22b61ce631b1f9ebf19c74ec04eef55dc509.tar.gz
gentoo-e9ba22b61ce631b1f9ebf19c74ec04eef55dc509.tar.bz2
gentoo-e9ba22b61ce631b1f9ebf19c74ec04eef55dc509.zip
x11-drivers/xf86-video-openchrome: mark LTO-unsafe, strict-aliasing unsafe
Freedesktop moved to gitlab and dropped support for previous project hosting methods to read-only. It appears openchrome never made the migration. May be dead -- it hasn't been developed in some time, the cgit HEAD is 4 years old and a non-default branch is "only" a year old. Not really sure where to report a bug to. ;) Closes: https://bugs.gentoo.org/864406 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild')
-rw-r--r--x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild
index 1219380c354b..05f4f4c71a97 100644
--- a/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild
+++ b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.6.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
XORG_DRI="always"
-inherit xorg-3
+inherit flag-o-matic xorg-3
DESCRIPTION="X.Org driver for VIA/S3G cards"
HOMEPAGE="https://www.freedesktop.org/wiki/Openchrome/"
@@ -26,6 +26,16 @@ DEPEND="
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/864406
+ # Upstream appears to have never migrated from the old bugzilla and
+ # cgit hosting over to gitlab.fd.o, no activity in a year, no way
+ # to report a bug I guess. Yay dead software.
+ #
+ # Do not trust for LTO either
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local XORG_CONFIGURE_OPTIONS=(
$(use_enable debug)
$(use_enable debug xv-debug)