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>
This commit is contained in:
Eli Schwartz 2024-03-10 15:53:24 -04:00 committed by Sam James
parent 3bb9037a37
commit e9ba22b61c
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
1 changed files with 12 additions and 2 deletions

View File

@ -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)