openbsd-ports/lang/ghc/patches/patch-libraries_unix_include_execvpe_h

16 lines
491 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libraries_unix_include_execvpe_h,v 1.1 2012/03/23 20:17:06 kili Exp $
Don't build the included execvpe().
--- libraries/unix/include/execvpe.h.orig Mon Jun 13 19:10:12 2011
+++ libraries/unix/include/execvpe.h Fri Mar 23 18:52:34 2012
@@ -18,8 +18,5 @@
#include <sys/wait.h>
#endif
-#if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(_WIN32)
-extern int execvpe(char *name, char *const argv[], char **envp);
extern void pPrPr_disableITimers (void);
-#endif