pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/nasm



Module Name:    pkgsrc
Committed By:   jakllsch
Date:           Sun May 20 16:36:04 UTC 2018

Modified Files:
        pkgsrc/devel/nasm: distinfo
Added Files:
        pkgsrc/devel/nasm/patches: patch-include_nasmlib.h

Log Message:
Remove pure attribute on a function returning void to apease gcc-8.

>From nia in pkg/53293.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/nasm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/nasm/patches/patch-include_nasmlib.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/nasm/distinfo
diff -u pkgsrc/devel/nasm/distinfo:1.29 pkgsrc/devel/nasm/distinfo:1.30
--- pkgsrc/devel/nasm/distinfo:1.29     Sun Feb 25 16:41:56 2018
+++ pkgsrc/devel/nasm/distinfo  Sun May 20 16:36:03 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2018/02/25 16:41:56 adam Exp $
+$NetBSD: distinfo,v 1.30 2018/05/20 16:36:03 jakllsch Exp $
 
 SHA1 (nasm-2.13.03.tar.xz) = 1338ae8832bdbabd00a2b7ee3e39b8fd2f923ea0
 RMD160 (nasm-2.13.03.tar.xz) = 6ddd260f553e79d87f1642c9f9c7abfc1c6ec16d
@@ -6,3 +6,4 @@ SHA512 (nasm-2.13.03.tar.xz) = 24e6c72b8
 Size (nasm-2.13.03.tar.xz) = 806636 bytes
 SHA1 (patch-Makefile.in) = a85054afeb827b61b0db3352825088454e3013d4
 SHA1 (patch-doc_Makefile.in) = 20bb04e4fb00ec14d1e2bb31a3fe2497673132ef
+SHA1 (patch-include_nasmlib.h) = 2ec6f98dcb7a7583e5f8cd1051a97f70eae223f5

Added files:

Index: pkgsrc/devel/nasm/patches/patch-include_nasmlib.h
diff -u /dev/null pkgsrc/devel/nasm/patches/patch-include_nasmlib.h:1.1
--- /dev/null   Sun May 20 16:36:04 2018
+++ pkgsrc/devel/nasm/patches/patch-include_nasmlib.h   Sun May 20 16:36:04 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_nasmlib.h,v 1.1 2018/05/20 16:36:04 jakllsch Exp $
+
+error: 'pure' attribute on function returning 'void'
+
+--- include/nasmlib.h.orig     2018-02-07 21:40:15.000000000 +0000
++++ include/nasmlib.h
+@@ -191,7 +191,7 @@ int64_t readstrnum(char *str, int length
+  * 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);
+ 
+ /*



Home | Main Index | Thread Index | Old Index