* [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/files/, net-dialup/freeradius-client/
@ 2020-09-02 20:41 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2020-09-02 20:41 UTC (permalink / raw
To: gentoo-commits
commit: 97cf65fd933a09edc3bd7282c4d8f10ab27fb227
Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Mon Aug 31 19:27:17 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 2 20:40:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cf65fd
net-dialup/freeradius-client: respect AR
Closes: https://bugs.gentoo.org/730388
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/17351
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/freeradius-client-1.1.7-ar-configure.in.patch | 10 ++++++++++
.../freeradius-client/freeradius-client-1.1.7-r1.ebuild | 14 ++++++--------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch
new file mode 100644
index 00000000000..07d477bcc90
--- /dev/null
+++ b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch
@@ -0,0 +1,10 @@
+--- a/configure.in 2020-07-08 19:20:38.180447370 +0200
++++ b/configure.in 2020-07-08 19:21:00.840479965 +0200
+@@ -33,6 +33,6 @@
+
+ dnl Needed for normal compile
+-AC_PATH_PROG(AR, ar)
++AM_PROG_AR
+ AM_PROG_LIBTOOL
+
+ dnl HAVE_SHADOW_PASSWORDS
diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 0b182155d46..564fb5f2205 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools toolchain-funcs
+inherit autotools
DESCRIPTION="FreeRADIUS Client framework"
HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient"
@@ -23,27 +23,25 @@ DOCS=(
README.{radexample,rst}
)
+PATCHES=(
+ "${FILESDIR}/${P}-ar-configure.in.patch"
+)
+
src_prepare() {
default
mv configure.in configure.ac || die \
"Renaming configure.in to configure.ac failed"
+
eautoreconf
}
src_configure() {
- tc-export AR
-
local myeconfargs=(
$(use_enable scp)
$(use_enable shadow)
--with-secure-path
)
econf "${myeconfargs[@]}"
-
- for MAKEFILE in $(find -name Makefile) libtool; do
- sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \
- die "Patching ${MAKEFILE} for ${AR} failed"
- done
}
src_install() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/files/, net-dialup/freeradius-client/
@ 2023-01-10 10:59 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-01-10 10:59 UTC (permalink / raw
To: gentoo-commits
commit: b9832472df5cd80f931ef2d6411a7b2a500918ad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 10:48:54 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 10:52:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9832472
net-dialup/freeradius-client: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../freeradius-client-1.1.7-configure-clang16.patch | 17 +++++++++++++++++
....1.7-r2.ebuild => freeradius-client-1.1.7-r3.ebuild} | 3 ++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
new file mode 100644
index 000000000000..58cf78c6ff23
--- /dev/null
+++ b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-configure-clang16.patch
@@ -0,0 +1,17 @@
+https://src.fedoraproject.org/rpms/freeradius-client/c/12ee8b567ce2a1b6637ad01e5806a15eeef410cc?branch=rawhide
+
+Add return type to main for autoconf check for C99 compliance.
+https://github.com/FreeRADIUS/freeradius-client/issues/113
+
+--- a/configure.in
++++ b/configure.in
+@@ -212,7 +212,7 @@ then
+ AC_TRY_RUN([
+ #include <sys/utsname.h>
+
+- main(int argc, char **argv)
++ int main(int argc, char **argv)
+ {
+ struct utsname uts;
+ uts.domainname[0] = '\0';
+
diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
similarity index 92%
rename from net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
rename to net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
index 447e44887dd1..45d79ae7e6ab 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r2.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,6 +28,7 @@ DOCS=(
PATCHES=(
"${FILESDIR}/${PN}-1.1.7-ar-configure.in.patch"
+ "${FILESDIR}/${PN}-1.1.7-configure-clang16.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-10 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02 20:41 [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/files/, net-dialup/freeradius-client/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-01-10 10:59 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox