1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/ftp/moxftp/files/patch-ab
Kevin Lo 4907e8e57c - Fix MASTER_SITES
- Support CFLAGS propely

PR: 22813
Submitted by: Ports Fury
2000-11-13 14:10:08 +00:00

15 lines
333 B
Plaintext

--- popen.c.orig Sat May 21 05:40:23 1994
+++ popen.c Sat Nov 11 08:26:42 2000
@@ -117,11 +117,7 @@
}
(void) close(pdes[1]);
}
-#if defined(SVR4)||defined(HAVE_UNISTD_H)||!defined(BSD)
- setpgrp();
-#else
setpgrp(0, getpid());
-#endif
execl("/bin/sh", "sh", "-c", program, NULL);
_exit(127);
/* NOTREACHED */