Skip to content

Commit da5dd26

Browse files
committed
dev-embedded/xa: Fix building with -fno-common
Closes: https://bugs.gentoo.org/710988 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <[email protected]>
1 parent 6549af4 commit da5dd26

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- a/src/xap.h
2+
+++ b/src/xap.h
3+
@@ -35,7 +35,7 @@
4+
long gm_ppm(void);
5+
long ga_ppm(void);
6+
7+
-Datei *filep;
8+
-char s[MAXLINE];
9+
+extern Datei *filep;
10+
+extern char s[MAXLINE];
11+
12+
#endif /* __XA65_XAP_H__ */

dev-embedded/xa/xa-2.3.10.ebuild

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -13,6 +13,8 @@ LICENSE="GPL-2"
1313
SLOT="0"
1414
KEYWORDS="~amd64 ~x86"
1515

16+
PATCHES=( "${FILESDIR}"/${PN}-2.3.10-fix-gcc10-fno-common.patch )
17+
1618
src_compile() {
1719
emake \
1820
CC="$(tc-getCC)" \

0 commit comments

Comments
 (0)