summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authoragc <agc>1999-04-06 15:38:00 +0000
committeragc <agc>1999-04-06 15:38:00 +0000
commit90a45490ba86c0c3e2e288e4ef49f5fdd389c325 (patch)
tree5ad879f29ae4f764f52ad397eeed0470b5bb3547 /graphics/imlib
parente4abcac5fff89f5ccab8c0ef38fbe0f417cfaac3 (diff)
downloadpkgsrc-90a45490ba86c0c3e2e288e4ef49f5fdd389c325.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