patch applied (packages/unix): NetBSD does not have support for
symbol versioning, so updated systen
Simon Marlow
marlowsd at gmail.com
Thu Jul 23 06:22:50 EDT 2009
Thu Jul 23 00:57:25 PDT 2009 Simon Marlow <marlowsd at gmail.com>
* NetBSD does not have support for symbol versioning, so updated systen
Ignore-this: 19a0cc5a913ba591074aab6c560ff5d8
functions need to be given a new name, and the header files contain
some __asm hackery in order to let the program call the correct function.
This mean that you need to use the header files in order to call the
correct system functions, which prevents things like "foreign import ccall" from working.
Ghc solves this with wrapper functions for some of the renamed functions,
but it has not been updated for newer versions of NetBSD that has recently
versioned some more functions.
The attached patches introduces wrapper functions for all currently
NetBSD-versioned functions used in libraries/unix. Solves ~20 testsuite
failures.
Contributed by: Krister Walfridsson <krister.walfridsson at gmail.com>
M ./System/Posix/Directory.hsc -1 +1
M ./System/Posix/Process.hsc -1 +1
M ./System/Posix/Time.hsc -1 +1
M ./System/Posix/Unistd.hsc -1 +1
M ./System/Posix/User.hsc -3 +3
M ./cbits/HsUnix.c +52
M ./include/HsUnix.h +31
View patch online:
http://darcs.haskell.org/packages/unix/_darcs/patches/20090723075725-12142-5b562223cc34ece617c44b79e62c590ff89f2e35.gz
More information about the Cvs-libraries
mailing list