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(-)

diff --git a/sctpscan.c b/sctpscan.c
index 7d21482..3b3d8bf 100755
--- a/sctpscan.c
+++ b/sctpscan.c
@@ -1989,7 +1989,8 @@ int collab_report(struct app_s *app, char *present_on_ip, int port, char *sctp_c
       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);
