From nobody Tue Feb 24 17:41:51 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fL4m00qn1z6SfQ4 for ; Tue, 24 Feb 2026 17:41:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fL4m004yrz3RWq for ; Tue, 24 Feb 2026 17:41:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771954912; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OTCaadFeOBlutezUBREeru8SUwXvkGb6V8pGaTVhAQ8=; b=gIaesSDEc1Rauo/r1zJOx5I/GK5tSRCvisqmcc2QX6NaUvOo9E+c3Cpb42rzhfARbCkZPy hBwods/ckZ8D41K4g6Gufaf+BwUjRJtx0Q+DTwnqr6OkS8VaLsiUoV0FCgsiJgumyeD002 u3pfQ4H7R/3zq/bJN2CHGnnPmV+Do2AWJJ2GWbNa7b3Tbio8Subi97c3F6uDOiP/VGFGoc cMLde5+nxurB/27S+GvgVHlnQclj+j2WGsKYtTZmdvJovafjuF/8j2m75zERMO91moViSn LP4NqjvFhNcu3Iwi6/uB3tMpVP/A/MTuRBDdRlTI0H2CV+6FnMPp12Aj9ePu2A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771954912; a=rsa-sha256; cv=none; b=fAh5lALxaGgVVjvEwuQYAwLKZAtf+xN40UaoOwZ59E/XqnM5Ash1AuxZlGOWg1Wwwvw7jU 9Sp20Iq9uZefs2pJ0xBTZDuCcmzZJsxO4OovYlZSUnQ3MaVOxvX10TTeQfTUPRSLYBRZfi eHOD7nN6MRhk9qpZ+IUaGLnkMxmJ7J4hgw/tJBuNa7Z3P4RDd9AAFrTq6PDgmOFkKxkTl8 C41UIhUpqLDMeV7Mh4SxSuvzH8nVI9SgD2wsSO1DlWCotWb0J2V0pjyGWoFjJoyf8/Sw1n 4xY7TWlVuzYlSmrLodHy7sZGes4SIC85JVWQbiTJG43QCtoYpwzOxQjxr29Muw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771954912; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OTCaadFeOBlutezUBREeru8SUwXvkGb6V8pGaTVhAQ8=; b=cIJHs6eAN9k1pSbOY5E++GYWdsqxGyjUKU47TBHZlMpjahHKvby+kkhnrPfo8YEIskU0Qp /Hr4fTQJLW36rX0vXJzUnGD9emfGXKKDXVrfbgusm/1j0mS9t1wpQIkpXKdjs1apRD+wlj NzobzkfW6FOUwZgh3ffKRChWsjtfgs5ZMl1IQgh8MRQYr22uZC1Qggevkh2mZArp0gW953 iXofwudzMr5Ca36U917Rj4jQffOWDaZpoeM9WE7bw1oJKHewlCHYB8VFN/UowOK0fXEhfV bSCE8hQ6pZZ6qLmkdToODybXEBdgM5/1kLjaJIp42CDak0S/hSPlmaz0sB4QcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fL4lz6nksz9Vc for ; Tue, 24 Feb 2026 17:41:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 397c7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 24 Feb 2026 17:41:51 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: a02b3fd72dbe - main - lang/gforth: try to unbreak the port's build against GCC 15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a02b3fd72dbe6a6e56bcd97c25109a00fc9c29db Auto-Submitted: auto-generated Date: Tue, 24 Feb 2026 17:41:51 +0000 Message-Id: <699de2df.397c7.11e0e827@gitrepo.freebsd.org> The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=a02b3fd72dbe6a6e56bcd97c25109a00fc9c29db commit a02b3fd72dbe6a6e56bcd97c25109a00fc9c29db Author: Alexey Dokuchaev AuthorDate: 2026-02-24 17:40:06 +0000 Commit: Alexey Dokuchaev CommitDate: 2026-02-24 17:40:06 +0000 lang/gforth: try to unbreak the port's build against GCC 15 ... by pulling two upstream patches. While here, spell out ANS Forth (1994) in the COMMENT and port description, fix a typo, and provide a more meaningful MAKE_JOBS_UNSAFE reason. PR: 293330 --- lang/gforth/Makefile | 8 ++++++-- lang/gforth/distinfo | 5 +++++ lang/gforth/files/patch-engine_forth.h | 11 ----------- lang/gforth/files/patch-engine_getopt.h | 11 +++++++++++ lang/gforth/files/patch-fflib.fs | 11 ----------- lang/gforth/pkg-descr | 4 ++-- 6 files changed, 24 insertions(+), 26 deletions(-) diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile index aba8fcb1d346..25cfa31644bb 100644 --- a/lang/gforth/Makefile +++ b/lang/gforth/Makefile @@ -5,8 +5,12 @@ CATEGORIES= lang MASTER_SITES= http://www.complang.tuwien.ac.at/forth/gforth/ \ GNU +PATCH_SITES= https://cgit.git.savannah.gnu.org/cgit/gforth.git/patch/?id=e664cb01&dummy=/:c1 \ + https://cgit.git.savannah.gnu.org/cgit/gforth.git/patch/?id=4284a265&dummy=/:c2 +PATCHFILES= gforth-git-e664cb01.patch:-p1:c1 gforth-git-4284a265.patch:-p1:c2 + MAINTAINER= danfe@FreeBSD.org -COMMENT= Fast and portable Forth system +COMMENT= Fast and portable ANS Forth 94 implementation WWW= https://www.gnu.org/software/gforth/gforth.html LICENSE= GPLv3+ @@ -24,7 +28,7 @@ CONFIGURE_ENV= GFORTHHIST=${WRKSRC} MAKE_ENV= GFORTHHIST=${WRKSRC} ALL_TARGET= kernel/version.fs more info TEST_TARGET= check -MAKE_JOBS_UNSAFE=yes +MAKE_JOBS_UNSAFE= /bin/sh: ./gforth: not found STRIP= #none diff --git a/lang/gforth/distinfo b/lang/gforth/distinfo index ff5a69b7ebfb..c10726e5db38 100644 --- a/lang/gforth/distinfo +++ b/lang/gforth/distinfo @@ -1,2 +1,7 @@ +TIMESTAMP = 1402700282 SHA256 (gforth-0.7.3.tar.gz) = 2f62f2233bf022c23d01c920b1556aa13eab168e3236b13352ac5e9f18542bb0 SIZE (gforth-0.7.3.tar.gz) = 2523433 +SHA256 (gforth-git-e664cb01.patch) = 93ec083e7ceac20b1cae6337a5a88531a29e0a43c99eda9403c90a3ab7a918b8 +SIZE (gforth-git-e664cb01.patch) = 4890 +SHA256 (gforth-git-4284a265.patch) = c96dadad88135ff7c2e4783ce58a0c4b7869fc7dbb57de733fd599971fd40265 +SIZE (gforth-git-4284a265.patch) = 716 diff --git a/lang/gforth/files/patch-engine_forth.h b/lang/gforth/files/patch-engine_forth.h deleted file mode 100644 index 0ac980204cf2..000000000000 --- a/lang/gforth/files/patch-engine_forth.h +++ /dev/null @@ -1,11 +0,0 @@ ---- engine/forth.h.orig 2013-10-11 21:31:28 UTC -+++ engine/forth.h -@@ -490,7 +490,7 @@ extern double asinh(double r1); - extern double acosh(double r1); - #endif - #ifndef HAVE_ECVT --/* extern char* ecvt(double x, int len, int* exp, int* sign);*/ -+extern char* ecvt(double x, int len, int* exp, int* sign); - #endif - #ifndef HAVE_MEMMOVE - /* extern char *memmove(char *dest, const char *src, long n); */ diff --git a/lang/gforth/files/patch-engine_getopt.h b/lang/gforth/files/patch-engine_getopt.h new file mode 100644 index 000000000000..f7f1a89335e7 --- /dev/null +++ b/lang/gforth/files/patch-engine_getopt.h @@ -0,0 +1,11 @@ +--- engine/getopt.h.orig 2013-10-11 21:31:28 UTC ++++ engine/getopt.h +@@ -95,7 +95,7 @@ struct option + #define optional_argument 2 + + #if __STDC__ +-#if defined(__GNU_LIBRARY__) ++#if defined(__GNU_LIBRARY__) || defined(__FreeBSD__) + /* Many other libraries have conflicting prototypes for getopt, with + differences in the consts, in stdlib.h. To avoid compilation + errors, only prototype getopt for the GNU C library. */ diff --git a/lang/gforth/files/patch-fflib.fs b/lang/gforth/files/patch-fflib.fs deleted file mode 100644 index 9dc464a1e4e5..000000000000 --- a/lang/gforth/files/patch-fflib.fs +++ /dev/null @@ -1,11 +0,0 @@ ---- fflib.fs.orig 2013-10-11 21:31:28 UTC -+++ fflib.fs -@@ -37,7 +37,7 @@ s" callback" add-lib - \c typedef void *Label; - \c typedef Label *Xt; - \c --\c void gforth_callback_ffcall(Xt* fcall, void * alist) -+\c void gforth_callback_ffcall(void* fcall, va_alist alist) - \c { - \c #ifndef HAS_BACKLINK - \c void **gforth_pointers = saved_gforth_pointers; diff --git a/lang/gforth/pkg-descr b/lang/gforth/pkg-descr index 1bd0d0ada712..e52c2c5f7b1a 100644 --- a/lang/gforth/pkg-descr +++ b/lang/gforth/pkg-descr @@ -1,6 +1,6 @@ -Gforth is a fast and portable implementation of the ANS Forth +Gforth is a fast and portable implementation of the ANS Forth (1994) language. It works nicely with the Emacs editor, offers some nice features such as input completion and history and a powerful locals facility, and it even has a manual. Gforth employs traditional -implementation techniques: its inner innerpreter is indirect or +implementation techniques: its inner interpreter is indirect or direct threaded.