From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD2D61581B9 for ; Tue, 23 Sep 2025 13:43:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B2427340E9F for ; Tue, 23 Sep 2025 13:43:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E4520110575; Tue, 23 Sep 2025 13:43:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DC160110575 for ; Tue, 23 Sep 2025 13:43:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A989335DCC for ; Tue, 23 Sep 2025 13:43:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEF4F3A0A for ; Tue, 23 Sep 2025 13:43:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1758634928.9560e80cc86e9dd1a8f55fa8be10b5d444db6ae9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipv6calc/files/, net-misc/ipv6calc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ipv6calc/files/ipv6calc-4.3.2-fix_configure.patch net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild X-VCS-Directories: net-misc/ipv6calc/ net-misc/ipv6calc/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9560e80cc86e9dd1a8f55fa8be10b5d444db6ae9 X-VCS-Branch: master Date: Tue, 23 Sep 2025 13:43:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b15c68d-11ff-43a5-9683-b9053b281c3b X-Archives-Hash: 70473406d0c4e2fe9cbd2af2b6a35146 commit: 9560e80cc86e9dd1a8f55fa8be10b5d444db6ae9 Author: Nicolas PARLANT parhuet fr> AuthorDate: Tue Sep 23 02:17:28 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 23 13:42:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9560e80c net-misc/ipv6calc: fix linking order in configure Closes: https://bugs.gentoo.org/962710 Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43905 Signed-off-by: Sam James gentoo.org> .../files/ipv6calc-4.3.2-fix_configure.patch | 65 ++++++++++++++++++++++ net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild | 1 + 2 files changed, 66 insertions(+) diff --git a/net-misc/ipv6calc/files/ipv6calc-4.3.2-fix_configure.patch b/net-misc/ipv6calc/files/ipv6calc-4.3.2-fix_configure.patch new file mode 100644 index 000000000000..04f4ff8d7066 --- /dev/null +++ b/net-misc/ipv6calc/files/ipv6calc-4.3.2-fix_configure.patch @@ -0,0 +1,65 @@ +PR merged https://github.com/pbiering/ipv6calc/pull/51.patch +use LIBS instead of LDFLAGS #962710 +fix the failure that might happen with --as-needed +--- a/configure.ac ++++ b/configure.ac +@@ -310,8 +310,8 @@ AC_CHECK_HEADER(md5.h, [ + AC_MSG_RESULT([libmd/md5.h header file found]) + AC_CHECK_LIB(md, MD5Init, + [ +- LDFLAGS_ORIG="$LDFLAGS" +- LDFLAGS="-lmd $LDFLAGS" ++ LIBS_ORIG="$LIBS" ++ LIBS="-lmd $LIBS" + HAVE_LIBMD_MD5=1 + AC_CHECK_FUNCS(MD5Init MD5Update MD5Final, + [ +@@ -319,7 +319,7 @@ AC_CHECK_HEADER(md5.h, [ + AC_MSG_RESULT([libmd crypto library supports MD5]) + HAVE_OPENSSL_MD5=0 + ]) +- LDFLAGS="$LDFLAGS_ORIG" ++ LIBS="$LIBS_ORIG" + + if test "$HAVE_LIBMD_MD5" = "1"; then + AC_MSG_RESULT([*** libmd crypto library supports MD5]) +@@ -336,8 +336,8 @@ AC_CHECK_HEADER(openssl/evp.h, [ + AC_MSG_RESULT([openssl/evp.h header file found]) + AC_CHECK_LIB(crypto, EVP_DigestInit_ex, + [ +- LDFLAGS_ORIG="$LDFLAGS" +- LDFLAGS="-lcrypto $LDFLAGS" ++ LIBS_ORIG="$LIBS" ++ LIBS="-lcrypto $LIBS" + HAVE_OPENSSL_EVP_MD5=1 + HAVE_OPENSSL_EVP_MD5_LEGACY=1 + +@@ -357,7 +357,7 @@ AC_CHECK_HEADER(openssl/evp.h, [ + HAVE_OPENSSL_EVP_MD5_LEGACY=0 + ]) + +- LDFLAGS="$LDFLAGS_ORIG" ++ LIBS="$LIBS_ORIG" + + if test "$HAVE_OPENSSL_EVP_MD5" = "1"; then + AC_MSG_RESULT([*** OpenSSL crypto library supports MD5 via EVP implementation]) +@@ -374,8 +374,8 @@ AC_CHECK_HEADER(openssl/md5.h, [ + AC_MSG_RESULT([openssl/md5.h header file found]) + AC_CHECK_LIB(crypto, MD5_Init, + [ +- LDFLAGS_ORIG="$LDFLAGS" +- LDFLAGS="-lcrypto $LDFLAGS" ++ LIBS_ORIG="$LIBS" ++ LIBS="-lcrypto $LIBS" + HAVE_OPENSSL_MD5=1 + AC_CHECK_FUNCS(MD5_Init MD5_Update MD5_Final, + [ +@@ -383,7 +383,7 @@ AC_CHECK_HEADER(openssl/md5.h, [ + AC_MSG_RESULT([OpenSSL crypto library supports MD5 via legacy implementation]) + HAVE_OPENSSL_MD5=0 + ]) +- LDFLAGS="$LDFLAGS_ORIG" ++ LIBS="$LIBS_ORIG" + + if test "$HAVE_OPENSSL_MD5" = "1"; then + AC_MSG_RESULT([*** OpenSSL crypto library supports MD5 via legacy implementation]) diff --git a/net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild b/net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild index 387b548a470e..c6db22add90c 100644 --- a/net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild +++ b/net-misc/ipv6calc/ipv6calc-4.3.2-r1.ebuild @@ -34,6 +34,7 @@ PATCHES=( # both are merged. to be removed. "${FILESDIR}"/${P}-fix_directcall_ar.patch "${FILESDIR}"/${P}-fix_libs.patch + "${FILESDIR}"/${P}-fix_configure.patch ) DOCS=( ChangeLog CREDITS README README.MaxMindDB README.GeoIP2 TODO USAGE )