# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1534869319 -7200
# Node ID 5f904c292699c92148ef999dd6628c59c6b29e75
# Parent  05fde8e300419ec07776aac2d7e1f8fa69da0e78# Parent  8bd973ab9c9c74db2a5181908d75570da5d7afd5
Merge unC0Rr's checker update

diff -r 05fde8e30041 -r 5f904c292699 gameServer/OfficialServer/checker.hs
--- a/gameServer/OfficialServer/checker.hs	Tue Aug 21 18:31:00 2018 +0200
+++ b/gameServer/OfficialServer/checker.hs	Tue Aug 21 18:35:19 2018 +0200
@@ -55,7 +55,7 @@
     deriving Show
 
 serverAddress = "netserver.hedgewars.org"
-protocolNumber = "53"
+protocolNumber = "55"
 
 getLines :: Handle -> IO [B.ByteString]
 getLines h = g
diff -r 05fde8e30041 -r 5f904c292699 gameServer/hedgewars-server.cabal
--- a/gameServer/hedgewars-server.cabal	Tue Aug 21 18:31:00 2018 +0200
+++ b/gameServer/hedgewars-server.cabal	Tue Aug 21 18:35:19 2018 +0200
@@ -33,7 +33,7 @@
     utf8-string,
     SHA,
     entropy,
-    zlib >= 0.5.3 && < 0.6,
+    zlib >= 0.5.3 && < 0.7,
     regex-tdfa,
     binary >= 0.8.5.1,
     yaml >= 0.8.30,
@@ -44,3 +44,29 @@
     build-depends: unix
 
   ghc-options: -O2
+
+Executable checker
+  main-is: OfficialServer/checker.hs
+
+  default-language:    Haskell2010
+
+  Build-depends:
+    base >= 4.8,
+    containers,
+    vector,
+    bytestring,
+    network >= 2.3,
+    mtl >= 2,
+    sandi,
+    hslogger,
+    process,
+    ConfigFile,
+    directory
+
+  if !os(windows)
+    build-depends: unix
+
+  ghc-options: -O2
+
+
+