commit:     9b29f788870a4fe29461df825050808cda4b5c4a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 20:04:24 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 20:04:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b29f788

dev-haskell/gtk2hs-buildtools: build fix fox alex3.1.7, bug #572260

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/show_bug.cgi?id=572260

Package-Manager: portage-2.2.26

 .../files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch            | 9 +++++++++
 .../gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild       | 1 +
 2 files changed, 10 insertions(+)

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
index 0000000..a772e67
--- /dev/null
+++ 
b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch
@@ -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)

diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild 
b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild
index 8397870..1f2796b 100644
--- a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild
+++ b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-ia64.patch
+       epatch "${FILESDIR}"/${P}-alex-3.1.6.patch
 }
 
 src_configure() {

Reply via email to