$OpenBSD: patch-libraries_unix_cbits_execvpe_c,v 1.1 2012/03/23 20:17:06 kili Exp $ Don't build the included execvpe(). --- libraries/unix/cbits/execvpe.c.orig Mon Jun 13 19:10:12 2011 +++ libraries/unix/cbits/execvpe.c Fri Mar 23 18:52:49 2012 @@ -9,7 +9,7 @@ #include "Rts.h" #endif -#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) /* to the end */ +#if 0 /* Evidently non-Posix. */ /* #include "PosixSource.h" */ @@ -157,6 +157,7 @@ execvpe(char *name, char *const argv[], char **envp) free(buf); return (-1); } +#endif /* Copied verbatim from ghc/lib/std/cbits/system.c. */ @@ -167,4 +168,3 @@ void pPrPr_disableITimers (void) #endif } -#endif