diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-04-22 17:36:11 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2013-04-22 17:36:11 +0000 |
commit | b4d69ea30ce84a2c86a4d57a10033c08e039da91 (patch) | |
tree | 323884d19e41307fd197241dd0225e8cbccc9479 /dev-haskell/alex | |
parent | Stable for sparc, wrt bug #466606 (diff) | |
download | gentoo-2-b4d69ea30ce84a2c86a4d57a10033c08e039da91.tar.gz gentoo-2-b4d69ea30ce84a2c86a4d57a10033c08e039da91.tar.bz2 gentoo-2-b4d69ea30ce84a2c86a4d57a10033c08e039da91.zip |
Fixed build failure on big-endian platforms (bug #466778 by Agostino Sarubbo).
(Portage version: 2.2.0_alpha172/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/alex')
-rw-r--r-- | dev-haskell/alex/ChangeLog | 6 | ||||
-rw-r--r-- | dev-haskell/alex/alex-3.0.2.ebuild | 6 | ||||
-rw-r--r-- | dev-haskell/alex/alex-3.0.5.ebuild | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/dev-haskell/alex/ChangeLog b/dev-haskell/alex/ChangeLog index e0f738a6779a..79d9550bac2a 100644 --- a/dev-haskell/alex/ChangeLog +++ b/dev-haskell/alex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-haskell/alex # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.61 2013/04/02 04:13:22 gienah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.62 2013/04/22 17:36:11 slyfox Exp $ + + 22 Apr 2013; Sergei Trofimovich <slyfox@gentoo.org> alex-3.0.2.ebuild, + alex-3.0.5.ebuild: + Fixed build failure on big-endian platforms (bug #466778 by Agostino Sarubbo). *alex-3.0.5 (02 Apr 2013) diff --git a/dev-haskell/alex/alex-3.0.2.ebuild b/dev-haskell/alex/alex-3.0.2.ebuild index 6187d8fe1fe2..8a2116a43d6f 100644 --- a/dev-haskell/alex/alex-3.0.2.ebuild +++ b/dev-haskell/alex/alex-3.0.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-3.0.2.ebuild,v 1.7 2012/09/12 14:51:30 qnikst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-3.0.2.ebuild,v 1.8 2013/04/22 17:36:11 slyfox Exp $ # ebuild generated by hackport 0.2.9 @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 )" src_prepare() { + HCFLAGS+=-XBangPatterns #fixes build failure on BE platforms; bug 466778 + for f in Scan Parser; do rm "${S}/src/$f."* mv "${S}/dist/build/alex/alex-tmp/$f.hs" "${S}"/src/ diff --git a/dev-haskell/alex/alex-3.0.5.ebuild b/dev-haskell/alex/alex-3.0.5.ebuild index 1002ea0771a6..49c8fd8ffdcd 100644 --- a/dev-haskell/alex/alex-3.0.5.ebuild +++ b/dev-haskell/alex/alex-3.0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-3.0.5.ebuild,v 1.1 2013/04/02 04:13:22 gienah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-3.0.5.ebuild,v 1.2 2013/04/22 17:36:11 slyfox Exp $ EAPI=5 @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 )" src_prepare() { + HCFLAGS+=-XBangPatterns #fixes build failure on BE platforms; bug 466778 + cabal_chdeps \ 'build-depends: process' 'build-depends: process, base' |