summaryrefslogtreecommitdiff
path: root/print/LPRng-core/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'print/LPRng-core/patches/patch-aa')
-rw-r--r--print/LPRng-core/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/LPRng-core/patches/patch-aa b/print/LPRng-core/patches/patch-aa
new file mode 100644
index 00000000000..c18545bc007
--- /dev/null
+++ b/print/LPRng-core/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2005/11/08 19:25:12 tv Exp $
+
+--- src/common/initialize.c.orig 2004-09-24 16:19:57.000000000 -0400
++++ src/common/initialize.c
+@@ -54,7 +54,7 @@ void Initialize(int argc, char *argv[],
+ * environment
+ */
+ if( getuid() == ROOTUID || geteuid() == ROOTUID ){
+-#if defined(HAVE_UNSETENV)
++#if defined(HAVE_UNSETENV) && !defined(__INTERIX)
+ unsetenv("NLSPATH");
+ #elif defined(HAVE_SETENV)
+ setenv("NLSPATH","",1);