From: Kali Developers <devel@kali.org>
Date: Fri, 18 Jun 2021 11:49:06 +0200
Subject: remove-bsd-option

Replaced the setpgrp(0, getpid()) with setpgrp() at line 1993. This is a BSD option that is of no use to us.
---
 sctpscan.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: sctpscan.git/sctpscan.c
===================================================================
--- sctpscan.git.orig/sctpscan.c
+++ sctpscan.git/sctpscan.c
@@ -1984,7 +1984,8 @@ int collab_report(struct app_s *app, cha
       else
 	{
 #ifdef SIGTSTP /* BSD */
-	  setpgrp(0, getpid());
+	  // setpgrp(0, getpid()); - this causes the build to fail in new versions of automake and since we don't support BSD, we can bypass the error
+          setpgrp();
 #else /* Sys V */
 	  setpgrp();
 	  signal(SIGHUP, SIG_IGN);
