hurd-noptrace
authorDebian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Sat, 2 May 2015 08:26:54 +0000 (10:26 +0200)
committerOndřej Surý <ondrej@debian.org>
Thu, 18 Dec 2025 21:19:25 +0000 (22:19 +0100)
Gbp-Pq: Name 0015-hurd-noptrace.patch

sapi/fpm/config.m4

index 4d4952eee86e7518e039eb34fa9626b0c5c10b15..44416008ad6f939fd7c06ebb912b2dc31cb0cb6b 100644 (file)
@@ -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;