diff --git a/srcpkgs/nasm/patches/gcc81-pure_func.patch b/srcpkgs/nasm/patches/gcc81-pure_func.patch new file mode 100644 index 00000000000..b5c24d59f24 --- /dev/null +++ b/srcpkgs/nasm/patches/gcc81-pure_func.patch @@ -0,0 +1,11 @@ +--- include/nasmlib.h 2017-11-29 20:44:08.000000000 +0100 ++++ include/nasmlib.h 2018-05-22 11:26:47.909787252 +0200 +@@ -191,7 +191,7 @@ + * seg_init: Initialise the segment-number allocator. + * seg_alloc: allocate a hitherto unused segment number. + */ +-void pure_func seg_init(void); ++void seg_init(void); + int32_t pure_func seg_alloc(void); + + /*