summaryrefslogtreecommitdiff
path: root/p/haskell-log-domain/debian/patches
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2015-08-13 13:48:15 +0200
committerClint Adams <clint@debian.org>2015-08-13 13:48:15 +0200
commit1ce80d4a4c68c755d3b772d5daef3ef5877a30ea (patch)
tree9351d8ac1a232e5e5e9f21fe04279d363007c3d5 /p/haskell-log-domain/debian/patches
parenta42daa2bcd4bf94c619464fea1a1f87eec60d63f (diff)
downloadDHG_packages-1ce80d4a4c68c755d3b772d5daef3ef5877a30ea.tar.gz
log-domain: 0.10.2
Diffstat (limited to 'p/haskell-log-domain/debian/patches')
-rw-r--r--p/haskell-log-domain/debian/patches/fix-doctests.diff16
-rw-r--r--p/haskell-log-domain/debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/p/haskell-log-domain/debian/patches/fix-doctests.diff b/p/haskell-log-domain/debian/patches/fix-doctests.diff
new file mode 100644
index 000000000..214b698db
--- /dev/null
+++ b/p/haskell-log-domain/debian/patches/fix-doctests.diff
@@ -0,0 +1,16 @@
+Index: log-domain-0.10.2/tests/doctests.hsc
+===================================================================
+--- log-domain-0.10.2.orig/tests/doctests.hsc
++++ log-domain-0.10.2/tests/doctests.hsc
+@@ -54,9 +54,9 @@ withUnicode m = m
+ main :: IO ()
+ main = withUnicode $ getSources >>= \sources -> doctest $
+ "-isrc"
+- : "-idist/build/autogen"
++ : "-idist-ghc/build/autogen"
+ : "-optP-include"
+- : "-optPdist/build/autogen/cabal_macros.h"
++ : "-optPdist-ghc/build/autogen/cabal_macros.h"
+ : "-hide-all-packages"
+ : "-Iincludes"
+ : map ("-package="++) deps ++ sources
diff --git a/p/haskell-log-domain/debian/patches/series b/p/haskell-log-domain/debian/patches/series
new file mode 100644
index 000000000..7bd1f898d
--- /dev/null
+++ b/p/haskell-log-domain/debian/patches/series
@@ -0,0 +1 @@
+fix-doctests.diff