summaryrefslogtreecommitdiff
path: root/dev-haskell/editline
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/editline
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/editline')
-rw-r--r--dev-haskell/editline/Manifest4
-rw-r--r--dev-haskell/editline/editline-0.2.1.1.ebuild30
-rw-r--r--dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch13
-rw-r--r--dev-haskell/editline/metadata.xml7
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-haskell/editline/Manifest b/dev-haskell/editline/Manifest
new file mode 100644
index 000000000000..e9aa66d21485
--- /dev/null
+++ b/dev-haskell/editline/Manifest
@@ -0,0 +1,4 @@
+AUX editline-0.2.1.1-ghc-7.8.patch 564 BLAKE2B 522295c711fb091e9d06406505c522933599c95c7fa36ece36e02b365077ccf7972cbbbe83146aec1df74f071dde46ed92a61baf93b99d343de8bc68caacb6c2 SHA512 e3c9742d854294a77e6a646dc7d2b4fe96c9d2ad6d9c789278dfe7a6b20b55ee27da732f630211bcb705e5443cce1de716762dbe5f0b1c01fd5457a771cb8a93
+DIST editline-0.2.1.1.tar.gz 47240 BLAKE2B 7bd9d4d894856653e14a3ebde954ad17bb8b8e3ec03151edf8107c0ad5095e9bd467fa737d8b6af00fbe50da3fef54521e2ec32c214a6362df27e3f0137c0f6c SHA512 c4fa4438ecf318637ff42292411024f9df86d3edab5ac2107fe3978a9778ce03f62348fc4cf9c5a2f06e74e1abf0c8963f5a6d686113ba31a5c59fd7a75295d6
+EBUILD editline-0.2.1.1.ebuild 667 BLAKE2B e40c5ffbbb56fa7be88d0c0c8fdc2bc833b2909d983757bb58021c43c7a4ceafc7a800e30b6159783bc409664a6c04ea8662acf96d01ff0b29cf4d96dde4b9d8 SHA512 8db950e4372ee6bc9f0055787bcaebb7cf8723e29d09845f9197970c0f2c0a95a1879f47adb2b88c705ae28fcb8b5328ab5557a81f6621161264cb8b137438b8
+MISC metadata.xml 217 BLAKE2B 41b11b7399431ee96c40a11373f20b12940ed7bb1fc77b1619212b2a57a3b34b11b77838d4ac51c1ddb80caab1030224e28567836e5d0a17b4ea6bd1afa2523c SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70
diff --git a/dev-haskell/editline/editline-0.2.1.1.ebuild b/dev-haskell/editline/editline-0.2.1.1.ebuild
new file mode 100644
index 000000000000..27694c9a51f6
--- /dev/null
+++ b/dev-haskell/editline/editline-0.2.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit eutils haskell-cabal
+
+DESCRIPTION="Bindings to the editline library (libedit)"
+HOMEPAGE="http://code.haskell.org/editline"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:=
+ dev-libs/libedit"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ghc-7.8.patch
+
+ cabal_chdeps \
+ 'base < 4.7' 'base'
+}
diff --git a/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch b/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch
new file mode 100644
index 000000000000..4a55ecd5626b
--- /dev/null
+++ b/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch
@@ -0,0 +1,13 @@
+diff --git a/System/Console/Editline/Readline.hsc b/System/Console/Editline/Readline.hsc
+index 1ea9d6c..3b95b59 100644
+--- a/System/Console/Editline/Readline.hsc
++++ b/System/Console/Editline/Readline.hsc
+@@ -173,7 +173,7 @@ import Foreign.Marshal.Array ( mallocArray, peekArray0, pokeArray0 )
+ import Foreign.C.Types ( CInt(..), CChar, CFile )
+ import Foreign.C.String ( newCString, peekCString, withCString,
+ castCharToCChar, castCCharToChar )
+-import GHC.Handle ( fdToHandle )
++import GHC.IO.Handle.FD ( fdToHandle )
+
+ {-# CFILES HsReadline_cbits.c #-}
+
diff --git a/dev-haskell/editline/metadata.xml b/dev-haskell/editline/metadata.xml
new file mode 100644
index 000000000000..522384de8446
--- /dev/null
+++ b/dev-haskell/editline/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>haskell@gentoo.org</email>
+</maintainer>
+</pkgmetadata>