summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2020-03-22 22:45:00 +0000
committerroy <roy@pkgsrc.org>2020-03-22 22:45:00 +0000
commit142921fc440ebcca754961dc82a8ace293b943be (patch)
tree9135bb6b3b5c99c0f7df32fac7a06e17c5caaa39 /www
parentc95ea72fd14b5ebea4f6077676cbbdd506b738e4 (diff)
downloadpkgsrc-142921fc440ebcca754961dc82a8ace293b943be.tar.gz
goaccess: Fix build by including stdarg.h
Other source files include this, so this should be a safe change.
Diffstat (limited to 'www')
-rw-r--r--www/goaccess/distinfo4
-rw-r--r--www/goaccess/patches/patch-src_error.c14
-rw-r--r--www/goaccess/patches/patch-src_json.c14
3 files changed, 31 insertions, 1 deletions
diff --git a/www/goaccess/distinfo b/www/goaccess/distinfo
index 72e39c28bfb..20e9fc4470e 100644
--- a/www/goaccess/distinfo
+++ b/www/goaccess/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2019/08/23 01:48:00 schmonz Exp $
+$NetBSD: distinfo,v 1.16 2020/03/22 22:45:00 roy Exp $
SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4
RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37
@@ -7,3 +7,5 @@ Size (goaccess-1.3.tar.gz) = 541374 bytes
SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0
SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
+SHA1 (patch-src_error.c) = 522ea4010c86914715cdb40c1ac33045d4342daa
+SHA1 (patch-src_json.c) = ab8575a654299a5d08de635ca5bb71093419ca8e
diff --git a/www/goaccess/patches/patch-src_error.c b/www/goaccess/patches/patch-src_error.c
new file mode 100644
index 00000000000..abcf13fb210
--- /dev/null
+++ b/www/goaccess/patches/patch-src_error.c
@@ -0,0 +1,14 @@
+$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>
diff --git a/www/goaccess/patches/patch-src_json.c b/www/goaccess/patches/patch-src_json.c
new file mode 100644
index 00000000000..cce212b9da7
--- /dev/null
+++ b/www/goaccess/patches/patch-src_json.c
@@ -0,0 +1,14 @@
+$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>