X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php-use-prog_sendmail.patch;h=66fc9697dcd714ac6f52b153e065162294b3950a;hb=d71b145019b003d404dd46ad5d7830684f3d591c;hp=5f4af4eebfc3606454b60706d15aff77eb7192ac;hpb=b80886ee4fa2379360c366ec97b6813265e0ce5c;p=packages%2Fphp.git diff --git a/php-use-prog_sendmail.patch b/php-use-prog_sendmail.patch index 5f4af4e..66fc969 100644 --- a/php-use-prog_sendmail.patch +++ b/php-use-prog_sendmail.patch @@ -1,14 +1,14 @@ ---- php-5.2.6/acinclude.m4~ 2008-10-15 13:44:25.000000000 +0300 -+++ php-5.2.6/acinclude.m4 2008-10-15 13:55:05.359850285 +0300 -@@ -2037,8 +2037,10 @@ +--- php-7.3.19/acinclude.m4.orig 2020-06-26 16:36:23.693451000 +0200 ++++ php-7.3.19/acinclude.m4 2020-06-26 16:39:27.844451000 +0200 +@@ -2083,8 +2083,10 @@ dnl Search for the sendmail binary dnl AC_DEFUN([PHP_PROG_SENDMAIL], [ - PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib -- AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH) +- AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) + if test -z "$PROG_SENDMAIL"; then + PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib -+ AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH) ++ AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) + fi PHP_SUBST(PROG_SENDMAIL) ])