summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-05-03 22:15:30 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-05-03 22:15:39 +0100
commit5b594e538e38230b85a5f0164d1d8b90d137f81b (patch)
tree1fc2271f6d416649394ac915892d8de74c27044f /dev-lang/nasm/files
parentnet-libs/gnutls-3.5.18: arm64 stable (bug #653578) (diff)
downloadgentoo-5b594e538e38230b85a5f0164d1d8b90d137f81b.tar.gz
gentoo-5b594e538e38230b85a5f0164d1d8b90d137f81b.tar.bz2
gentoo-5b594e538e38230b85a5f0164d1d8b90d137f81b.zip
dev-lang/nasm: fix against gcc-8, bug #654716
While at it bump up to 2.13.03. Reported-by: Mike Lothian Closes: https://bugs.gentoo.org/654716 Package-Manager: Portage-2.3.33, Repoman-2.3.9
Diffstat (limited to 'dev-lang/nasm/files')
-rw-r--r--dev-lang/nasm/files/nasm-2.13.01-gcc-8.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/nasm/files/nasm-2.13.01-gcc-8.patch b/dev-lang/nasm/files/nasm-2.13.01-gcc-8.patch
new file mode 100644
index 00000000000..3b703ec6e46
--- /dev/null
+++ b/dev-lang/nasm/files/nasm-2.13.01-gcc-8.patch
@@ -0,0 +1,25 @@
+From 5eb1838b4d3752fd863d19442943983a2a5ee87c Mon Sep 17 00:00:00 2001
+From: Cyrill Gorcunov <gorcunov@gmail.com>
+Date: Sat, 10 Feb 2018 00:33:41 +0300
+Subject: [PATCH] nasmlib: Drop unused seg_init
+
+The helper has been eliminated in 2c4a4d5810d0a59b033a07876a2648ef5d4c2859
+
+https://bugzilla.nasm.us/show_bug.cgi?id=3392461
+
+Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
+---
+ include/nasmlib.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/include/nasmlib.h b/include/nasmlib.h
+index 79e866b5..fee1b5ea 100644
+--- a/include/nasmlib.h
++++ b/include/nasmlib.h
+@@ -191 +190,0 @@ int64_t readstrnum(char *str, int length, bool *warn);
+- * seg_init: Initialise the segment-number allocator.
+@@ -194 +192,0 @@ int64_t readstrnum(char *str, int length, bool *warn);
+-void pure_func seg_init(void);
+--
+2.17.0
+