summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-03-02 20:26:15 +0100
committerSam James <sam@gentoo.org>2021-03-03 16:51:44 +0000
commitedbc7d5eff331c0f5684c59f27a7cac2123b2690 (patch)
tree30e0d2485ac2a933f6968d49d0f2704eb652a10e /sci-astronomy/predict
parentdev-db/spatialite-tools: tighten + improve spatialite dep (diff)
downloadgentoo-edbc7d5eff331c0f5684c59f27a7cac2123b2690.tar.gz
gentoo-edbc7d5eff331c0f5684c59f27a7cac2123b2690.tar.bz2
gentoo-edbc7d5eff331c0f5684c59f27a7cac2123b2690.zip
sci-astronomy/predict: Apply gcc-10 workaround
Closes: https://bugs.gentoo.org/756235 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-astronomy/predict')
-rw-r--r--sci-astronomy/predict/predict-2.2.3-r2.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sci-astronomy/predict/predict-2.2.3-r2.ebuild b/sci-astronomy/predict/predict-2.2.3-r2.ebuild
index df1044cfeb9e..a56e5e83ba46 100644
--- a/sci-astronomy/predict/predict-2.2.3-r2.ebuild
+++ b/sci-astronomy/predict/predict-2.2.3-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
-DEB_P=${PN}_${PV}
+DEB_P="${PN}_${PV}"
DEB_PR=3.1
DESCRIPTION="Satellite tracking and orbital prediction"
@@ -18,14 +18,15 @@ SLOT="0"
IUSE="doc gtk nls xforms xplanet"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-RDEPEND="sys-libs/ncurses:0=
+RDEPEND="
+ sys-libs/ncurses:0=
gtk? ( x11-libs/gtk+:2 )
xforms? ( x11-libs/xforms )
xplanet? ( x11-misc/xplanet[truetype] )"
DEPEND="${RDEPEND}"
PATCHES=(
- "${FILESDIR}"/"${P}"-earthtrack.patch
+ "${FILESDIR}"/${P}-earthtrack.patch
"${WORKDIR}"/${DEB_P}-${DEB_PR}.diff
)
@@ -74,6 +75,7 @@ AC_SEARCH_LIBS([dlclose], [dl])' \
}
src_configure() {
+ append-cflags -fcommon
if use gtk; then
cd "${S}"/clients/gsat-* || die
econf $(use_enable nls)