summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/imlib/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/imlib/patches/patch-ac b/graphics/imlib/patches/patch-ac
new file mode 100644
index 00000000000..92cf76b00ef
--- /dev/null
+++ b/graphics/imlib/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.5 1999/04/06 15:38:00 agc Exp $
+
+Enable the native NLS on Solaris.
+
+--- utils/imlib_config.c 1999/04/06 13:27:10 1.1
++++ utils/imlib_config.c 1999/04/06 13:28:56
+@@ -1,4 +1,10 @@
+ #include <config.h>
++
++/* On Solaris, enable the native nls */
++#if defined(__sun__) && defined(__svr4__)
++#define ENABLE_NLS 1
++#endif
++
+ #ifndef GNOMELOCALEDIR
+ #define GNOMELOCALEDIR "/usr/share/locale"
+ #endif