diff options
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.patch | 9 | ||||
-rw-r--r-- | dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild | 1 |
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() { |