summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-01-18 20:04:24 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-01-18 20:04:36 +0000
commit9b29f788870a4fe29461df825050808cda4b5c4a (patch)
tree48a7468adecd4662df99cfb2e3f0ce3151cb073e /dev-haskell/gtk2hs-buildtools
parentdev-libs/dbus-c++: switch ecore dep to efl #571796 (diff)
downloadgentoo-9b29f788870a4fe29461df825050808cda4b5c4a.tar.gz
gentoo-9b29f788870a4fe29461df825050808cda4b5c4a.tar.bz2
gentoo-9b29f788870a4fe29461df825050808cda4b5c4a.zip
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
Diffstat (limited to 'dev-haskell/gtk2hs-buildtools')
-rw-r--r--dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch9
-rw-r--r--dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild1
2 files changed, 10 insertions, 0 deletions
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() {