[Pkg-haskell-commits] darcs: alex: Update fix-bang-pattern.diff patch to close #635113.

Erik de Castro Lopo erikd at mega-nerd.com
Sun Jul 24 04:28:54 UTC 2011


Sun Jul 24 04:28:39 UTC 2011  Erik de Castro Lopo <erikd at mega-nerd.com>
  * Update fix-bang-pattern.diff patch to close #635113.
  Ignore-this: acd8226f5924642055c4cda270af73cb

    M ./changelog +8
    M ./control -1 +1
    M ./patches/fix-bang-pattern.diff +13

Sun Jul 24 04:28:39 UTC 2011  Erik de Castro Lopo <erikd at mega-nerd.com>
  * Update fix-bang-pattern.diff patch to close #635113.
  Ignore-this: acd8226f5924642055c4cda270af73cb
diff -rN -u old-alex//changelog new-alex//changelog
--- old-alex//changelog	2011-07-24 04:28:54.666414903 +0000
+++ new-alex//changelog	2011-07-24 04:28:54.670056582 +0000
@@ -1,3 +1,11 @@
+alex (2.3.5-3) unstable; urgency=low
+
+  * Update fix-bang-pattern.diff patch to add LANGUAGE option BanPatterns to
+    generated code (Closes: #635113).
+  * debian/control: Standards version (no changes required).
+
+ -- Erik de Castro Lopo <erikd at mega-nerd.com>  Sun, 24 Jul 2011 14:15:36 +1000
+
 alex (2.3.5-2) unstable; urgency=low
 
   [ Erik de Castro Lopo ]
diff -rN -u old-alex//control new-alex//control
--- old-alex//control	2011-07-24 04:28:54.666414903 +0000
+++ new-alex//control	2011-07-24 04:28:54.670056582 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
 Uploaders: Joachim Breitner <nomeata at debian.org>
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
 Build-Depends: cdbs (>= 0.4.59),
                haskell-devscripts (>= 0.7),
                debhelper (>= 7),
diff -rN -u old-alex//patches/fix-bang-pattern.diff new-alex//patches/fix-bang-pattern.diff
--- old-alex//patches/fix-bang-pattern.diff	2011-07-24 04:28:54.654099053 +0000
+++ new-alex//patches/fix-bang-pattern.diff	2011-07-24 04:28:54.674064182 +0000
@@ -65,3 +65,16 @@
  
  module Scan(lexer, AlexPosn(..), Token(..), Tkn(..), tokPosn) where
  
+Index: alex-2.3.5/src/Main.hs
+===================================================================
+--- alex-2.3.5.orig/src/Main.hs
++++ alex-2.3.5/src/Main.hs
+@@ -184,7 +184,7 @@
+   hPutStrLn hdl code
+ 
+ optsToInject :: Target -> [CLIFlags] -> String
+-optsToInject GhcTarget _ = "{-# LANGUAGE CPP,MagicHash #-}\n"
++optsToInject GhcTarget _ = "{-# LANGUAGE CPP,MagicHash,BangPatterns #-}\n"
+ optsToInject _         _ = "{-# LANGUAGE CPP #-}\n"
+ 
+ importsToInject :: Target -> [CLIFlags] -> String





More information about the Pkg-haskell-commits mailing list