| 1 | |
|---|
| 2 | New patches: |
|---|
| 3 | |
|---|
| 4 | [Make the code compatible with the stricter labelled-field parsing rules |
|---|
| 5 | Ian Lynagh <igloo@earth.li>**20090725212029] { |
|---|
| 6 | hunk ./System/Posix/IO.hsc 212 |
|---|
| 7 | - = openFd name WriteOnly (Just mode) defaultFileFlags{ trunc=True } |
|---|
| 8 | + = openFd name WriteOnly (Just mode) (defaultFileFlags{ trunc=True }) |
|---|
| 9 | hunk ./System/Posix/IO.hsc 241 |
|---|
| 10 | -handleToFd h = withHandle "handleToFd" h $ \ h_@Handle__{haType=_,..} -> do |
|---|
| 11 | +handleToFd h = withHandle "handleToFd" h $ \ h_@(Handle__{haType=_,..}) -> do |
|---|
| 12 | hunk ./System/Posix/Resource.hsc 81 |
|---|
| 13 | -setResourceLimit res ResourceLimits{softLimit=soft,hardLimit=hard} = do |
|---|
| 14 | +setResourceLimit res (ResourceLimits{softLimit=soft,hardLimit=hard}) = do |
|---|
| 15 | hunk ./System/Posix/Signals.hsc 428 |
|---|
| 16 | - return SigChldInfo { siginfoPid = pid, |
|---|
| 17 | - siginfoUid = uid, |
|---|
| 18 | - siginfoStatus = pstat } |
|---|
| 19 | + return $ SigChldInfo { siginfoPid = pid, |
|---|
| 20 | + siginfoUid = uid, |
|---|
| 21 | + siginfoStatus = pstat } |
|---|
| 22 | hunk ./System/Posix/Signals.hsc 433 |
|---|
| 23 | - return |
|---|
| 24 | + return $ |
|---|
| 25 | } |
|---|
| 26 | |
|---|
| 27 | Context: |
|---|
| 28 | |
|---|
| 29 | [NetBSD does not have support for symbol versioning, so updated systen |
|---|
| 30 | Simon Marlow <marlowsd@gmail.com>**20090723075725 |
|---|
| 31 | Ignore-this: 19a0cc5a913ba591074aab6c560ff5d8 |
|---|
| 32 | functions need to be given a new name, and the header files contain |
|---|
| 33 | some __asm hackery in order to let the program call the correct function. |
|---|
| 34 | |
|---|
| 35 | This mean that you need to use the header files in order to call the |
|---|
| 36 | correct system functions, which prevents things like "foreign import ccall" from working. |
|---|
| 37 | |
|---|
| 38 | Ghc solves this with wrapper functions for some of the renamed functions, |
|---|
| 39 | but it has not been updated for newer versions of NetBSD that has recently |
|---|
| 40 | versioned some more functions. |
|---|
| 41 | |
|---|
| 42 | The attached patches introduces wrapper functions for all currently |
|---|
| 43 | NetBSD-versioned functions used in libraries/unix. Solves ~20 testsuite |
|---|
| 44 | failures. |
|---|
| 45 | |
|---|
| 46 | Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com> |
|---|
| 47 | ] |
|---|
| 48 | [Fix warning |
|---|
| 49 | Ian Lynagh <igloo@earth.li>**20090711112701] |
|---|
| 50 | [Fix some "warn-unused-do-bind" warnings where we want to ignore the value |
|---|
| 51 | Ian Lynagh <igloo@earth.li>**20090710200806] |
|---|
| 52 | [Remove unused imports |
|---|
| 53 | Ian Lynagh <igloo@earth.li>**20090707115900] |
|---|
| 54 | [Move directory stuff from base to here |
|---|
| 55 | Simon Marlow <marlowsd@gmail.com>**20090625093258 |
|---|
| 56 | Ignore-this: cd2ce9c12bac46285b5435f00c50a21e |
|---|
| 57 | leaving out Windows-specific hacks |
|---|
| 58 | ] |
|---|
| 59 | [rename cache variables to keep recent autoconfs happy |
|---|
| 60 | Ross Paterson <ross@soi.city.ac.uk>**20090616140611 |
|---|
| 61 | Ignore-this: b522604509c77edeff37b3ec42f3741f |
|---|
| 62 | ] |
|---|
| 63 | [TAG 2009-06-25 |
|---|
| 64 | Ian Lynagh <igloo@earth.li>**20090625160426] |
|---|
| 65 | Patch bundle hash: |
|---|
| 66 | ab5b547b663d3cc3441fb8756e49ab27cdd701de |
|---|