dev-haskell/gtk2hs-buildtools: build fix fox alex3.1.7, bug #572260
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 18 Jan 2016 20:04:24 +0000 (20:04 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 18 Jan 2016 20:04:36 +0000 (20:04 +0000)
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/show_bug.cgi?id=572260

Package-Manager: portage-2.2.26

dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch [new file with mode: 0644]
dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild

diff --git a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch
new file mode 100644 (file)
index 0000000..a772e67
--- /dev/null
@@ -0,0 +1,9 @@
+diff --git a/c2hs/c/CLexer.x b/c2hs/c/CLexer.x
+index 77702ed..1cd2483 100644
+--- a/c2hs/c/CLexer.x
++++ b/c2hs/c/CLexer.x
+@@ -68,3 +68,3 @@ module CLexer (lexC, parseError) where
+-import Data.Char      (isDigit)
++import Data.Char      (ord, isDigit)
+ import Data.Word      (Word8)
index 8397870c3a1d7b264bb0f726188ade80e55e9570..1f2796bd57b74b9e7692b48ca186e79335655185 100644 (file)
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-ia64.patch
+       epatch "${FILESDIR}"/${P}-alex-3.1.6.patch
 }
 
 src_configure() {