svn commit: r382323 - head/mail/mailx/files

John Marino marino at FreeBSD.org
Thu Mar 26 14:47:43 UTC 2015


Author: marino
Date: Thu Mar 26 14:47:41 2015
New Revision: 382323
URL: https://svnweb.freebsd.org/changeset/ports/382323
QAT: https://qat.redports.org/buildarchive/r382323/

Log:
  mail/mailx: set zero arg to sendmail, not send-mail
  
  This was probably a decade old oversight, but mail has spawned as
  "sendmail" but set with first argument as "send-mail", requiring mail
  wrapper to know both sendmail and send-mail.  The path and zero argument
  should match, so let's do that here.
  
  Taken from:	DragonFly

Added:
  head/mail/mailx/files/patch-names.c   (contents, props changed)

Added: head/mail/mailx/files/patch-names.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailx/files/patch-names.c	Thu Mar 26 14:47:41 2015	(r382323)
@@ -0,0 +1,11 @@
+--- names.c.intermediate	2015-03-09 09:59:41 UTC
++++ names.c
+@@ -502,7 +502,7 @@ unpack(np)
+ 		extra++;
+ 	top = (char **) salloc((t + extra) * sizeof *top);
+ 	ap = top;
+-	*ap++ = "send-mail";
++	*ap++ = "sendmail";
+ #if MAILX
+ 	*ap++ = "-t";
+ #else


More information about the svn-ports-head mailing list