mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 17:20:29 -04:00
PR: 247830 Submitted by: Daniel Morante <daniel at morante.net> Approved by: maintainer (myself) Event: July 2020 Bugathon
13 lines
315 B
C
13 lines
315 B
C
--- src/goaccess.c.orig 2020-05-17 12:34:51 UTC
|
|
+++ src/goaccess.c
|
|
@@ -1175,8 +1175,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)
|