From nobody Mon Sep 30 22:15:16 2024 X-Original-To: dev-commits-ports-all@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 4XHb3m3j7Wz5XlST; Mon, 30 Sep 2024 22:15:16 +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 4XHb3m2L3tz4Tq6; Mon, 30 Sep 2024 22:15:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734516; 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=x8UnWIeFv2zoryefENUvsp8r0j5ECbwEU+MTyDLlmYU=; b=ncSWp1gZzSqsR6AbUaCl53v/G/DN+i6pIZFENH8tPPqJrsn5iosXNqT2VvxPVSzIKM6jJf 5BzAoQJKRHCycn3AiJlKJO39KqTof0rss8LRCV/XHZIHkOSkADvkA+zH0Y1oD6ts7iJVcT 9o4mWEZvgVEfuzk0aUV5EdKtD4eDfCgGiBiBQrgEfOHccP+VNV2Hqnzj1O1U2xQXnqkNrW G43cm6CZSP9WvW5pTaG7Xamym/0UBAOKFQLDW39qU5I6ZE+jm32NiSoB8S02POVNpAq6+k eKIxHSGskPMHPcNKxs9NiAXcDX8Hg3r71tT12N8D+cCJ9vO19rljBF4lJsoaBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734516; 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=x8UnWIeFv2zoryefENUvsp8r0j5ECbwEU+MTyDLlmYU=; b=qrpd83ZswaNnPQDNQy12T3f26h2hi5jN6XsrFhmDQi6U3x2qFs48Ohuxxv1f1Ej4h7SH5G nYJmmaUl/IVwACLd4iCWbOqTGoYtMLz1kSNJsQ9M1r0RKNNTqTZQtWu4Kem6gMRIWaly8x CkmZFSaqmRexTBHK9WOKEtdN8tyTdPgf5Gpduk1lUCjmKW1nLAxjU3/PnW4jrQXOSLZk9f ZiSdwmLX0HrRDndK293pJ67kArRxF/3nT3xOKKKRzwRV7Y8npV6PTFwNsh8TI4rEI4MuAB /sjAY+pUQQD6d7F73OnFqbxQa2w+y6+c0jIuLKl2BpHdHgRtjMDa0S5IQfBV5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727734516; a=rsa-sha256; cv=none; b=lMVE22hGCNN6dS6Tqa8hCBGEwXk8SNfukFBnoR931uBAYGgOBq0Z5iBxe84U6GQVp9bI/x bkcBjLDjwQtDaklwk0V3Dtsm5ysKEmeho8ph2L8HZkwxeXAMwkwnOPXXcLzWGvtS8Y8PBo Zi28A6Ax0NiCUoYOUI/S1uCBElTjW4A0TlUPf4wGplDSrPA+UxpFF/J4jemLULRf39rWEL wB4CUDt5y4Ngz76TjYQsHdV/OpFDjI3KlRtAqMKKwGYWyg9U8vMu3+gthLcLLoczUKnCAS yTSJsLsiGzsKhdis/24jl7XmTd6ASyPbtzj7E03zY+XVNELl6kupMzndoskpUQ== 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 4XHb3m1y3dz19Vx; Mon, 30 Sep 2024 22:15:16 +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 48UMFG7S010865; Mon, 30 Sep 2024 22:15:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UMFGET010862; Mon, 30 Sep 2024 22:15:16 GMT (envelope-from git) Date: Mon, 30 Sep 2024 22:15:16 GMT Message-Id: <202409302215.48UMFGET010862@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: c115a1975819 - main - mail/serialmail: include errno.h for errno List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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: c115a19758196af4a8eac7e831169e840797b3ae Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=c115a19758196af4a8eac7e831169e840797b3ae commit c115a19758196af4a8eac7e831169e840797b3ae Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-09-30 22:13:43 +0000 mail/serialmail: include errno.h for errno errno must be accessed by a macro from errno.h. --- mail/serialmail/Makefile | 2 +- mail/serialmail/files/patch-error.h | 11 +++++++++++ mail/serialmail/files/patch-leapsecs__read.c | 10 ++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/mail/serialmail/Makefile b/mail/serialmail/Makefile index 5d406d8f7f66..cab0a791cb96 100644 --- a/mail/serialmail/Makefile +++ b/mail/serialmail/Makefile @@ -1,6 +1,6 @@ PORTNAME= serialmail PORTVERSION= 0.75 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MASTER_SITES= http://cr.yp.to/software/ \ ftp://ftp.gbnet.net/pub/qmail/ \ diff --git a/mail/serialmail/files/patch-error.h b/mail/serialmail/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/mail/serialmail/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig ++++ error.h +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include + + extern int error_intr; + extern int error_nomem; diff --git a/mail/serialmail/files/patch-leapsecs__read.c b/mail/serialmail/files/patch-leapsecs__read.c new file mode 100644 index 000000000000..60cacfbe6e32 --- /dev/null +++ b/mail/serialmail/files/patch-leapsecs__read.c @@ -0,0 +1,10 @@ +--- leapsecs_read.c.orig ++++ leapsecs_read.c +@@ -2,7 +2,6 @@ + #include + #include + #include +-extern int errno; + #include "tai.h" + #include "leapsecs.h" +