pkgsrc/lang/ghc/patches/patch-an
kristerw 2e9dd53236 Use the correct renamed symbols for opendir, unsetenv, and times.
Solves PR pkg/38263.

Bump PKGREVISION.
2008-03-24 22:40:23 +00:00

13 lines
453 B
Text

$NetBSD: patch-an,v 1.3 2008/03/24 22:40:23 kristerw Exp $
--- libraries/unix/System/Posix/Env.hsc.orig 2008-03-24 17:09:39.000000000 +0100
+++ libraries/unix/System/Posix/Env.hsc 2008-03-24 17:10:41.000000000 +0100
@@ -81,7 +81,7 @@
unsetEnv name = withCString name c_unsetenv
-foreign import ccall unsafe "unsetenv"
+foreign import ccall unsafe "__hsunix_unsetenv"
c_unsetenv :: CString -> IO ()
#else
unsetEnv name = putEnv (name ++ "=")