3d49c90572
GHC: The Glasgow Haskell Compiler. The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell 98 (http://www.haskell.org). GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell, including concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries. This package provides the 8.10.x release series.
17 lines
587 B
C
17 lines
587 B
C
$NetBSD: patch-libraries_unix_include_execvpe.h,v 1.1 2021/02/09 13:16:24 ryoon Exp $
|
|
|
|
Don't conflict with builtin execvpe(3).
|
|
|
|
--- libraries/unix/include/execvpe.h.orig 2016-02-04 16:16:38.000000000 +0000
|
|
+++ libraries/unix/include/execvpe.h
|
|
@@ -15,8 +15,10 @@ __hsunix_execvpe(const char *name, char
|
|
#include "HsUnixConfig.h"
|
|
#if HAVE_EXECVPE
|
|
# include <unistd.h>
|
|
+# if !defined(execvpe) && !HAVE_DECL_EXECVPE
|
|
extern int
|
|
execvpe(const char *name, char *const argv[], char *const envp[]);
|
|
+# endif
|
|
#else
|
|
# define execvpe(name,argv,envp) __hsunix_execvpe(name,argv,envp)
|
|
#endif
|