Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/dial/files/, net-dialup/dial/
Date: Tue, 27 Sep 2022 23:44:12
Message-Id: 1664322216.daf3068ed0384f9a1503fe6ba36855ffc2217540.sam@gentoo
1 commit: daf3068ed0384f9a1503fe6ba36855ffc2217540
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 27 23:30:30 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 23:43:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf3068e
7
8 net-dialup/dial: fix configure w/ clang 16
9
10 Closes: https://bugs.gentoo.org/870463
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-dialup/dial/dial-1.2-r2.ebuild | 19 ++++++++++++++-----
14 .../dial/files/dial-1.2-rename-configure.ac.patch | 12 ++++++++++++
15 2 files changed, 26 insertions(+), 5 deletions(-)
16
17 diff --git a/net-dialup/dial/dial-1.2-r2.ebuild b/net-dialup/dial/dial-1.2-r2.ebuild
18 index fef44139988a..37302de0f879 100644
19 --- a/net-dialup/dial/dial-1.2-r2.ebuild
20 +++ b/net-dialup/dial/dial-1.2-r2.ebuild
21 @@ -1,7 +1,9 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=8
28 +
29 +inherit autotools
30
31 DESCRIPTION="A simple client for DWUN"
32 HOMEPAGE="http://dwun.sourceforge.net/"
33 @@ -10,9 +12,16 @@ SRC_URI="mirror://sourceforge/dwun/${P}.tar.gz"
34 LICENSE="MIT"
35 SLOT="0"
36 KEYWORDS="~amd64 x86"
37 -IUSE=""
38
39 -DEPEND=""
40 RDEPEND="net-dialup/dwun"
41
42 -PATCHES=( "${FILESDIR}/${P}-gcc3.3.patch" )
43 +PATCHES=(
44 + "${FILESDIR}"/${P}-gcc3.3.patch
45 + "${FILESDIR}"/${P}-rename-configure.ac.patch
46 +)
47 +
48 +src_prepare() {
49 + default
50 +
51 + eautoreconf
52 +}
53
54 diff --git a/net-dialup/dial/files/dial-1.2-rename-configure.ac.patch b/net-dialup/dial/files/dial-1.2-rename-configure.ac.patch
55 new file mode 100644
56 index 000000000000..e4436427e529
57 --- /dev/null
58 +++ b/net-dialup/dial/files/dial-1.2-rename-configure.ac.patch
59 @@ -0,0 +1,12 @@
60 +--- a/configure.in
61 ++++ b/configure.in
62 +@@ -1,5 +1,5 @@
63 + dnl Process this file with autoconf to produce a configure script.
64 +-AC_INIT(configure.in)
65 ++AC_INIT(configure.ac)
66 + AM_INIT_AUTOMAKE(dial, 1.2)
67 + AM_CONFIG_HEADER(config.h)
68 +
69 +--
70 +2.37.3
71 +