forked from Lainports/freebsd-ports
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)
13 lines
313 B
C
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)
|