public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Naohiro Aota" <naota@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/global/files/, dev-util/global/
Date: Tue, 11 Aug 2020 14:38:12 +0000 (UTC)	[thread overview]
Message-ID: <1597156633.7167133559531f56754e11d42e1d1873154fa21b.naota@gentoo> (raw)

commit:     7167133559531f56754e11d42e1d1873154fa21b
Author:     Naohiro Aota <naota <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 14:03:54 2020 +0000
Commit:     Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 14:37:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71671335

dev-util/global: add patch to build with gcc-10/-fno-common

Closes: https://bugs.gentoo.org/706890
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>

 .../global/files/global-6.6.4-fno-common.patch     | 44 ++++++++++++++++++++++
 dev-util/global/global-6.6.4.ebuild                |  7 +++-
 2 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/dev-util/global/files/global-6.6.4-fno-common.patch b/dev-util/global/files/global-6.6.4-fno-common.patch
new file mode 100644
index 00000000000..5a85cc12568
--- /dev/null
+++ b/dev-util/global/files/global-6.6.4-fno-common.patch
@@ -0,0 +1,44 @@
+--- a/libutil/args.c
++++ b/libutil/args.c
+@@ -39,7 +39,7 @@
+ #define ARGS_GFIND	3
+ #define ARGS_BOTH	4
+ 
+-int type;
++static int type;
+ const char **argslist;
+ FILE *ip;
+ GFIND *gp;
+--- a/libutil/convert.c
++++ b/libutil/convert.c
+@@ -46,7 +46,7 @@
+ 
+ #include "convert.h"
+ static int debug = 0;
+-int flags;
++static int flags;
+ 
+ /**
+  * This module converts records before output.
+--- a/libutil/gpathop.c
++++ b/libutil/gpathop.c
+@@ -49,7 +49,7 @@
+ static int opened;
+ static int created;
+ 
+-int openflags;
++static int openflags;
+ void
+ set_gpath_flags(int flags) {
+ 	openflags = flags;
+--- a/libutil/version.c
++++ b/libutil/version.c
+@@ -30,7 +30,7 @@
+ #endif
+ #include "version.h"
+ 
+-const char *copy = "\
++static const char *copy = "\
+ Copyright (c) %s Tama Communications Corporation\n\
+ License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl.html>\n\
+ This is free software; you are free to change and redistribute it.\n\

diff --git a/dev-util/global/global-6.6.4.ebuild b/dev-util/global/global-6.6.4.ebuild
index ebb9cd1c3af..48f5dfdc0a9 100644
--- a/dev-util/global/global-6.6.4.ebuild
+++ b/dev-util/global/global-6.6.4.ebuild
@@ -27,7 +27,7 @@ RDEPEND="
 		sys-devel/libtool:2
 	)"
 
-DEPEND="${DEPEND}
+DEPEND="${RDEPEND}
 	doc? (
 		app-text/texi2html
 		sys-apps/texinfo
@@ -35,7 +35,10 @@ DEPEND="${DEPEND}
 
 SITEFILE="50gtags-gentoo.el"
 
-PATCHES=( "${FILESDIR}/${PN}-6.2.9-tinfo.patch" )
+PATCHES=(
+	"${FILESDIR}/${PN}-6.2.9-tinfo.patch"
+	"${FILESDIR}/${PN}-6.6.4-fno-common.patch"
+)
 
 DOCS=( AUTHORS FAQ NEWS README THANKS )
 


                 reply	other threads:[~2020-08-11 14:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1597156633.7167133559531f56754e11d42e1d1873154fa21b.naota@gentoo \
    --to=naota@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