From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/xa/files/, dev-embedded/xa/
Date: Sun, 15 Mar 2020 21:36:00 +0000 (UTC) [thread overview]
Message-ID: <1584308137.da5dd26a142c51e5fa97c316e29302630e432de0.soap@gentoo> (raw)
commit: da5dd26a142c51e5fa97c316e29302630e432de0
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 15 21:35:37 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 21:35:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5dd26a
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 <soap <AT> gentoo.org>
dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch | 12 ++++++++++++
dev-embedded/xa/xa-2.3.10.ebuild | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch
new file mode 100644
index 00000000000..5b348643388
--- /dev/null
+++ b/dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch
@@ -0,0 +1,12 @@
+--- 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__ */
diff --git a/dev-embedded/xa/xa-2.3.10.ebuild b/dev-embedded/xa/xa-2.3.10.ebuild
index 0b4aabb5713..4c062c20057 100644
--- a/dev-embedded/xa/xa-2.3.10.ebuild
+++ b/dev-embedded/xa/xa-2.3.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,6 +13,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+PATCHES=( "${FILESDIR}"/${PN}-2.3.10-fix-gcc10-fno-common.patch )
+
src_compile() {
emake \
CC="$(tc-getCC)" \
next reply other threads:[~2020-03-15 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-15 21:36 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-08 7:44 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/xa/files/, dev-embedded/xa/ Ionen Wolkens
2019-11-18 23:35 James Le Cuirot
2019-11-18 23:35 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584308137.da5dd26a142c51e5fa97c316e29302630e432de0.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox