ports/mail/metamail/files/patch-bin_sun2mime
Baptiste Daroussin 54598e668d Prevent collision with getline(3)
While here, regenerate patches
2016-05-13 19:30:14 +00:00

11 lines
331 B
Text

--- bin/sun2mime.orig 1993-11-13 14:54:05 UTC
+++ bin/sun2mime
@@ -11,7 +11,7 @@ if [ x$METAMAIL_TMPDIR = x ]; then
fi
TMPFILE=${METAMAIL_TMPDIR}/suntomime.$$
-/bin/nawk '
+/usr/bin/awk '
BEGIN { printf("Content-type: multipart/mixed; boundary=--------\n\n")
RS=""; FS="\n"; mode="HEADER" }
mode == "HEADER" {