hurd-noptrace
authorDebian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Sat, 2 May 2015 08:26:54 +0000 (10:26 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Jul 2023 18:02:54 +0000 (18:02 +0000)
Gbp-Pq: Name 0016-hurd-noptrace.patch

sapi/fpm/config.m4

index da09511a0deb115aba82db55ad5328069b2dcdfb..425e28d70f7421729df604eb4ab5b157f0b1e629 100644 (file)
@@ -165,6 +165,11 @@ AC_DEFUN([AC_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;