summaryrefslogtreecommitdiff
path: root/p/gtk2hs-buildtools/debian/patches/BangPatterns.patch
diff options
context:
space:
mode:
Diffstat (limited to 'p/gtk2hs-buildtools/debian/patches/BangPatterns.patch')
-rw-r--r--p/gtk2hs-buildtools/debian/patches/BangPatterns.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/p/gtk2hs-buildtools/debian/patches/BangPatterns.patch b/p/gtk2hs-buildtools/debian/patches/BangPatterns.patch
new file mode 100644
index 000000000..8157074ee
--- /dev/null
+++ b/p/gtk2hs-buildtools/debian/patches/BangPatterns.patch
@@ -0,0 +1,12 @@
+Description: The generated code has BangPatterns, newer ghc wants this mentioned explicitly
+Author: Joachim Breitner <nomeata@debian.org>
+Bug-Debian: http://bugs.debian.org/628302
+--- gtk2hs-buildtools-0.12.0.orig/c2hs/c/CLexer.x
++++ gtk2hs-buildtools-0.12.0/c2hs/c/CLexer.x
+@@ -63,6 +63,7 @@
+ --
+
+ {
++{-# LANGUAGE BangPatterns #-}
+
+ module CLexer (lexC, parseError) where