From nobody Mon Oct 28 12:44:02 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 4XcY3k4Zxgz5bJgg; Mon, 28 Oct 2024 12:44:02 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XcY3k3d5Cz4Vgh; Mon, 28 Oct 2024 12:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119442; 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=+RCzX9YLhAoOwTZkkkokZKU5IfsMt3p0qEXos1Z114Y=; b=JuSNv4ddQkbfFTOgWXaMkQ5BYWYRsDyOXsVXDQXAq1O3GpsP4TTntEu0ll5hZHOa7u+fU+ P2clwQ1pHD+Eic2cq7yClu6MxEDLz2QkEIo4LRC0n+aGI4RpFZBXqIreE+Nmo1g1XxLCCS rT1V2Eszkc+mmNfhxG/XMfnveK0RRwnk7J4vYNdIUkWsk+TPPtoKzDSIZJNARE9RZZq0A5 KD7ReIfKEbErxyh2Xn5hpr1W6W8Way3cPhl5YNhgf5GoKtrSm8+wkwMjozH38OwkWzJBj0 mxLvbJMoqf6kv0hdIkCrwjmL5pxMq6LEpT6j79ahcOUgQxWa4pYI0hLggIcDPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119442; 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=+RCzX9YLhAoOwTZkkkokZKU5IfsMt3p0qEXos1Z114Y=; b=itoomyAJDhlNc8aeVQUq3GQXGkwe7FWUklzu2DR3UOB9siKkqoQF5PsQXEx2WMmEd2H5DD KCdQ16NCLd0qXjm70BSix9FwosCWUtlSZNkJGNw+GrT2Ese/AEMhG7wd77k2DUrTWa3C6O mvmsw2pttzw4cr7QSLL+s+Lh+ZhtwZvzNLN0Bp2B3gxsTGoOAj47n4pRrivFiP0y0tIsc5 MMgATcXwjELrkJvIbW2nyAA7uMWX6ZTTWELSSJ9v+HYCgnvCJEWfA1qI1gwZfUzKgs34hA zs9Q2huKeKdw1JOv0VNOM+ZE5BoBcXvsz9o+YgGPbrMX1Ff3BN45oi28jeOvPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730119442; a=rsa-sha256; cv=none; b=u/WihzwiFdrUCzN8PoFDGBwv3u+sIbrnTlxKpgCmt7u3xsgTnqI47qIY98/zpuBKGdPdeN lCkPVc0Mq5KCJMKSj47U2148sMxIMqOnRRrjaBzuQBJUdrv/KWhrIA+Upy0hsEWPa5DGTz Er5j3g+kRmsLRu6ahuYWHZU83lsSWsaLyD6oDTadzSRbLTDIhK4q55jTtadzi1P63tUYX+ osyLiG6fWHGg8DMJPGGlFXnprfAqMVSqkO9Cq+hLz0XE4THoEQssaKTUxV1cZz9JUJmpg0 wt+N8s0gMh60dJyfLC2jfP/S5Be+U5i6VVuAqKXukAJdSWfDNcwclff1dWLedA== 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 4XcY3k2j5Vzg4X; Mon, 28 Oct 2024 12:44:02 +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 49SCi2wK073533; Mon, 28 Oct 2024 12:44:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49SCi2vn073530; Mon, 28 Oct 2024 12:44:02 GMT (envelope-from git) Date: Mon, 28 Oct 2024 12:44:02 GMT Message-Id: <202410281244.49SCi2vn073530@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: ba183df93e32 - main - www/publicfile: fix build on 15-CURRENT 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba183df93e32704930045e2ad7a90432bc07dba4 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba183df93e32704930045e2ad7a90432bc07dba4 commit ba183df93e32704930045e2ad7a90432bc07dba4 Author: Robert Clausecker AuthorDate: 2024-10-25 11:22:30 +0000 Commit: Robert Clausecker CommitDate: 2024-10-28 12:41:52 +0000 www/publicfile: fix build on 15-CURRENT "extern int errno;" no longer works to get errno. Include instead to fix the build. MFH: 2024Q4 --- www/publicfile/files/patch-Makefile | 12 ++++++------ www/publicfile/files/patch-auto_home_stage.h | 4 ++-- www/publicfile/files/patch-error.h | 11 +++++++++++ www/publicfile/files/patch-fetch.c | 8 ++++---- www/publicfile/files/patch-hier.c | 6 +++--- 5 files changed, 26 insertions(+), 15 deletions(-) diff --git a/www/publicfile/files/patch-Makefile b/www/publicfile/files/patch-Makefile index b866e30ee586..35ce26a1214b 100644 --- a/www/publicfile/files/patch-Makefile +++ b/www/publicfile/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 1999-11-09 08:23:46.000000000 +0100 -+++ Makefile 2014-08-21 12:29:41.000000000 +0200 -@@ -32,6 +32,14 @@ +--- Makefile.orig 1999-11-09 07:23:46 UTC ++++ Makefile +@@ -32,6 +32,14 @@ compile auto_home.c compile auto_home.c ./compile auto_home.c @@ -15,7 +15,7 @@ byte_chr.o: \ compile byte_chr.c byte.h ./compile byte_chr.c -@@ -231,7 +239,7 @@ +@@ -231,7 +239,7 @@ hier.o: \ ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h hier.o: \ @@ -24,7 +24,7 @@ ./compile hier.c httpd: \ -@@ -257,9 +265,9 @@ +@@ -257,9 +265,9 @@ install: \ ./compile httpdate.c install: \ @@ -36,7 +36,7 @@ open.a error.a str.a install.o: \ -@@ -268,8 +276,8 @@ +@@ -268,8 +276,8 @@ instcheck: \ ./compile install.c instcheck: \ diff --git a/www/publicfile/files/patch-auto_home_stage.h b/www/publicfile/files/patch-auto_home_stage.h index 9b12a18e6e49..35880e55a9a9 100644 --- a/www/publicfile/files/patch-auto_home_stage.h +++ b/www/publicfile/files/patch-auto_home_stage.h @@ -1,5 +1,5 @@ ---- /dev/null 2014-08-21 12:22:00.000000000 +0200 -+++ auto_home_stage.h 2014-08-21 12:25:14.000000000 +0200 +--- auto_home_stage.h.orig 2024-10-25 11:20:18 UTC ++++ auto_home_stage.h @@ -0,0 +1,6 @@ +#ifndef AUTO_HOME_STAGE_H_ +#define AUTO_HOME_STAGE_H_ diff --git a/www/publicfile/files/patch-error.h b/www/publicfile/files/patch-error.h new file mode 100644 index 000000000000..e466f6122d08 --- /dev/null +++ b/www/publicfile/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig 2024-10-25 11:21:26 UTC ++++ 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/www/publicfile/files/patch-fetch.c b/www/publicfile/files/patch-fetch.c index 9193103aed5a..be6f256cba76 100644 --- a/www/publicfile/files/patch-fetch.c +++ b/www/publicfile/files/patch-fetch.c @@ -1,6 +1,6 @@ ---- fetch.c.orig 1999-11-08 23:23:46.000000000 -0800 -+++ fetch.c 2014-01-29 15:19:43.000000000 -0800 -@@ -82,7 +82,7 @@ +--- fetch.c.orig 1999-11-09 07:23:46 UTC ++++ fetch.c +@@ -82,7 +82,7 @@ static void list(char *fn,int flaglong) substdio_puts(&ss,"\r\n"); } @@ -9,7 +9,7 @@ { DIR *dir; direntry *d; -@@ -122,7 +122,7 @@ +@@ -122,7 +122,7 @@ static int doit(char *fn,int fddata,int fdfile,int how for (;;) { r = read(fdfile,inbuf,sizeof inbuf); if (r == -1) { diff --git a/www/publicfile/files/patch-hier.c b/www/publicfile/files/patch-hier.c index 587e3885207b..be93922dd715 100644 --- a/www/publicfile/files/patch-hier.c +++ b/www/publicfile/files/patch-hier.c @@ -1,6 +1,6 @@ ---- hier.c.orig Tue Apr 20 11:26:00 2004 -+++ hier.c Tue Apr 20 11:26:06 2004 -@@ -2,9 +2,9 @@ +--- hier.c.orig 1999-11-09 07:23:46 UTC ++++ hier.c +@@ -2,9 +2,9 @@ void hier() void hier() {