summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-04-06 15:38:00 +0000
committeragc <agc@pkgsrc.org>1999-04-06 15:38:00 +0000
commit66552ba6d8470f131b6a143449d14fd10292412b (patch)
tree5ad879f29ae4f764f52ad397eeed0470b5bb3547 /graphics/imlib
parent09e3daf77fffb04bd5588dab5067bd04b867bb26 (diff)
downloadpkgsrc-66552ba6d8470f131b6a143449d14fd10292412b.tar.gz
On Solaris, enable the native nls.
Diffstat (limited to 'graphics/imlib')
-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