summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2020-08-11 23:03:54 +0900
committerNaohiro Aota <naota@gentoo.org>2020-08-11 23:37:13 +0900
commit7167133559531f56754e11d42e1d1873154fa21b (patch)
treeb9ef9e7eba5cc9249006bb3c9409bbecf3444e09 /dev-util/global/files
parentdev-libs/libgnt: Homepage has changed (diff)
downloadgentoo-7167133559531f56754e11d42e1d1873154fa21b.tar.gz
gentoo-7167133559531f56754e11d42e1d1873154fa21b.tar.bz2
gentoo-7167133559531f56754e11d42e1d1873154fa21b.zip
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@gentoo.org>
Diffstat (limited to 'dev-util/global/files')
-rw-r--r--dev-util/global/files/global-6.6.4-fno-common.patch44
1 files changed, 44 insertions, 0 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 000000000000..5a85cc125683
--- /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\