From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 691A4C433F5 for ; Thu, 13 Jan 2022 17:59:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1EC0841671; Thu, 13 Jan 2022 17:59:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o1tREIdoHShw; Thu, 13 Jan 2022 17:59:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 2FA134165C; Thu, 13 Jan 2022 17:59:04 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 22E011BF2B9 for ; Thu, 13 Jan 2022 17:59:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 11B9783E5F for ; Thu, 13 Jan 2022 17:59:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=free.fr Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X-If6cG5NSGg for ; Thu, 13 Jan 2022 17:59:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by smtp1.osuosl.org (Postfix) with ESMTPS id 139CB83E0E for ; Thu, 13 Jan 2022 17:59:01 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8b51:cb00:84d2:7b0:3327:1b6e]) (Authenticated sender: yann.morin.1998@free.fr) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 15A4E19F5AB; Thu, 13 Jan 2022 18:58:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1642096740; bh=29LwTtznBWHLSHEdSFdYJuCbr9IaAFVzNX2eNm8hK18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OuWw4sn6m5grq9if1UB3Y1zyN9Y4rhawgFZpfC1gUUJ9dOQbWpZ+7sYK3c120BTIg QPZbVbF7hWafThFCIJJEeUc1dkajEtr3Gy3MAyTWN9lfUlMTVTpH86STMq9P1HxCIm RWJv3yphxuP5CAr0uqMK1eyvHhJ/ChbkrcwTH4CtjoBdq4nd+UNcq61t7PwXX6WWDj UxG2jmN1UUaZynM8Xj6l3HsMiMgCDWx1McyzQLlz9KgzdtM4s2L9YxemutWI1c8hLD pglqhLl/nQrSqJ1+86Q2g62Nn4OGSxVNB4b92TmzFdw80o28JIefLBveJZ8SPA5KMG 86tfWQsfcJ7VQ== Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Thu, 13 Jan 2022 18:58:57 +0100 Date: Thu, 13 Jan 2022 18:58:57 +0100 From: "Yann E. MORIN" To: Baruch Siach Message-ID: <20220113175857.GL1477939@scaer> References: <541525e413f6b72c67b8602fc88e916486931d5f.1642091818.git.baruch@tkos.co.il> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <541525e413f6b72c67b8602fc88e916486931d5f.1642091818.git.baruch@tkos.co.il> User-Agent: Mutt/1.5.22 (2013-10-16) Subject: Re: [Buildroot] [PATCH] package/socat: bump to version 1.7.4.3 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@busybox.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Baruch, All, On 2022-01-13 18:36 +0200, Baruch Siach via buildroot spake thusly: > Update README hash for version number change. > > Add a patch fixing build with musl. > > Signed-off-by: Baruch Siach Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...-correct-the-getprotobynumber_r-test.patch | 43 +++++++++++++++++++ > package/socat/socat.hash | 6 +-- > package/socat/socat.mk | 2 +- > 3 files changed, 47 insertions(+), 4 deletions(-) > create mode 100644 package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch > > diff --git a/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch b/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch > new file mode 100644 > index 000000000000..de9540553191 > --- /dev/null > +++ b/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch > @@ -0,0 +1,43 @@ > +From d56a11beb9b181fd91a70a6d703dfbdfe887122a Mon Sep 17 00:00:00 2001 > +From: Baruch Siach > +Date: Thu, 13 Jan 2022 17:56:10 +0200 > +Subject: [PATCH] configure.ac: correct the getprotobynumber_r test > + > +The AC_TRY_COMPILE test succeeds even when libc does not provide the > +tested symbol. The compiler produces a warning, but exits successfully. > +Use AC_TRY_LINK that will only succeeds if libc provides the symbol. > + > +This fixes build with musl libc that does not support > +getprotobynumber_r(). > + > +Signed-off-by: Baruch Siach > +--- > +Upstream status: sent to socat@dest-unreach.org > + > + configure.ac | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index d4acc9e7e6f5..973a7f2218c9 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -137,13 +137,13 @@ AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) > + # getprotobynumber_r() is not standardized > + AC_MSG_CHECKING(for getprotobynumber_r() variant) > + AC_CACHE_VAL(sc_cv_getprotobynumber_r, > +-[AC_TRY_COMPILE([#include > ++[AC_TRY_LINK([#include > + #include ],[getprotobynumber_r(1,NULL,NULL,1024,NULL);], > + [sc_cv_getprotobynumber_r=1; tmp_bynum_variant=Linux], > +- [AC_TRY_COMPILE([#include > ++ [AC_TRY_LINK([#include > + #include ],[getprotobynumber_r(1,NULL,NULL,1024);], > + [sc_cv_getprotobynumber_r=2; tmp_bynum_variant=Solaris], > +- [AC_TRY_COMPILE([#include > ++ [AC_TRY_LINK([#include > + #include ],[getprotobynumber_r(1,NULL,NULL);], > + [sc_cv_getprotobynumber_r=3; tmp_bynum_variant=AIX], > + > +-- > +2.34.1 > + > diff --git a/package/socat/socat.hash b/package/socat/socat.hash > index 0d9d0ba76c9d..4f7ff5328e28 100644 > --- a/package/socat/socat.hash > +++ b/package/socat/socat.hash > @@ -1,8 +1,8 @@ > # From http://www.dest-unreach.org/socat/download.md5sum > -md5 003686f80d820072649660b85f80c58f socat-1.7.4.2.tar.bz2 > +md5 5c28dd258ba928326d0716fcb4895cc2 socat-1.7.4.3.tar.bz2 > # From http://www.dest-unreach.org/socat/download.sha256sum > -sha256 6690a9f9990457b505097a272bbf2cbf4cc35576176f76646e3524b0e91c1763 socat-1.7.4.2.tar.bz2 > +sha256 d47318104415077635119dfee44bcfb41de3497374a9a001b1aff6e2f0858007 socat-1.7.4.3.tar.bz2 > # Locally calculated > -sha256 062e425b43da6b3df6d8657639b5e2c781781572b5d8867444fd6d2487ac7644 README > +sha256 432aebfec164bedcaada7cdf2849e1f003fa00a91a0a1ed34d7cf4abe980f5fb README > sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSL > diff --git a/package/socat/socat.mk b/package/socat/socat.mk > index cf2a31b0969c..e20577492d86 100644 > --- a/package/socat/socat.mk > +++ b/package/socat/socat.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SOCAT_VERSION = 1.7.4.2 > +SOCAT_VERSION = 1.7.4.3 > SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2 > SOCAT_SITE = http://www.dest-unreach.org/socat/download > SOCAT_LICENSE = GPL-2.0 with OpenSSL exception > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot