summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/opencpn/opencpn-5.8.4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-geosciences/opencpn/opencpn-5.8.4.ebuild b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
index 6f8e39b49c29..816c23d16687 100644
--- a/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
+++ b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER="3.2-gtk3"
-inherit wxwidgets xdg cmake toolchain-funcs
+inherit flag-o-matic wxwidgets xdg cmake toolchain-funcs
DOC_VERSION="4.8.2.0"
@@ -53,6 +53,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927484
+ # https://github.com/OpenCPN/OpenCPN/issues/3782
+ filter-lto
+
use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. )
setup-wxwidgets