[DHG_packages] 01/01: bnfc: patch for newer alex

Clint Adams clint at moszumanska.debian.org
Sun Dec 6 05:43:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit aaf52ac0c7cb87227a88d5dabedb3d96a46d1f96
Author: Clint Adams <clint at debian.org>
Date:   Sat Dec 5 23:55:54 2015 -0500

    bnfc: patch for newer alex
---
 p/bnfc/debian/patches/newer-alex | 20 ++++++++++++++++++++
 p/bnfc/debian/patches/series     |  1 +
 2 files changed, 21 insertions(+)

diff --git a/p/bnfc/debian/patches/newer-alex b/p/bnfc/debian/patches/newer-alex
new file mode 100644
index 0000000..31e3c02
--- /dev/null
+++ b/p/bnfc/debian/patches/newer-alex
@@ -0,0 +1,20 @@
+--- a/src/BNFC/Backend/Haskell/CFtoAlex3.hs
++++ b/src/BNFC/Backend/Haskell/CFtoAlex3.hs
+@@ -51,6 +51,7 @@
+   if byteStrings  then "import qualified Data.ByteString.Char8 as BS" else "",
+   "import qualified Data.Bits",
+   "import Data.Word (Word8)",
++  "import Data.Char (ord)",
+   "}",
+   ""
+   ]
+--- a/src/LexBNF.x
++++ b/src/LexBNF.x
+@@ -9,6 +9,7 @@
+ 
+ import qualified Data.Bits
+ import Data.Word (Word8)
++import Data.Char (ord)
+ }
+ 
+ 
diff --git a/p/bnfc/debian/patches/series b/p/bnfc/debian/patches/series
new file mode 100644
index 0000000..8ed4e8a
--- /dev/null
+++ b/p/bnfc/debian/patches/series
@@ -0,0 +1 @@
+newer-alex

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list