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, 11 Apr 2024 20:30:26 +0000 (22:30 +0200)
Gbp-Pq: Name 0016-hurd-noptrace.patch

sapi/fpm/config.m4

index e3d52084c8204ce8f6c017fa502d5f45fd116372..b9b4dda4312afc2c8002bd6f9b912291f5e4b062 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;