From 9b29f788870a4fe29461df825050808cda4b5c4a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 18 Jan 2016 20:04:24 +0000 Subject: [PATCH] dev-haskell/gtk2hs-buildtools: build fix fox alex3.1.7, bug #572260 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-0.13.0.4-r3.ebuild | 1 + 2 files changed, 10 insertions(+) create mode 100644 dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch 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 000000000000..a772e67c687e --- /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 8397870c3a1d..1f2796bd57b7 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() { -- 2.26.2