1 |
commit: bff35faa79ba247ccbb7532ed4809035dbe5a22b |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 19:51:56 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 19:53:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff35faa |
7 |
|
8 |
app-misc/spacenavd: Support GCC 10 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/706966 |
11 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
|
14 |
app-misc/spacenavd/spacenavd-0.6.ebuild | 9 +++++++-- |
15 |
1 file changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild |
18 |
index 86b0c8ae315..bbf5b9cf9e0 100644 |
19 |
--- a/app-misc/spacenavd/spacenavd-0.6.ebuild |
20 |
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI="5" |
27 |
|
28 |
-inherit linux-info systemd toolchain-funcs udev |
29 |
+inherit epatch linux-info systemd toolchain-funcs udev |
30 |
|
31 |
MY_PN='spacenav' |
32 |
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" |
33 |
@@ -23,6 +23,11 @@ pkg_setup() { |
34 |
check_extra_config |
35 |
} |
36 |
|
37 |
+src_prepare() { |
38 |
+ epatch "${FILESDIR}"/${PN}-0.7-gcc10.patch |
39 |
+ default |
40 |
+} |
41 |
+ |
42 |
src_configure() { |
43 |
econf \ |
44 |
--disable-debug \ |