Fix building hedgewars-server
authorkoda
Tue, 02 Jun 2015 19:51:04 +0100
changeset 10977 b2823ea26631
parent 10976 56f07b52213a
child 10980 c1ef8a7da0c6
Fix building hedgewars-server
gameServer/CoreTypes.hs
gameServer/hedgewars-server.cabal
--- a/gameServer/CoreTypes.hs	Tue Jun 02 18:37:40 2015 +0100
+++ b/gameServer/CoreTypes.hs	Tue Jun 02 19:51:04 2015 +0100
@@ -38,7 +38,7 @@
 instance NFData B.ByteString
 #endif
 
-instance NFData (Chan a)
+instance NFData (Chan a) where rnf a  = ()
 
 instance NFData Action where
     rnf (AnswerClients chans msg) = chans `deepseq` msg `deepseq` ()
--- a/gameServer/hedgewars-server.cabal	Tue Jun 02 18:37:40 2015 +0100
+++ b/gameServer/hedgewars-server.cabal	Tue Jun 02 19:51:04 2015 +0100
@@ -33,7 +33,7 @@
     utf8-string,
     SHA,
     entropy,
-    zlib
+    zlib >= 0.5.3 && < 0.6
 
   if !os(windows)
     build-depends: unix