summaryrefslogtreecommitdiff
path: root/p/uuagc/debian/patches/use-uuagc-to-bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'p/uuagc/debian/patches/use-uuagc-to-bootstrap')
-rw-r--r--p/uuagc/debian/patches/use-uuagc-to-bootstrap35
1 files changed, 35 insertions, 0 deletions
diff --git a/p/uuagc/debian/patches/use-uuagc-to-bootstrap b/p/uuagc/debian/patches/use-uuagc-to-bootstrap
new file mode 100644
index 000000000..e44c486ec
--- /dev/null
+++ b/p/uuagc/debian/patches/use-uuagc-to-bootstrap
@@ -0,0 +1,35 @@
+Description: Use uuagc to bootstrap
+ See http://lists.debian.org/debian-haskell/2012/04/msg00018.html
+Author: Joachim Breitner <nomeata@debian.org>
+
+--- uuagc-0.9.40.3.orig/Setup.hs
++++ uuagc-0.9.40.3/Setup.hs
+@@ -2,8 +2,7 @@ module Main where
+
+ import Distribution.Simple
+ import Distribution.Simple.UUAGC
+-import UU.UUAGC.Bootstrap
+
+ -- uses the bootstrapped version of uuagc to build itself
+-compiler = uuagcBootstrap
+-main = defaultMainWithHooks (uuagcLibUserHook compiler)
++main = defaultMainWithHooks (uuagcUserHook' "uuagc")
++
+--- uuagc-0.9.40.3.orig/uuagc.cabal
++++ uuagc-0.9.40.3/uuagc.cabal
+@@ -22,7 +22,6 @@ extra-source-files: uuagc_options
+ extra-source-files: src-ag/DistChildAttr.ag
+
+ executable uuagc
+- build-depends: uuagc-bootstrap >= 0.9.40.0
+ build-depends: uuagc-cabal >= 1.0.2.0
+ build-depends: base >= 4, base < 5, ghc-prim >= 0.2.0.0
+ build-depends: containers >= 0.3, directory >= 1.0.1.1, array >= 0.3.0.1
+@@ -89,7 +88,6 @@ executable uuagc
+
+
+ library
+- build-depends: uuagc-bootstrap >= 0.9.40.0
+ build-depends: uuagc-cabal >= 1.0.2.0
+ build-depends: base >= 4, base < 5, ghc-prim >= 0.2.0.0
+ build-depends: containers >= 0.3, directory >= 1.0.1.1, array >= 0.3.0.1