aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2017-02-09 20:26:22 +0000
committerJohn Marino <marino@FreeBSD.org>2017-02-09 20:26:22 +0000
commitcd7f376bdfbb6c823ab87a9a0730f49740bec86c (patch)
tree08629352a7d51ea9cd7532523adb2df400e2ce2b /shells
parent29bc8b4ce9b6fa449c1357c5478c29e3c1e4e987 (diff)
downloadports-cd7f376bdfbb6c823ab87a9a0730f49740bec86c.tar.gz
ports-cd7f376bdfbb6c823ab87a9a0730f49740bec86c.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/ksh93/files/patch-src_cmd_INIT_iffe.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/shells/ksh93/files/patch-src_cmd_INIT_iffe.sh b/shells/ksh93/files/patch-src_cmd_INIT_iffe.sh
new file mode 100644
index 000000000000..73201de357ae
--- /dev/null
+++ b/shells/ksh93/files/patch-src_cmd_INIT_iffe.sh
@@ -0,0 +1,20 @@
+--- src/cmd/INIT/iffe.sh.orig 2013-03-06 16:33:17 UTC
++++ src/cmd/INIT/iffe.sh
+@@ -3414,7 +3414,7 @@ $src
+ (eval "$src") <&$nullin || e=1
+ ;;
+ mac*|nomac*)
+- if compile $cc -E $tmp.c <&$nullin >$tmp.i
++ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
+ then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i
+ else e=1
+ fi
+@@ -3705,7 +3705,7 @@ $inc
+ <<\"#define $v\">> $v <<\"/* native $v */\">>
+ <<\"#endif\">>
+ #endif" > $tmp.c
+- if compile $cc -E $tmp.c <&$nullin >$tmp.i
++ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
+ then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i > $tmp.t
+ if test -s $tmp.t
+ then success