]> TLD Linux GIT Repositories - packages/php.git/blobdiff - php-use-prog_sendmail.patch
- Up to 7.4.33
[packages/php.git] / php-use-prog_sendmail.patch
index 5f4af4eebfc3606454b60706d15aff77eb7192ac..b14da3333d1b1c2a3374645961ee2b6bc1b76b9f 100644 (file)
@@ -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 @@
- dnl Search for the sendmail binary
+--- php-7.4.12/build/php.m4~   2020-11-09 14:38:20.000000000 +0200
++++ php-7.4.12/build/php.m4    2020-11-09 14:39:53.522036584 +0200
+@@ -1731,8 +1731,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)
  ])