openbsd-ports/lang/ghc/patches/patch-libraries_process_include_runProcess_h
kili b2e79ee47e Update to ghc-7.4.2, but keep it marked as broken (and not only for amd64).
Most of the -nopie changes are from pascal@ (thanks); I only had to
merge them for ghc-7.4 and tweak configure and mk/config.mk.in.
2012-09-02 19:53:46 +00:00

22 lines
473 B
Plaintext

$OpenBSD: patch-libraries_process_include_runProcess_h,v 1.2 2012/09/02 19:53:46 kili Exp $
vfork is for terrorists
--- libraries/process/include/runProcess.h.orig Wed Feb 1 19:11:09 2012
+++ libraries/process/include/runProcess.h Sat Jun 9 21:41:45 2012
@@ -25,14 +25,6 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_VFORK_H
-#include <vfork.h>
-#endif
-
-#ifdef HAVE_VFORK
-#define fork vfork
-#endif
-
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif