Sun Mar 22 22:45:00 2020 UTC ()
goaccess: Fix build by including stdarg.h

Other source files include this, so this should be a safe change.


(roy)
diff -r1.15 -r1.16 pkgsrc/www/goaccess/distinfo
diff -r0 -r1.1 pkgsrc/www/goaccess/patches/patch-src_error.c
diff -r0 -r1.1 pkgsrc/www/goaccess/patches/patch-src_json.c

cvs diff -r1.15 -r1.16 pkgsrc/www/goaccess/distinfo (expand / switch to unified diff)

--- pkgsrc/www/goaccess/distinfo 2019/08/23 01:48:00 1.15
+++ pkgsrc/www/goaccess/distinfo 2020/03/22 22:45:00 1.16
@@ -1,9 +1,11 @@ @@ -1,9 +1,11 @@
1$NetBSD: distinfo,v 1.15 2019/08/23 01:48:00 schmonz Exp $ 1$NetBSD: distinfo,v 1.16 2020/03/22 22:45:00 roy Exp $
2 2
3SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4 3SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4
4RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37 4RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37
5SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1 5SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1
6Size (goaccess-1.3.tar.gz) = 541374 bytes 6Size (goaccess-1.3.tar.gz) = 541374 bytes
7SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0 7SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0
8SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e 8SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
9SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79 9SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
 10SHA1 (patch-src_error.c) = 522ea4010c86914715cdb40c1ac33045d4342daa
 11SHA1 (patch-src_json.c) = ab8575a654299a5d08de635ca5bb71093419ca8e

File Added: pkgsrc/www/goaccess/patches/Attic/patch-src_error.c
$NetBSD: patch-src_error.c,v 1.1 2020/03/22 22:45:00 roy Exp $

va_list requires stdarg.h

--- src/error.c.orig	2020-03-22 22:27:42.074306097 +0000
+++ src/error.c	2020-03-22 22:28:19.609993187 +0000
@@ -32,6 +32,7 @@
 #include <config.h>
 #endif
 
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <signal.h>

File Added: pkgsrc/www/goaccess/patches/Attic/patch-src_json.c
$NetBSD: patch-src_json.c,v 1.1 2020/03/22 22:45:00 roy Exp $

va_list requires stdarg.h

--- src/json.c.orig	2020-03-22 22:28:55.816959313 +0000
+++ src/json.c	2020-03-22 22:29:26.309825982 +0000
@@ -34,6 +34,7 @@
 
 #include <errno.h>
 #include <ctype.h>
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>