summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-02-01 20:51:56 +0100
committerSebastian Pipping <sping@gentoo.org>2020-02-01 20:53:07 +0100
commitbff35faa79ba247ccbb7532ed4809035dbe5a22b (patch)
tree2a2718505ce5c53a9af7947a36ba783a2e45bb17 /app-misc/spacenavd
parentsys-power/cpupower: update copyright start year (diff)
downloadgentoo-bff35faa79ba247ccbb7532ed4809035dbe5a22b.tar.gz
gentoo-bff35faa79ba247ccbb7532ed4809035dbe5a22b.tar.bz2
gentoo-bff35faa79ba247ccbb7532ed4809035dbe5a22b.zip
app-misc/spacenavd: Support GCC 10
Bug: https://bugs.gentoo.org/706966 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.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
index 86b0c8ae3156..bbf5b9cf9e04 100644
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
-inherit linux-info systemd toolchain-funcs udev
+inherit epatch linux-info systemd toolchain-funcs udev
MY_PN='spacenav'
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
@@ -23,6 +23,11 @@ pkg_setup() {
check_extra_config
}
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.7-gcc10.patch
+ default
+}
+
src_configure() {
econf \
--disable-debug \