freebsd-ports/sysutils/goaccess/files/patch-src_goaccess.c
Adam Weinberger 5064a2cad4 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)
2019-01-03 21:08:51 +00:00

13 lines
313 B
C

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