nasm: Fix compilation with GCC 8
authorCarlos Santos <casantos@datacom.ind.br>
Sat, 5 May 2018 02:34:28 +0000 (23:34 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 5 May 2018 09:21:18 +0000 (11:21 +0200)
commit3aa64a0e828eca3669cbd1fa3fb9fef69dacf74e
tree13ffbbea53ff891fc444e2a2da6a9171cfff575b
parent8a38d7cc9a0b934997c5b7f3de924aae01c0741f
nasm: Fix compilation with GCC 8

host-nasm fails to compile with GCC 8:

In file included from ./include/nasm.h:46,
                 from asm/nasm.c:47:
./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes]
 void pure_func seg_init(void);
 ^~~~

Pull a patch from upstream that removes the stale declaration of
seg_init, which was eliminated a long time ago.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nasm/0001-nasmlib-Drop-unused-seg_init.patch [new file with mode: 0644]