pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/nasm Remove pure attribute on a function returni...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc11a3134974
branches: trunk
changeset: 380726:fc11a3134974
user: jakllsch <jakllsch%pkgsrc.org@localhost>
date: Sun May 20 16:36:03 2018 +0000
description:
Remove pure attribute on a function returning void to apease gcc-8.
>From nia in pkg/53293.
diffstat:
devel/nasm/distinfo | 3 ++-
devel/nasm/patches/patch-include_nasmlib.h | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 708e8eb6bfdf -r fc11a3134974 devel/nasm/distinfo
--- a/devel/nasm/distinfo Sun May 20 15:03:57 2018 +0000
+++ b/devel/nasm/distinfo Sun May 20 16:36:03 2018 +0000
@@ -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 @@
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
diff -r 708e8eb6bfdf -r fc11a3134974 devel/nasm/patches/patch-include_nasmlib.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nasm/patches/patch-include_nasmlib.h Sun May 20 16:36:03 2018 +0000
@@ -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