[hedgewars] The "state" to "State" change resulted in a build error

Bruno Wolff III bruno at fedoraproject.org
Sun Jan 1 21:47:15 UTC 2012


commit af58b3fcee55a5589b232221f3c454501d1b360e
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sun Jan 1 15:35:06 2012 -0600

    The "state" to "State" change resulted in a build error

 hedgewars-no-bytestring.patch |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/hedgewars-no-bytestring.patch b/hedgewars-no-bytestring.patch
index e341595..afe5ddf 100644
--- a/hedgewars-no-bytestring.patch
+++ b/hedgewars-no-bytestring.patch
@@ -27,17 +27,6 @@
  
          infoM "Clients" (show ci ++ ": New client. Time: " ++ show (connectTime cl))
  
---- hedgewars-0.9.17.orig/gameServer/ClientIO.hs	2011-11-22 17:57:10.502642524 -0800
-+++ hedgewars-0.9.17/gameServer/ClientIO.hs	2011-11-22 17:57:11.838642515 -0800
-@@ -22,7 +22,7 @@
- takePacks :: State B.ByteString [[B.ByteString]]
- takePacks
-   = do modify (until (not . B.isPrefixOf pDelim) (B.drop 2))
--       packet <- state $ B.breakSubstring pDelim
-+       packet <- State $ B.breakSubstring pDelim
-        buf <- get
-        if B.null buf then put packet >> return [] else
-         if B.null packet then  return [] else
 --- hedgewars-0.9.17.orig/gameServer/Utils.hs	2011-11-22 17:57:10.530642521 -0800
 +++ hedgewars-0.9.17/gameServer/Utils.hs	2011-11-22 17:57:11.842642515 -0800
 @@ -13,7 +13,6 @@


More information about the scm-commits mailing list