summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-02-09 14:58:23 +0100
committerSebastian Pipping <sping@gentoo.org>2020-02-09 14:59:13 +0100
commita6b3d60e88ce863e4c5bd26ef81c8a9e9fc4d3d0 (patch)
tree435fa5c2a6c37b9b55467e5b9ae1099307e6b007 /app-misc/spacenavd
parentnet-misc/remmina: add -fno-common/gcc10 fix from upstream (diff)
downloadgentoo-a6b3d60e88ce863e4c5bd26ef81c8a9e9fc4d3d0.tar.gz
gentoo-a6b3d60e88ce863e4c5bd26ef81c8a9e9fc4d3d0.tar.bz2
gentoo-a6b3d60e88ce863e4c5bd26ef81c8a9e9fc4d3d0.zip
app-misc/spacenavd: Enforce -fcommon
Closes: https://bugs.gentoo.org/708648 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to 'app-misc/spacenavd')
-rw-r--r--app-misc/spacenavd/spacenavd-0.6.ebuild3
-rw-r--r--app-misc/spacenavd/spacenavd-0.7.1.ebuild3
-rw-r--r--app-misc/spacenavd/spacenavd-0.7.ebuild3
3 files changed, 6 insertions, 3 deletions
diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index bbf5b9cf9e0..bc0c390694e 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-inherit epatch linux-info systemd toolchain-funcs udev
+inherit flag-o-matic epatch linux-info systemd toolchain-funcs udev
MY_PN='spacenav'
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -37,6 +37,7 @@ src_configure() {
}
src_compile() {
+ append-cflags -fcommon # bug 708648
emake CC="$(tc-getCC)" \
add_cflags="${CFLAGS}" \
add_ldflags="${LDFLAGS}"
diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
index efe4773a4fc..e4ff48d27d9 100644
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit linux-info systemd toolchain-funcs udev
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
MY_PN='spacenav'
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -24,6 +24,7 @@ pkg_setup() {
}
src_configure() {
+ append-cflags -fcommon # bug 708648
econf \
--disable-debug \
--enable-hotplug \
diff --git a/app-misc/spacenavd/spacenavd-0.7.ebuild b/app-misc/spacenavd/spacenavd-0.7.ebuild
index 4c5a57fdbfa..e9fef0e6086 100644
--- a/app-misc/spacenavd/spacenavd-0.7.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.7.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit linux-info systemd toolchain-funcs udev
+inherit flag-o-matic linux-info systemd toolchain-funcs udev
MY_PN='spacenav'
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -37,6 +37,7 @@ src_configure() {
}
src_compile() {
+ append-cflags -fcommon # bug 708648
emake CC="$(tc-getCC)" \
add_cflags="${CFLAGS}" \
add_ldflags="${LDFLAGS}"