diff --git a/src/Vervis/Darcs.hs b/src/Vervis/Darcs.hs
index 9d1fc45..8e49d8b 100644
--- a/src/Vervis/Darcs.hs
+++ b/src/Vervis/Darcs.hs
@@ -273,7 +273,8 @@ readPatch path hash = do
     li <- handle =<< readLatestInventory path latestInventoryAllP
     mp <- loop pih (liPatches li) (fst <$> liPrevTag li)
     for mp $ \ (pi, pch) -> do
-        (_pir, hunks) <- handle =<< readCompressedPatch path pch P.patch
+        (_pir, hunks) <-
+            handle =<< readCompressedPatch path pch (P.patch <* A.endOfInput)
         let (an, ae) =
                 either error id $
                 A.parseOnly (author <* A.endOfInput) $ piAuthor pi