diff options
Diffstat (limited to 'sysutils/goaccess/files/patch-src_labels.h')
| -rw-r--r-- | sysutils/goaccess/files/patch-src_labels.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/goaccess/files/patch-src_labels.h b/sysutils/goaccess/files/patch-src_labels.h new file mode 100644 index 000000000000..88f5cfed5489 --- /dev/null +++ b/sysutils/goaccess/files/patch-src_labels.h @@ -0,0 +1,20 @@ +--- src/labels.h.orig 2018-11-23 02:16:45 UTC ++++ src/labels.h +@@ -30,11 +30,17 @@ + #ifndef LABELS_H_INCLUDED + #define LABELS_H_INCLUDED + ++#ifdef ENABLE_NLS + #include <libintl.h> + + #define _(String) dgettext (PACKAGE , String) + #define gettext_noop(String) String + #define N_(String) gettext_noop (String) ++#else ++#define _(String) String ++#define gettext_noop(String) String ++#define N_(String) String ++#endif + + /* global lang attribute */ + #define DOC_LANG _( "en") |
