From 121ed4eec41fbf03e1998d09eede1bf449da63b9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Jul 2019 22:05:27 +0100 Subject: gentoo resync : 19.07.2019 --- dev-haskell/editline/Manifest | 2 ++ dev-haskell/editline/editline-0.2.1.1-r1.ebuild | 36 ++++++++++++++++++++++ .../editline/files/editline-0.2.1.1-tinfo.patch | 13 ++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-haskell/editline/editline-0.2.1.1-r1.ebuild create mode 100644 dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch (limited to 'dev-haskell/editline') diff --git a/dev-haskell/editline/Manifest b/dev-haskell/editline/Manifest index e9aa66d21485..521caa46e094 100644 --- a/dev-haskell/editline/Manifest +++ b/dev-haskell/editline/Manifest @@ -1,4 +1,6 @@ AUX editline-0.2.1.1-ghc-7.8.patch 564 BLAKE2B 522295c711fb091e9d06406505c522933599c95c7fa36ece36e02b365077ccf7972cbbbe83146aec1df74f071dde46ed92a61baf93b99d343de8bc68caacb6c2 SHA512 e3c9742d854294a77e6a646dc7d2b4fe96c9d2ad6d9c789278dfe7a6b20b55ee27da732f630211bcb705e5443cce1de716762dbe5f0b1c01fd5457a771cb8a93 +AUX editline-0.2.1.1-tinfo.patch 576 BLAKE2B b08e5be5d897622a4c07dcdfd881970fc25ad59648b57d804ca27c0cffe8c7219822ed68280fb5716738c8283849da602eccc34500558eff260563e384b2eff8 SHA512 a327e33a3f535d2a298c9a73bd0ddff13b5795e146757b1961bea10be19f19635f7ee3513dcefdfa132bc92dbc573ae8cc63ea10a70a4c233829895472ee4638 DIST editline-0.2.1.1.tar.gz 47240 BLAKE2B 7bd9d4d894856653e14a3ebde954ad17bb8b8e3ec03151edf8107c0ad5095e9bd467fa737d8b6af00fbe50da3fef54521e2ec32c214a6362df27e3f0137c0f6c SHA512 c4fa4438ecf318637ff42292411024f9df86d3edab5ac2107fe3978a9778ce03f62348fc4cf9c5a2f06e74e1abf0c8963f5a6d686113ba31a5c59fd7a75295d6 +EBUILD editline-0.2.1.1-r1.ebuild 732 BLAKE2B a799e967b2631b86780e22413c88f083dd0f7624a610624f51b12fb7bae0bf37b8ce07553a06fc8805e78d8c1499870518c652647a58fc63fb08a7be4235f8da SHA512 17d35560005d14535e98ac7e310ec2a36a498f7b2869991d48cc849b20d4853294493b735f6321e51510e6f2d93dc5fd0ce8f20f3727e3f03f003c1b156b51c5 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-r1.ebuild b/dev-haskell/editline/editline-0.2.1.1-r1.ebuild new file mode 100644 index 000000000000..d235b4558327 --- /dev/null +++ b/dev-haskell/editline/editline-0.2.1.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit autotools 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" + +PATCHES=( + "${FILESDIR}"/${P}-ghc-7.8.patch + "${FILESDIR}"/${P}-tinfo.patch +) + +src_prepare() { + default + eautoconf + + cabal_chdeps \ + 'base < 4.7' 'base' +} diff --git a/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch b/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch new file mode 100644 index 000000000000..2f073b6a2c72 --- /dev/null +++ b/dev-haskell/editline/files/editline-0.2.1.1-tinfo.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/689988 +--- a/configure.ac ++++ b/configure.ac +@@ -31,7 +31,8 @@ dnl does it. + AC_CHECK_LIB(curses, tgetent, HaveLibTermcap=YES; LibTermcap=curses, + [AC_CHECK_LIB(ncurses, tgetent, HaveLibTermcap=YES; LibTermcap=ncurses, + [AC_CHECK_LIB(termcap, tgetent, HaveLibTermcap=YES; LibTermcap=termcap, +- HaveLibTermcap=NO; LibTermcap=not-installed)])]) ++ [AC_CHECK_LIB(tinfo, tgetent, HaveLibTermcap=YES; LibTermcap=tinfo, ++ HaveLibTermcap=NO; LibTermcap=not-installed)])])]) + + if test "x$HaveLibTermcap" = xYES ; then + HaveLibEdit=YES -- cgit v1.2.3