summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-06-03 23:07:03 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-06-03 23:08:47 +0100
commit7e8590b6f6294628cefcd76f7b946710a1a4a05b (patch)
treea0a587ca0b3c1fb4c76fdc260f1774c8e8dba19b /dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild
parentdev-java/icedtea-bin: Remove vulnerable 7.2.6.[89] wrt bug #619458 (diff)
downloadgentoo-7e8590b6f6294628cefcd76f7b946710a1a4a05b.tar.gz
gentoo-7e8590b6f6294628cefcd76f7b946710a1a4a05b.tar.bz2
gentoo-7e8590b6f6294628cefcd76f7b946710a1a4a05b.zip
dev-haskell/bits-atomic: move 30K patch over to DISTDIR, bug #620554
Reported-by: Michał Górny Bug: https://bugs.gentoo.org/620554 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild')
-rw-r--r--dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild b/dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild
index e29ee53ddae6..59e62513134b 100644
--- a/dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild
+++ b/dev-haskell/bits-atomic/bits-atomic-0.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -10,7 +10,8 @@ inherit haskell-cabal
DESCRIPTION="Atomic bit operations on memory locations for low-level synchronization"
HOMEPAGE="http://hackage.haskell.org/package/bits-atomic"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz
+ https://dev.gentoo.org/~slyfox/patches/${P}-gcc-5.patch"
LICENSE="BSD"
SLOT="0/${PV}"
@@ -29,6 +30,6 @@ DEPEND="${RDEPEND}
"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc-5.patch
+ epatch "${DISTDIR}"/${P}-gcc-5.patch
epatch "${FILESDIR}"/${P}-ghc-8.patch
}