summaryrefslogtreecommitdiffstats
path: root/build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-21 12:27:45 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-09-21 17:51:25 +0000
commit561f2730e8b137cd4e7132b05dab49f6e768ae23 (patch)
tree102d8db51c4d9ea5ecd7d355cdf9fdeb12394539 /build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch
parentd974cd4262238168db65b9d837066f7c7511a9c5 (diff)
add: nasm and ipsec-mb into vpp-ext-deps packaging
Change-Id: Ie5d85af84ae0d8b15edf5962213ed1b1953bee2f Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch')
-rw-r--r--build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch b/build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch
new file mode 100644
index 00000000000..73b59a5dc7b
--- /dev/null
+++ b/build/external/patches/nasm_2.13.03/0001-Fix-gcc-8-compilation.patch
@@ -0,0 +1,26 @@
+From aa9324ae33870cd3b9d90251e380a6d704651a60 Mon Sep 17 00:00:00 2001
+From: Damjan Marion <damarion@cisco.com>
+Date: Mon, 17 Sep 2018 09:25:35 +0200
+Subject: [PATCH] Fix gcc-8 compilation
+
+Signed-off-by: Damjan Marion <damarion@cisco.com>
+---
+ include/nasmlib.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/nasmlib.h b/include/nasmlib.h
+index 79e866b..5f07d77 100644
+--- a/include/nasmlib.h
++++ b/include/nasmlib.h
+@@ -191,7 +191,7 @@ int64_t readstrnum(char *str, int length, bool *warn);
+ * seg_init: Initialise the segment-number allocator.
+ * seg_alloc: allocate a hitherto unused segment number.
+ */
+-void pure_func seg_init(void);
++int32_t pure_func seg_init(void);
+ int32_t pure_func seg_alloc(void);
+
+ /*
+--
+2.17.1
+