From 142921fc440ebcca754961dc82a8ace293b943be Mon Sep 17 00:00:00 2001 From: roy Date: Sun, 22 Mar 2020 22:45:00 +0000 Subject: goaccess: Fix build by including stdarg.h Other source files include this, so this should be a safe change. --- www/goaccess/distinfo | 4 +++- www/goaccess/patches/patch-src_error.c | 14 ++++++++++++++ www/goaccess/patches/patch-src_json.c | 14 ++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 www/goaccess/patches/patch-src_error.c create mode 100644 www/goaccess/patches/patch-src_json.c (limited to 'www') 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 + #endif + ++#include + #include + #include + #include 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 + #include ++#include + #include + #include + #include -- cgit v1.2.3