From: Debian PHP Maintainers Date: Sat, 2 May 2015 08:26:54 +0000 (+0200) Subject: hurd-noptrace X-Git-Tag: archive/raspbian/8.4.11-1+rpi1~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4bb99210d75cc0485d0c9b0bff089641b0216b42;p=php8.4.git hurd-noptrace Gbp-Pq: Name 0015-hurd-noptrace.patch --- diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4 index 4d4952ee..44416008 100644 --- a/sapi/fpm/config.m4 +++ b/sapi/fpm/config.m4 @@ -85,6 +85,11 @@ AC_DEFUN([PHP_FPM_TRACE], pid_t child; int status; + /* broken ptrace on Hurd, avoid hanging */ + #ifdef __GNU__ + return 10; + #endif + if ( (child = fork()) ) { /* parent */ int ret = 0;