pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/goaccess goaccess: Fix build by including stdarg.h



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bc9f1d6e7d9
branches:  trunk
changeset: 413901:1bc9f1d6e7d9
user:      roy <roy%pkgsrc.org@localhost>
date:      Sun Mar 22 22:45:00 2020 +0000

description:
goaccess: Fix build by including stdarg.h

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

diffstat:

 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 deletions(-)

diffs (51 lines):

diff -r 4352f7650e68 -r 1bc9f1d6e7d9 www/goaccess/distinfo
--- a/www/goaccess/distinfo     Sun Mar 22 22:42:13 2020 +0000
+++ b/www/goaccess/distinfo     Sun Mar 22 22:45:00 2020 +0000
@@ -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 @@
 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 -r 4352f7650e68 -r 1bc9f1d6e7d9 www/goaccess/patches/patch-src_error.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/goaccess/patches/patch-src_error.c    Sun Mar 22 22:45:00 2020 +0000
@@ -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 -r 4352f7650e68 -r 1bc9f1d6e7d9 www/goaccess/patches/patch-src_json.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/goaccess/patches/patch-src_json.c     Sun Mar 22 22:45:00 2020 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index