freebsd-ports/games/lgeneral/files/patch-util_localize.h
Dmitry Marakasov 9ad6593a7c - Generate missing data files to fix runtime crash [1]
While here:
- Fix build with NLS disabled
- Fix LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Don't try to use X11 during build

PR:		206831 [1]
Submitted by:	cmangin@arobas.net [1]
MFH:		2016Q1 (blanket)
2016-02-04 00:03:30 +00:00

14 lines
338 B
C

--- util/localize.h.orig 2013-05-03 17:17:37 UTC
+++ util/localize.h
@@ -31,9 +31,10 @@
# include <config.h>
#endif
+#ifdef ENABLE_NLS
+
#include <libintl.h>
-#ifdef ENABLE_NLS
/** shorthand for fetching translation of default domain */
# define tr(s) gettext (s)
/** shorthand for fetching translation of specified domain */