summaryrefslogtreecommitdiff
path: root/sysutils/goaccess/files/patch-src_goaccess.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2019-01-03 21:08:51 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2019-01-03 21:08:51 +0000
commit5064a2cad433480faa6c6cfd302b01f51813b415 (patch)
tree5c2e528cf14b6bc781fda6d7003329d2200c363d /sysutils/goaccess/files/patch-src_goaccess.c
parentmail/imapfilter: Update version 2.6.11=>2.6.12 (diff)
Update goaccess to 1.3.
With this release: - The config file has moved from PREFIX/etc to ETCDIR - The web assets are no longer installed separately (they are compiled into the binary so this should not affect end-users) - NLS support (and OPTION) added pkg-message and UPDATING entry added for conf file location change. Changes: https://goaccess.io/release-notes PR: 234047 Approved by: maintainer (sbz)
Notes
Notes: svn path=/head/; revision=489224
Diffstat (limited to 'sysutils/goaccess/files/patch-src_goaccess.c')
-rw-r--r--sysutils/goaccess/files/patch-src_goaccess.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/goaccess/files/patch-src_goaccess.c b/sysutils/goaccess/files/patch-src_goaccess.c
new file mode 100644
index 000000000000..5674a3134797
--- /dev/null
+++ b/sysutils/goaccess/files/patch-src_goaccess.c
@@ -0,0 +1,13 @@
+--- src/goaccess.c.orig 2018-12-16 01:14:48 UTC
++++ src/goaccess.c
+@@ -1202,8 +1202,10 @@ set_locale (void)
+ char *loc_ctype;
+
+ setlocale (LC_ALL, "");
++#ifdef ENABLE_NLS
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
++#endif
+
+ loc_ctype = getenv ("LC_CTYPE");
+ if (loc_ctype != NULL)