From nobody Tue Sep 10 05:24:41 2024 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 4X2sZx6cryz5WldT; Tue, 10 Sep 2024 05:24:41 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2sZx673Sz57B8; Tue, 10 Sep 2024 05:24:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725945881; 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=BuUXRwQBzpVP6nkt3BVO/XXlATBMSV3RNXIP969yfCE=; b=pKyCHn8wmh8okWHnjILYk4JbVuNvIT85Lj2voOqLuevDMxJCMdiJRgnatGdsx7dUBqXqY1 tEeY45wNICFkHfop0J6c/olGLqFmRL2SFgfQmjdVo3llm47e2ewOffjrIKA+4tJ1ebbhjX N8Qa7jIDUS5uXhn1PLGYV9pCmKbK2y9qqcCxz6Q3Szh71+wN2FYNN1uHUd4Ltq+VxpL+kV NYgRLTYCgzSEqElJ3Tf7Us0doGk/w+8oPmaUVROPvB+WWnbW//S/Z/UgBWQ5hV7YsCWKdX MbY/VdJpBdZ4AOt9bwtEvNCtxiiSlRYOWaAO//LZzZUoA4FMmXxAJofVhrSFWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725945881; a=rsa-sha256; cv=none; b=IHMnDTHNonMvlKqrIOOtPjFLfoqif7tbietDj7hBjerGtCgdiEWZn3GBdUB44OredmttTC i1uiiz6w/Uqlmz6SJb5mqVKtzjf5xMbOvau7hMvUTEyfZcrv25KBPnCId/vjHHtW1lVvoc lR2DQzH9OsMvjyuI+2DybURoL6I7ZZrdklMZbLfGGMTFGlRXW/9GSIJs+rOVM4xtpKIbRz G3sOhdaRkNSMtmt75O51eNVfuODpq56DEDFOe/I5mMcwxDq371V0Z81/M8NOe3SyG8qqxi RF77mRpVyOIaQA02R2pxgupsZE9pJEqZfvyS3EVQoWkB3CL7cBHcJ/6J6ugC9g== 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=1725945881; 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=BuUXRwQBzpVP6nkt3BVO/XXlATBMSV3RNXIP969yfCE=; b=DsjuhSXsvDSeoIPYy6rjXXcl1oysZWKLam4vtK+eF+tNSvPpyL/Cg84rFiZAJSUzasQvmu uLWzzm2y040QfiP1mLvWN/91MX/ViGIIgfNS3fhQXIHSqPBNqcHYn1mTVPmocnI5d3eG08 YoTYJfn+nD+KIUAM0mOjUqlUFJgdDMwCiCzlN39Gcx5zIU0nWVkfZB+Yd4nluw59pGFT94 E5Qg+Ye3Xt5l4bVBpmPWPwQrsA+dlyJel6pW8ywgU/ynl6/Dt/r+fs2qwm8OengFu13/9w 5ntB/VUv4eTHMU2mipWpYzKFQB8/h08IsZPXTkH3oJEZIg4JbI8Vfj+tlgR7FA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X2sZx5k7JzZTv; Tue, 10 Sep 2024 05:24:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48A5OfIJ007503; Tue, 10 Sep 2024 05:24:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48A5Of2G007500; Tue, 10 Sep 2024 05:24:41 GMT (envelope-from git) Date: Tue, 10 Sep 2024 05:24:41 GMT Message-Id: <202409100524.48A5Of2G007500@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 2cab4551df7c - main - lang/gforth: unbreak the build in the -Werror=int-conversion mode 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: 2cab4551df7cf66a0c377f2d53f692f9ddd5f8c9 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cab4551df7cf66a0c377f2d53f692f9ddd5f8c9 commit 2cab4551df7cf66a0c377f2d53f692f9ddd5f8c9 Author: Alexey Dokuchaev AuthorDate: 2024-09-10 05:23:20 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-09-10 05:23:20 +0000 lang/gforth: unbreak the build in the -Werror=int-conversion mode Missing ecvt() function prototype was causing couple of warnings which had become hard errors with recent versions of GCC (14+). Getting rid of USE_GCC, while desirable, is not straightforward and requires more work. While here, set the TEST_TARGET which is part of the upstream's default ALL_TARGET, but we override that. PR: 281238 --- lang/gforth/Makefile | 2 +- lang/gforth/files/patch-engine_forth.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile index 4791cbb4bd42..aba8fcb1d346 100644 --- a/lang/gforth/Makefile +++ b/lang/gforth/Makefile @@ -20,10 +20,10 @@ USES= gmake libtool:build localbase makeinfo USE_GCC= yes USE_LDCONFIG= ${PREFIX}/lib/gforth/${PORTVERSION}/libcc-named GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= GFORTHHIST=${WRKSRC} MAKE_ENV= GFORTHHIST=${WRKSRC} ALL_TARGET= kernel/version.fs more info +TEST_TARGET= check MAKE_JOBS_UNSAFE=yes STRIP= #none diff --git a/lang/gforth/files/patch-engine_forth.h b/lang/gforth/files/patch-engine_forth.h new file mode 100644 index 000000000000..0ac980204cf2 --- /dev/null +++ b/lang/gforth/files/patch-engine_forth.h @@ -0,0 +1,11 @@ +--- 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); */