From nobody Tue Oct 01 20:12:47 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 4XJ8J00pnnz5XKRk; Tue, 01 Oct 2024 20:12:48 +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 4XJ8Hz5RQSz4jJV; Tue, 1 Oct 2024 20:12:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813567; 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=KtBhfRQGQNuKnVp7Wf0+wjpbf5N39zZlSOOoELztKVk=; b=lyFJ8Hu84U1QW69v8uSo7ofXwNOSLTMNygcxQsOaCIagCnbtyawys2nQL3zpWZNcYiBQxs BzhZqGlPaPmTi8Pn++pUpzfUpylcM9/P5C5rDZ+gdpd9Vr3+NMdvbbC1PTBHxULbQV/RKY b0lV/6xIpYnaRiXGv608Lv5Rbq69LbRONBSvKjFORMcTxk047brhFXM+gFleHphPIA1wVM RbfehAZs1Wzqhw9R0uXD9kOAdr+5hJdgNlOXmap2z18oJP4B9Emq7l44x65QYojbGwhoCH Sg4Jhb7k1rXGCfw7L+K3DcIcB+MRkX0BWZG++RvqTnrWxK0+HO6+/ifcpjFCbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813567; 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=KtBhfRQGQNuKnVp7Wf0+wjpbf5N39zZlSOOoELztKVk=; b=Ib8QqzDerSLUfA7x6quaZZLH4Gp4m/e4Xa2vY6kN84CD3a5PeiuurYdf+/8gZTanVLTxxq nR8n/j53ZRoOAUVSFjsZ7vJ5JsBhuA/pr6K8QG0qGqnx4C9as/qRhp1ZsrLYmIcTLnxiKp ed91A9tCevz+9ZYqqjLW0fo8puT9wftx4Vmyu4xJMyfmF3Ukz3uxPWWxrEWgs+R4asIuiu FA6IwzMsLiagpUmy2hLI2L4WmZ2di/7SWkYKc/MebczZ6oRqcFNFB7/EP+X4MlY7tMriEP NddyFP2/uzwPLj7407+wiAjgS8V/1givvhMnSPPOdjNKo8KiFUHY2hgIm8wEtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727813567; a=rsa-sha256; cv=none; b=tfo7CJsNX4IFrguyENGOZak3EB05mzcGovAMavsXRvugkW1dD1woNuRpo+ImgScFgOqYUK UixdPCUxNFgIid+w6PL0nJNmJGNp9HBqoX9kZU9wSoHqRB21T4vRzauppsxO+yRlwhXAQ5 Sg/UxT8mFgv0iUzmnsMpG644GxmX9pUoscp8VKfo2wnHeXJ4R95+M0krBWGG9pSOONxFqd Mjiuh/hyj4i0RWYkJmqHbkUcglrss5R8EeWETqChTjguSdjtntmKqq6CAj9mF0+PTyXWVi RDS9fRcvRS937Sp5JZpHNnRTyIqhOz1iFf3ocLnvAX7xNgsD3UkGqtVxsGjeXA== 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 4XJ8Hz4dfpzrnK; Tue, 1 Oct 2024 20:12:47 +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 491KClVO049681; Tue, 1 Oct 2024 20:12:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 491KClZR049678; Tue, 1 Oct 2024 20:12:47 GMT (envelope-from git) Date: Tue, 1 Oct 2024 20:12:47 GMT Message-Id: <202410012012.491KClZR049678@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: 4fb33e13da04 - main - lang/pbasic: include errno.h for errno 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: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fb33e13da045dfe3a59b791c0f556e5663b8f3e Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fb33e13da045dfe3a59b791c0f556e5663b8f3e commit 4fb33e13da045dfe3a59b791c0f556e5663b8f3e Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-10-01 20:11:46 +0000 lang/pbasic: include errno.h for errno errno must be accessed by a macro from errno.h. PR: 281784 Approved by: portmgr (build fix blanket), mikael --- lang/pbasic/Makefile | 2 +- lang/pbasic/files/patch-bas3.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lang/pbasic/Makefile b/lang/pbasic/Makefile index ffd2e45ad2ac..f3d16f8cce5f 100644 --- a/lang/pbasic/Makefile +++ b/lang/pbasic/Makefile @@ -1,6 +1,6 @@ PORTNAME= pbasic PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= ftp://ftp.berklix.org/pub/FreeBSD/ports/distfiles/ \ http://www.berklix.com/~jhs/ftp/distfiles/ diff --git a/lang/pbasic/files/patch-bas3.c b/lang/pbasic/files/patch-bas3.c new file mode 100644 index 000000000000..47ba91acc224 --- /dev/null +++ b/lang/pbasic/files/patch-bas3.c @@ -0,0 +1,18 @@ +--- bas3.c.orig ++++ bas3.c +@@ -2,6 +2,7 @@ + * BASIC by Phil Cockcroft + */ + #include "bas.h" ++#include + + /* + * This file contains the numeric evaluation routines and some +@@ -1513,7 +1514,6 @@ + */ + #define MAX_SYS_ARGS 6 + +-extern int errno; + #ifdef __STDC__ + extern int syscall(int, ...); + #else