summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-29 00:08:49 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-29 00:08:49 +0100
commitcbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f (patch)
tree743ee197a92672f1e995493718cf439b79003d5f /dev-lang/srf/files
parentapp-i18n/uim: fix build with gcc-10 (diff)
downloadgentoo-cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f.tar.gz
gentoo-cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f.tar.bz2
gentoo-cbbaf8e8744ecbfad9ee7159d00ea7d589e1de0f.zip
dev-lang/srf: fix build with gcc-10
Closes: https://bugs.gentoo.org/712054 Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang/srf/files')
-rw-r--r--dev-lang/srf/files/srf-1.0-fno-common.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-lang/srf/files/srf-1.0-fno-common.patch b/dev-lang/srf/files/srf-1.0-fno-common.patch
new file mode 100644
index 00000000000..abbd5c74191
--- /dev/null
+++ b/dev-lang/srf/files/srf-1.0-fno-common.patch
@@ -0,0 +1,8 @@
+--- a/builtins.h
++++ b/builtins.h
+@@ -20,4 +20,4 @@
+ */
+ #ident "$Id: builtins.h,v 1.4 2004/11/02 04:39:39 bediger Exp $"
+ void setup_builtins(void);
+-int primitive_call_counter;
++extern int primitive_call_counter;