From 8541de6d603d72cff7ffed8bade00173f94f2921 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 2 Sep 2013 08:43:13 +0300 Subject: [PATCH] Patch for bytes --- patching/patches/bytes-0.11.3.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patching/patches/bytes-0.11.3.patch diff --git a/patching/patches/bytes-0.11.3.patch b/patching/patches/bytes-0.11.3.patch new file mode 100644 index 00000000..cebc98fd --- /dev/null +++ b/patching/patches/bytes-0.11.3.patch @@ -0,0 +1,13 @@ +diff -ru orig/tests/doctests.hsc new/tests/doctests.hsc +--- orig/tests/doctests.hsc 2013-09-02 08:40:59.176527818 +0300 ++++ new/tests/doctests.hsc 2013-09-02 08:40:59.000000000 +0300 +@@ -59,7 +59,8 @@ + : "-optPdist/build/autogen/cabal_macros.h" + : "-hide-all-packages" + : "-Iincludes" +- : map ("-package="++) deps ++ sources ++ : "dist/build/cbits/i2d.o" ++ : map ("-package="++) (filter (not . ("bytes-" `isPrefixOf`)) deps) ++ sources + + getSources :: IO [FilePath] + getSources = filter (isSuffixOf ".hs") <$> go "src"