Hi Johan,
The patch is not for the current version of network and the code is
quite different. Basically it is necesary to  define this variable as
"unsigned short" that is the thing intended in the patch. however I
put it by brute force, without regard of the prerpocessor directives.
With this change the code compiles well with:

http://neilmitchell.blogspot.com/2010/12/installing-haskell-network-library-on.html

However my compiled library lack the methods defined as foreign. I´ll
keep trying.

2012/2/6 Johan Tibell <johan.tib...@gmail.com>:
> Hi,
>
> Someone recently contributed a fix that should make network build with
> 7.4: https://github.com/haskell/network/pull/25
>
> Can you see if that works for you? I haven't yet had time to merge and
> release that fix (I'm on vacation.)
>
> -- Johan
>

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to