Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/show_bug.cgi?id=572260
Package-Manager: portage-2.2.26
--- /dev/null
+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)
src_prepare() {
epatch "${FILESDIR}"/${P}-ia64.patch
+ epatch "${FILESDIR}"/${P}-alex-3.1.6.patch
}
src_configure() {