commit: 81732bd14d9907c32d1813ba3b7d073d5363b5f3 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Dec 30 08:08:19 2019 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Dec 30 08:08:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81732bd1
sys-fs/hfsutils: Export CC Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/704232 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch | 5 ++--- .../hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch | 4 ++-- sys-fs/hfsutils/files/largerthan2gb.patch | 4 ++-- ...tils-3.2.6-r5.ebuild => hfsutils-3.2.6-r6.ebuild} | 20 +++++++++----------- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch b/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch index 6e25f794b22..f8ab6a0bf0a 100644 --- a/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch @@ -1,6 +1,5 @@ -diff -ruN hfsutils.orig/tclhfs.c hfsutils-3.2.6/tclhfs.c ---- hfsutils.orig/tclhfs.c 2003-03-31 17:34:55.000000000 +0200 -+++ hfsutils-3.2.6/tclhfs.c 2003-03-31 17:39:51.000000000 +0200 +--- a/tclhfs.c ++++ b/tclhfs.c @@ -43,8 +43,7 @@ # include "charset.h" # include "suid.h" diff --git a/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch b/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch index 19f15424543..8faf06e0f77 100644 --- a/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch @@ -1,5 +1,5 @@ ---- hfsutils-3.2.6/config.h.in -+++ hfsutils-3.2.6/config.h.in +--- a/config.h.in ++++ b/config.h.in @@ -91,3 +91,5 @@ # ifndef HAVE_STRTOL long strtol(const char *, char **, int); diff --git a/sys-fs/hfsutils/files/largerthan2gb.patch b/sys-fs/hfsutils/files/largerthan2gb.patch index a688ff621a3..fb9fb7787f9 100644 --- a/sys-fs/hfsutils/files/largerthan2gb.patch +++ b/sys-fs/hfsutils/files/largerthan2gb.patch @@ -1,5 +1,5 @@ ---- libhfs/os/unix.c-orig 1998-11-02 23:09:13.000000000 +0100 -+++ libhfs/os/unix.c 2004-12-13 14:39:28.099124272 +0100 +--- a/libhfs/os/unix.c ++++ b/libhfs/os/unix.c @@ -19,6 +19,11 @@ * $Id$ */ diff --git a/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild b/sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild similarity index 79% rename from sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild rename to sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild index 1d19c5f6f8e..23076395fd7 100644 --- a/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild +++ b/sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils toolchain-funcs +EAPI=7 +inherit toolchain-funcs DESCRIPTION="HFS FS Access utils" HOMEPAGE="https://www.mars.org/home/rob/proj/hfs/" @@ -21,15 +20,14 @@ RDEPEND="${DEPEND}" # use tk requires tcl - bug #150437 REQUIRED_USE="tk? ( tcl )" - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-errno.patch \ - "${FILESDIR}"/largerthan2gb.patch \ - "${FILESDIR}"/${P}-fix-tcl-8.6.patch -} +PATCHES=( + "${FILESDIR}"/${P}-errno.patch + "${FILESDIR}"/largerthan2gb.patch + "${FILESDIR}"/${P}-fix-tcl-8.6.patch +) src_configure() { + tc-export CC econf $(use_with tcl) $(use_with tk) }
