* [gentoo-commits] repo/gentoo:master commit in: net-dialup/dial/files/, net-dialup/dial/
@ 2022-09-27 23:44 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-09-27 23:44 UTC (permalink / raw
To: gentoo-commits
commit: daf3068ed0384f9a1503fe6ba36855ffc2217540
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 27 23:30:30 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 23:43:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf3068e
net-dialup/dial: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/870463
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-dialup/dial/dial-1.2-r2.ebuild | 19 ++++++++++++++-----
.../dial/files/dial-1.2-rename-configure.ac.patch | 12 ++++++++++++
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/net-dialup/dial/dial-1.2-r2.ebuild b/net-dialup/dial/dial-1.2-r2.ebuild
index fef44139988a..37302de0f879 100644
--- a/net-dialup/dial/dial-1.2-r2.ebuild
+++ b/net-dialup/dial/dial-1.2-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit autotools
DESCRIPTION="A simple client for DWUN"
HOMEPAGE="http://dwun.sourceforge.net/"
@@ -10,9 +12,16 @@ SRC_URI="mirror://sourceforge/dwun/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 x86"
-IUSE=""
-DEPEND=""
RDEPEND="net-dialup/dwun"
-PATCHES=( "${FILESDIR}/${P}-gcc3.3.patch" )
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc3.3.patch
+ "${FILESDIR}"/${P}-rename-configure.ac.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
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
new file mode 100644
index 000000000000..e4436427e529
--- /dev/null
+++ b/net-dialup/dial/files/dial-1.2-rename-configure.ac.patch
@@ -0,0 +1,12 @@
+--- a/configure.in
++++ b/configure.in
+@@ -1,5 +1,5 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(configure.in)
++AC_INIT(configure.ac)
+ AM_INIT_AUTOMAKE(dial, 1.2)
+ AM_CONFIG_HEADER(config.h)
+
+--
+2.37.3
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-27 23:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27 23:44 [gentoo-commits] repo/gentoo:master commit in: net-dialup/dial/files/, net-dialup/dial/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox