--- /usr/portage/net-wireless/aircrack-ng/files/process-group-leader.c 2006-10-30 22:31:16.000000000 +0100 +++ process-group-leader.c 2007-03-17 05:13:54.000000000 +0100 @@ -8,8 +8,13 @@ signal (SIGQUIT, SIG_IGN); signal (SIGTERM, SIG_IGN); - setpgrp (); - + + #if defined(__FreeBSD__) + setpgrp (0,getpid()); + #else + setpgrp(); + #endif + pid=fork (); if (pid == 0) { int status;