commit:     e0d3c5a0b31c380979d6c48e59b9c3d998e40096
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed May 10 12:02:23 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed May 10 12:02:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d3c5a0

app-misc/reptyr: Fixed build with >=glibc-2.24 (bug #581974).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-misc/reptyr/Manifest            |  1 +
 app-misc/reptyr/reptyr-0.6.2.ebuild | 12 ++++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/app-misc/reptyr/Manifest b/app-misc/reptyr/Manifest
index 77aa410f9bc..94e5178480d 100644
--- a/app-misc/reptyr/Manifest
+++ b/app-misc/reptyr/Manifest
@@ -1 +1,2 @@
+DIST reptyr-0.6.2-sysmacros.patch 598 SHA256 
2130765b7a60f60f2ac13a541eebb81d7b0d193e0b8875182b855f5be391a85f SHA512 
2d6c711a1d1268557925d15cf5d8154bc4ce47b5475ad05a5d358fd94a882991f33a8d99608e511d15dea6c08dcac615467f52bedb46330868540b03302e0cc9
 WHIRLPOOL 
e9013e2b3b75283cb3491da439eca04e0a2c321f5c87ef8a8765bb69b1f110e8fc78e9878a496bbc8f7f33eff20c4bea73fe6ccd4a650ba147115124efb744ba
 DIST reptyr-0.6.2.tar.gz 28533 SHA256 
c73de510eeedc37a0aac63ea4be9a3c841bbbda029232f871b15d53733a0ee1e SHA512 
ad0b378d3c30bbfaa30dfcc06c405c375c7e9bcc3bae2e7fb97b8c3f88f482f461c9c846df0064cc842149b07b8a6b616d95f74cdf38f1b2a5011f6b9328c327
 WHIRLPOOL 
47cd5ffb5f0b02df218a8af67c0458e9b69bce5172d30f36a692418437363a585ab345e556de034703ca5ac9826a8bd086b85aa492050551e9204a99700fd1fb

diff --git a/app-misc/reptyr/reptyr-0.6.2.ebuild 
b/app-misc/reptyr/reptyr-0.6.2.ebuild
index 1781e90e113..40892b3d1a6 100644
--- a/app-misc/reptyr/reptyr-0.6.2.ebuild
+++ b/app-misc/reptyr/reptyr-0.6.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit toolchain-funcs flag-o-matic vcs-snapshot
 
@@ -15,7 +15,15 @@ KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
 
 RESTRICT="test"
 
+# https://github.com/nelhage/reptyr/issues/81
+SRC_URI+=" 
https://github.com/nelhage/reptyr/commit/b45fd9238958fcf2d8f3d6fc23e6d491febea2ac.patch
 -> ${PN}-0.6.2-sysmacros.patch"
+
+PATCHES=(
+       "${DISTDIR}/${P}-sysmacros.patch" #581974
+)
+
 src_prepare() {
+       default
        # respect CFLAGS
        sed -i '/^override/d' Makefile || die
 }

Reply via email to