summaryrefslogtreecommitdiff
path: root/shells/rc
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-10-25 10:14:06 +0000
committerfrueauf <frueauf>1998-10-25 10:14:06 +0000
commit9fda849e214af7e366c8fcb3d3b541bdcfa22a07 (patch)
tree8e1fcdebc846d16c9b83ed983dedcb1b40ad101e /shells/rc
parent45afef38f162a79f27cac53637a34bad18dbec0b (diff)
downloadpkgsrc-9fda849e214af7e366c8fcb3d3b541bdcfa22a07.tar.gz
Enable "#define PROTECT_ENV", closes pr 6266 by Sean Doran.
Diffstat (limited to 'shells/rc')
-rw-r--r--shells/rc/patches/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/shells/rc/patches/patch-af b/shells/rc/patches/patch-af
new file mode 100644
index 00000000000..d559276ce93
--- /dev/null
+++ b/shells/rc/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 1998/10/25 10:14:06 frueauf Exp $
+
+--- config.h-dist-orig Mon May 25 20:12:57 1992
++++ config.h-dist Sun Oct 25 10:56:32 1998
+@@ -88,8 +88,8 @@
+ * define PROTECT_ENV for this hack. (Known offenders: every sh I have tried;
+ * SunOS (silently discards), NeXT (aborts with error), SGI (aborts with
+ * error), Ultrix (sh seems to work, sh5 aborts with error))
+-#define PROTECT_ENV
+ */
++#define PROTECT_ENV
+
+ /*
+ * Define the macro NOECHO if you wish to omit rc's echo builtin from the