add: nasm and ipsec-mb into vpp-ext-deps packaging
[vpp.git] / build / external / patches / nasm_2.13.03 / 0001-Fix-gcc-8-compilation.patch
1 From aa9324ae33870cd3b9d90251e380a6d704651a60 Mon Sep 17 00:00:00 2001
2 From: Damjan Marion <damarion@cisco.com>
3 Date: Mon, 17 Sep 2018 09:25:35 +0200
4 Subject: [PATCH] Fix gcc-8 compilation
5
6 Signed-off-by: Damjan Marion <damarion@cisco.com>
7 ---
8  include/nasmlib.h | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/include/nasmlib.h b/include/nasmlib.h
12 index 79e866b..5f07d77 100644
13 --- a/include/nasmlib.h
14 +++ b/include/nasmlib.h
15 @@ -191,7 +191,7 @@ int64_t readstrnum(char *str, int length, bool *warn);
16   * seg_init: Initialise the segment-number allocator.
17   * seg_alloc: allocate a hitherto unused segment number.
18   */
19 -void pure_func seg_init(void);
20 +int32_t pure_func seg_init(void);
21  int32_t pure_func seg_alloc(void);
22  
23  /*
24 -- 
25 2.17.1
26