Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/hfsutils/files/, sys-fs/hfsutils/
Date: Mon, 30 Dec 2019 08:08:54
Message-Id: 1577693325.81732bd14d9907c32d1813ba3b7d073d5363b5f3.jer@gentoo
1 commit: 81732bd14d9907c32d1813ba3b7d073d5363b5f3
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 08:08:19 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 08:08:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81732bd1
7
8 sys-fs/hfsutils: Export CC
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Closes: https://bugs.gentoo.org/704232
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch | 5 ++---
15 .../hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch | 4 ++--
16 sys-fs/hfsutils/files/largerthan2gb.patch | 4 ++--
17 ...tils-3.2.6-r5.ebuild => hfsutils-3.2.6-r6.ebuild} | 20 +++++++++-----------
18 4 files changed, 15 insertions(+), 18 deletions(-)
19
20 diff --git a/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch b/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch
21 index 6e25f794b22..f8ab6a0bf0a 100644
22 --- a/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch
23 +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch
24 @@ -1,6 +1,5 @@
25 -diff -ruN hfsutils.orig/tclhfs.c hfsutils-3.2.6/tclhfs.c
26 ---- hfsutils.orig/tclhfs.c 2003-03-31 17:34:55.000000000 +0200
27 -+++ hfsutils-3.2.6/tclhfs.c 2003-03-31 17:39:51.000000000 +0200
28 +--- a/tclhfs.c
29 ++++ b/tclhfs.c
30 @@ -43,8 +43,7 @@
31 # include "charset.h"
32 # include "suid.h"
33
34 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
35 index 19f15424543..8faf06e0f77 100644
36 --- a/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch
37 +++ b/sys-fs/hfsutils/files/hfsutils-3.2.6-fix-tcl-8.6.patch
38 @@ -1,5 +1,5 @@
39 ---- hfsutils-3.2.6/config.h.in
40 -+++ hfsutils-3.2.6/config.h.in
41 +--- a/config.h.in
42 ++++ b/config.h.in
43 @@ -91,3 +91,5 @@
44 # ifndef HAVE_STRTOL
45 long strtol(const char *, char **, int);
46
47 diff --git a/sys-fs/hfsutils/files/largerthan2gb.patch b/sys-fs/hfsutils/files/largerthan2gb.patch
48 index a688ff621a3..fb9fb7787f9 100644
49 --- a/sys-fs/hfsutils/files/largerthan2gb.patch
50 +++ b/sys-fs/hfsutils/files/largerthan2gb.patch
51 @@ -1,5 +1,5 @@
52 ---- libhfs/os/unix.c-orig 1998-11-02 23:09:13.000000000 +0100
53 -+++ libhfs/os/unix.c 2004-12-13 14:39:28.099124272 +0100
54 +--- a/libhfs/os/unix.c
55 ++++ b/libhfs/os/unix.c
56 @@ -19,6 +19,11 @@
57 * $Id$
58 */
59
60 diff --git a/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild b/sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild
61 similarity index 79%
62 rename from sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild
63 rename to sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild
64 index 1d19c5f6f8e..23076395fd7 100644
65 --- a/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild
66 +++ b/sys-fs/hfsutils/hfsutils-3.2.6-r6.ebuild
67 @@ -1,9 +1,8 @@
68 -# Copyright 1999-2018 Gentoo Foundation
69 +# Copyright 1999-2019 Gentoo Authors
70 # Distributed under the terms of the GNU General Public License v2
71
72 -EAPI=5
73 -
74 -inherit eutils toolchain-funcs
75 +EAPI=7
76 +inherit toolchain-funcs
77
78 DESCRIPTION="HFS FS Access utils"
79 HOMEPAGE="https://www.mars.org/home/rob/proj/hfs/"
80 @@ -21,15 +20,14 @@ RDEPEND="${DEPEND}"
81
82 # use tk requires tcl - bug #150437
83 REQUIRED_USE="tk? ( tcl )"
84 -
85 -src_prepare() {
86 - epatch \
87 - "${FILESDIR}"/${P}-errno.patch \
88 - "${FILESDIR}"/largerthan2gb.patch \
89 - "${FILESDIR}"/${P}-fix-tcl-8.6.patch
90 -}
91 +PATCHES=(
92 + "${FILESDIR}"/${P}-errno.patch
93 + "${FILESDIR}"/largerthan2gb.patch
94 + "${FILESDIR}"/${P}-fix-tcl-8.6.patch
95 +)
96
97 src_configure() {
98 + tc-export CC
99 econf $(use_with tcl) $(use_with tk)
100 }