From nobody Mon Sep 30 22:15:22 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 4XHb3v45LWz5XlXl; Mon, 30 Sep 2024 22:15:23 +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 4XHb3v0ztXz4VD0; Mon, 30 Sep 2024 22:15:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734523; 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=vwGYVWIWy6bRVSQHZsO94mG7G6B7h7W2Rxew1WCGh6E=; b=eEu1JY6lCOBA/PAGB+hqpwSua5oRhqUrqUhvMs1J9VtTr8BATQmgSfEHMY7akoSjG/1C5D XsZLt6ui52yprshcren+nUVfWR5U8QqfRmKgz0p8/okc+rEAqSGTbi2TXRHJKCBcVxKrzr mewEuVXzi/Unc8hy8lNgrA3tlYNwooeVbph34DSALCmuohRliZf7zkODcrFGdCbxRHtUrn HOqd/kyPX8x+1kX19vmR3J0w1Jbh4qvE0CX+Y8Vk+GfiENz5d/Yea1Q2Ml5Xz6lm0m8KPQ jpUo1dTZgWPyfYvM3sChPnFDM94M1E2sGoeFjcfBnn7+Jok3M6xxry6uyoGfBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734523; 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=vwGYVWIWy6bRVSQHZsO94mG7G6B7h7W2Rxew1WCGh6E=; b=NACwWu3oDtPXVUiiRJeq4pOD6e9aUZ8UsD9MAXlbwYi4JPjKdknyMGslGHNq5jt+dpx7Z2 zw7xscMzz3FTVrXPaj/yBkt8F0yefa2qFB8DVXommUJvVdKrf0/jMgK2qVgTu4Bo27hogB VoZr/uoGN9IqhJRfwwtSOQoRbJ7Wuzm3vaoP0QRK+G4gAB3MiZDU/y91ydEMwtr5UqGQtC Jzg9vNboYeyONGLoNPouxg6abwzAQMjzbLqpUW6kgX1jg2MGXmmO4QWuGUyjYP7eLrlVAJ pIgumt6ydikJuRk9T5H3uGHacgFi8TfZ01euG1DZPq+IRIb3T5Us++JYHA1H4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727734523; a=rsa-sha256; cv=none; b=pLGZ/xHadIX7vjafCsFDQ0V3FnqyjIvfZyoOK4Bqadn5z6BSBfA8M54bSuNDKkFHxR6d9H /aR8SbyLRxqY1DC5lbnWWoHYvTmHgFGva+1Wa5Yo1XQfkNJ9NGFu3AEde4hhjVappACtxJ hc49mc4vc6Sc4H3vkkdP0Awyy2kkGXBT5OGwxLX7Clwl54xqaCpFJVkRibQ32Cju5PBMh9 ShE+ygSZhwRM3/kgByFVZ9kiCMc6bAhGsAt8Oc/fQ2WyFVzCCzkfFMqelLQANpj3GekLKU Byrpam4YEYRHVn89sMpPUvv6+nFtWacTm2cCSuGx5En6uvLq72MDTALPWUfFAg== 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 4XHb3v0YKGz19YG; Mon, 30 Sep 2024 22:15:23 +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 48UMFMad011125; Mon, 30 Sep 2024 22:15:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UMFMA3011122; Mon, 30 Sep 2024 22:15:22 GMT (envelope-from git) Date: Mon, 30 Sep 2024 22:15:22 GMT Message-Id: <202409302215.48UMFMA3011122@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: 78d77a7c97a7 - main - sysutils/socket: 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: 78d77a7c97a7f41485b3225a923b16cdd6205169 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=78d77a7c97a7f41485b3225a923b16cdd6205169 commit 78d77a7c97a7f41485b3225a923b16cdd6205169 Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-09-30 22:13:45 +0000 sysutils/socket: include errno.h for errno errno must be accessed by a macro from errno.h. --- sysutils/socket/Makefile | 2 +- sysutils/socket/files/patch-globals.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sysutils/socket/Makefile b/sysutils/socket/Makefile index 7d275dfd2e24..b464edd10a0c 100644 --- a/sysutils/socket/Makefile +++ b/sysutils/socket/Makefile @@ -1,6 +1,6 @@ PORTNAME= socket PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils net MASTER_SITES= https://wolfram.schneider.org/src/ LOCAL/wosch diff --git a/sysutils/socket/files/patch-globals.h b/sysutils/socket/files/patch-globals.h new file mode 100644 index 000000000000..0ad1ee77f125 --- /dev/null +++ b/sysutils/socket/files/patch-globals.h @@ -0,0 +1,11 @@ +--- globals.h.orig ++++ globals.h +@@ -48,7 +48,7 @@ + void strip_crs A((char *from, char *to, int *sizep)) ; + void background A((void)) ; + +-extern int errno ; ++#include + + /* global variables */ + extern int serverflag ;