Closes: https://bugs.gentoo.org/710988
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
--- /dev/null
+--- a/src/xap.h
++++ b/src/xap.h
+@@ -35,7 +35,7 @@
+ long gm_ppm(void);
+ long ga_ppm(void);
+
+-Datei *filep;
+-char s[MAXLINE];
++extern Datei *filep;
++extern char s[MAXLINE];
+
+ #endif /* __XA65_XAP_H__ */
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
SLOT="0"
KEYWORDS="~amd64 ~x86"
+PATCHES=( "${FILESDIR}"/${PN}-2.3.10-fix-gcc10-fno-common.patch )
+
src_compile() {
emake \
CC="$(tc-getCC)" \