git: cd465be18ab7 - main - lang/gawk: backport upstream patch for systems without MPFR and GMP

Alexey Dokuchaev <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cd465be18ab7492cf82e19c875a47e6f197126e6

commit cd465be18ab7492cf82e19c875a47e6f197126e6
Author:     Alexey Dokuchaev <[email protected]>
AuthorDate: 2026-08-15 12:17:28 +0000
Commit:     Alexey Dokuchaev <[email protected]>
CommitDate: 2026-08-15 12:17:28 +0000

    lang/gawk: backport upstream patch for systems without MPFR and GMP
    
    This affects us because MPFR option for multiple-precision floating
    -point support added with r322035 (now commit 6c3d62a0a143) back in
    2013 is disabled by default.  We might flip the switch one day, but
    that would require extra care and testing to not break other things.
    
    Pull the identical patch from GitHub mirror which is easier to work
    against than Savannah repository (commit hashes remain the same).
    
    PR:             297421
    Submitted by:   leres
---
 lang/gawk/Makefile | 4 ++++
 lang/gawk/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 434881a32cff..bf07c41b6474 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	gawk
 PORTVERSION=	5.4.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	GNU
 
+PATCH_SITES=	https://github.com/sailfishos-mirror/${PORTNAME}/commit/
+PATCHFILES=	bf85f8a3175af703597082d4c7e0abc2066a44d3.patch:-p1
+
 MAINTAINER=	[email protected]
 COMMENT=	GNU version of AWK scripting language
 WWW=		https://www.gnu.org/software/gawk/gawk.html
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo
index 163b5a97e5bc..932da523dd98 100644
--- a/lang/gawk/distinfo
+++ b/lang/gawk/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1783616180
 SHA256 (gawk-5.4.1.tar.lz) = e5cf1994979ccee99a4e97223c687b67be27015b2f8f368c62250fe81109813b
 SIZE (gawk-5.4.1.tar.lz) = 3644362
+SHA256 (bf85f8a3175af703597082d4c7e0abc2066a44d3.patch) = d78a4318005ee7ed9473e5f17be9d4101dfcc828ab155ec3961b44bf2599d4e9
+SIZE (bf85f8a3175af703597082d4c7e0abc2066a44d3.patch) = 2058
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.