summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-09-15 07:48:36 +0000
committerMark Wright <gienah@gentoo.org>2012-09-15 07:48:36 +0000
commitfb7a3129f7fdc85250d95c37506e37df18af07e3 (patch)
treed15abb87edee7ceb7278399bbe1dce5c17eee7f3 /dev-haskell
parentVersion bump. (diff)
downloadhistorical-fb7a3129f7fdc85250d95c37506e37df18af07e3.tar.gz
historical-fb7a3129f7fdc85250d95c37506e37df18af07e3.tar.bz2
historical-fb7a3129f7fdc85250d95c37506e37df18af07e3.zip
Patch readline for ghc 7.6.1
Package-Manager: portage-2.1.11.17/cvs/Linux x86_64
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/readline/ChangeLog6
-rw-r--r--dev-haskell/readline/Manifest15
-rw-r--r--dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch12
-rw-r--r--dev-haskell/readline/readline-1.0.1.0.ebuild14
4 files changed, 40 insertions, 7 deletions
diff --git a/dev-haskell/readline/ChangeLog b/dev-haskell/readline/ChangeLog
index 27f52e677911..5c7d1acfb671 100644
--- a/dev-haskell/readline/ChangeLog
+++ b/dev-haskell/readline/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-haskell/readline
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/readline/ChangeLog,v 1.2 2012/09/12 16:00:58 qnikst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/readline/ChangeLog,v 1.3 2012/09/15 07:48:35 gienah Exp $
+
+ 15 Sep 2012; Mark Wright <gienah@gentoo.org>
+ +files/readline-1.0.1.0-ghc-7.6.patch, readline-1.0.1.0.ebuild:
+ Patch readline for ghc 7.6.1
12 Sep 2012; Alexander Vershilov <qnikst@gentoo.org> readline-1.0.1.0.ebuild:
move dev-haskell/readline/readline-1.0.1.0.ebuild ebuild to mirror://hackage
diff --git a/dev-haskell/readline/Manifest b/dev-haskell/readline/Manifest
index 37b3676fce75..24c1c5eee17f 100644
--- a/dev-haskell/readline/Manifest
+++ b/dev-haskell/readline/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX readline-1.0.1.0-ghc-7.6.patch 493 SHA256 f0a78858d85ad94dcc2813c1538f797e713ef44435b62229d411c84557fb0b87 SHA512 a88dabe0d4c1d5fdd8a9446b320059aedc2b13ad69c1943333fd335ebbbcb1e06850a45693f4f1ef1bfaaf68b4ca6ad34293315f48e1b1f2d4e19fcb542e2d9f WHIRLPOOL 193cd4167da872f412c98d429366d96ea316bb5013cd340d556dbb3cf98ccdc4e10a58cfd0ccd7bd459c1bd67b5d31677e9528324854a43f1a537e7eb3e6ea0c
DIST readline-1.0.1.0.tar.gz 52394 SHA256 07f2f039f32bf18838a4875d0f3caa3ed9436dd52b962b2061f0bb8a3316fa1d SHA512 37e710b6f8b24edec0062752b323cea7e88c6cc988b67292b86065f166ec22a3214881421065cb98d18b154919e5ab56e70783f83a8c9a58011c4501d79d02f5 WHIRLPOOL 5fa6ebc94dc86907eceb17e8c5c8f3eadbf89fcb85df0db263c5123ae7057ae899d01ad27b8c269074ed4b228268d364edfcab6ed5d5f342006780ee55aea8bf
-EBUILD readline-1.0.1.0.ebuild 669 SHA256 0889d943c852a92787a6816c46e7510eceb05dcccddfff50540f6c4cacbd00bd SHA512 0374d1aca233201371ee9589c89b3b816684fd136d89cfc17ee9a5d77a7ab206911618e012b03e5a145073ed239830303fa3cf944cfa331d539327e6f1526043 WHIRLPOOL e66145f53bc14821e5cf1dbb38063436b4996411639b60d4df4bb67545efd00269d37030aa0fe77648e3b00f272184969de9fce6b3ac6d70e961e87a50e332f8
-MISC ChangeLog 602 SHA256 64c849543dc95ff5777ed79ba16d5bdda50671e43f172c2ed931d04f66415205 SHA512 8ea040453fd918daa9d36999488e912c2322649c3808ed3d3cfb70c31e3e3397daa08b7211ffd8075bfe9b304597e927530a3e7792a89060bea6a6d4bb5c0d41 WHIRLPOOL 9385cc62cb93a0b4147fabe518ed61f71990831df828bc5c63975af645685177e56ebec9f7c4cb54a03cc8b7682580ce8cf28bd0396ed8bbd00bbeea6fe90d4b
+EBUILD readline-1.0.1.0.ebuild 727 SHA256 902e9f1c067b19d1f8afe5e1c8ec8d38d77766e3db25426840391f424ad3153a SHA512 3e6992e68726facf0aea111d1079516e82b3780d882cac6829f0c2894ebbf826f0c9b4dba3e41d6c91d8d0b3fd43fad3a15fceb40329b606096e169d45e4aa0d WHIRLPOOL ec9708fff867265992f60a79cc0c1f4068d0f8fbd56cbd2556d448483f54d697be2c6cf573c11c748fd4f816cc28014354b10c7d34b81ac0d4eb36a236e10d6e
+MISC ChangeLog 747 SHA256 a67969615e64face42cdf2ad6eeabfbd3e6f774ccd3fb6566af35710ecb11302 SHA512 f56afe60d0ca6ca7c2220a60ef579684e175bf2e00c2fa66fb7e8c36bbde0c0f6156d8bc19ae1f062cc9914d1f3d4b5f644f0c0b59c1d78558540919ab0d92ca WHIRLPOOL 148958bb9cc9497a6d0aea5c356d671060c36de21218458aefce65443953ce01e2e07130428c3dc8a5f4d10659d5cff1ba2bdd808d7a9f2cb926e28429914f3d
MISC metadata.xml 223 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 SHA512 24765bbf1cb187cd262aa7fb3824c1cec65e2bf3f2198099de688916d96401a26458265b15408f22b1fbd6d6a2842df814a57ceda80dfa00d130b24423b7544f WHIRLPOOL 8fd6700f6198db6540eb51edf11372faeb6eb8a542a692e515badf236f62444f2c180f7d08e0f98e9fdfa23de14631b31af50543469aaa27084d6b637e2644c7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlBUMt4ACgkQoBEVQmGOlx/PcwEAjEl2MuCBKCkUOlE9YHhMK2Oc
+ixnjtqDLHZ9tKFQWt3IBAM18qUkCPFyemJ02i3NTuE/K/cpNxLt/UreCBY7bFpJ7
+=dJpN
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch
new file mode 100644
index 000000000000..96ad676a439f
--- /dev/null
+++ b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch
@@ -0,0 +1,12 @@
+--- readline-1.0.1.0-orig/System/Console/Readline.hsc 2007-11-06 02:25:00.000000000 +1100
++++ readline-1.0.1.0/System/Console/Readline.hsc 2012-09-15 17:30:53.690973810 +1000
+@@ -298,6 +298,9 @@
+ import Foreign.C.Types ( CInt, CChar, CFile )
+ import Foreign.C.String ( newCString, peekCString, withCString,
+ castCharToCChar, castCCharToChar )
++#if (__GLASGOW_HASKELL__>=705)
++import Foreign.C.Types(CInt(..))
++#endif
+ import GHC.Handle ( fdToHandle )
+
+ {-# CFILES HsReadline_cbits.c #-}
diff --git a/dev-haskell/readline/readline-1.0.1.0.ebuild b/dev-haskell/readline/readline-1.0.1.0.ebuild
index 06a1d50239e9..e9311150b173 100644
--- a/dev-haskell/readline/readline-1.0.1.0.ebuild
+++ b/dev-haskell/readline/readline-1.0.1.0.ebuild
@@ -1,13 +1,16 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/readline/readline-1.0.1.0.ebuild,v 1.2 2012/09/12 16:00:58 qnikst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/readline/readline-1.0.1.0.ebuild,v 1.3 2012/09/15 07:48:35 gienah Exp $
+
+EAPI=4
CABAL_FEATURES="haddock lib profile"
-inherit haskell-cabal
+inherit base haskell-cabal
-DESCRIPTION="Haskell interface to the GNU readline library"
-HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/readline"
+DESCRIPTION="An interface to the GNU readline library"
+HOMEPAGE="http://hackage.haskell.org/package/readline"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
@@ -15,5 +18,8 @@ KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=">=dev-lang/ghc-6.4"
+DEPEND="${RDEPEND}"
CABAL_CORE_LIB_GHC_PV="6.8.1 6.8.2 6.8.3 6.10.1 6.10.2"
+
+PATCHES=("${FILESDIR}/${PN}-1.0.1.0-ghc-7.6.patch")