Ticket #2103: network-NetBSD.patch

File network-NetBSD.patch, 1.6 KB (added by iquiw, 6 years ago)
Line 
1
2New patches:
3
4[Fix listenOn and getNameInfo to work on NetBSD
5Iku Iwasa <iku.iwasa@gmail.com>**20080216123753
6 Network.hs: specify addrSocketType=Stream for getAddrInfo in listen' function.
7 Network/Socket.hsc: poke length of struct sockaddr_* in pokeSockAddr function.
8] {
9hunk ./Network.hs 225
10+                             , addrSocketType = Stream
11hunk ./Network/Socket.hsc 484
12+#if defined(netbsd_TARGET_OS)
13+       (#poke struct sockaddr_un, sun_len) p ((#const sizeof(struct sockaddr_un)) :: Word8)
14+#endif
15hunk ./Network/Socket.hsc 495
16+#if defined(netbsd_TARGET_OS)
17+       (#poke struct sockaddr_in, sin_len) p ((#const sizeof(struct sockaddr_in)) :: Word8)
18+#endif
19hunk ./Network/Socket.hsc 506
20+#if defined(netbsd_TARGET_OS)
21+       (#poke struct sockaddr_in6, sin6_len) p ((#const sizeof(struct sockaddr_in6)) :: Word8)
22+#endif
23}
24
25Context:
26
27[Catch up with changes to GHC.Handle.fdToHandle'
28Simon Marlow <simonmar@microsoft.com>*-20071121084901]
29[Catch up with changes to GHC.Handle.fdToHandle'
30Simon Marlow <simonmar@microsoft.com>**20071121084901]
31[fix test to work with non-GHC implementations
32Ross Paterson <ross@soi.city.ac.uk>**20071118173815]
33[add a signature (to avoid Hugs's non-standard handling of the MR)
34Ross Paterson <ross@soi.city.ac.uk>**20071118173728]
35[fix ifdef for Hugs
36Ross Paterson <ross@soi.city.ac.uk>**20071117195725]
37[Match *-solaris2*, not just *-solaris2, in configure.ac; fixes #1857
38Ian Lynagh <igloo@earth.li>**20071110180525
39 Patch from Christian Maeder
40]
41[TAG GHC 6.8.1 release
42Ian Lynagh <igloo@earth.li>**20071110011105]
43Patch bundle hash:
440f4b5a631602325be41259a339e202a096972863