From nobody Mon Oct 28 12:46:45 2024 X-Original-To: dev-commits-ports-branches@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 4XcY6s6wnbz5bKDJ; Mon, 28 Oct 2024 12:46:45 +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 4XcY6s47Pmz4ZFH; Mon, 28 Oct 2024 12:46:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119605; 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=1rR0bqPEphejrpNOJr8/BUXIuop6Jiv1FG9PEjn/78s=; b=R7M4qiyzak5pbjIEsCZ1ewQvSlYk7mAKhHc/+b4LOY01Z+I0penT0FqQssAE/qQGkD/m9g 51XhCp+ZSqhV6FJzRTX5tQJgpCrZ/7pjtU4Z60Dd+4wBOyhQ/SlRUxXKLlhaEuCKq/Z8Ph 6hEUeV4v3VFef4FCSlpNXrnVOrTFQn1jk1tSIF23HFBozIOcqw9lm/NI1Le7T1JsO7gnML YOq5Bdtw5gNvYYixQVpKYXIQPnneUy3sCmzJm49DXWq2/39qZrM4NDADS3VXkOnTvYQJI9 qK4B5ROXcUhzOSEoyjjwoZ8FTnedAMIF0VeEdiPpGPNBCJ77+jQSOXPsTsrClA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730119605; 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=1rR0bqPEphejrpNOJr8/BUXIuop6Jiv1FG9PEjn/78s=; b=Z5NGBLUDM9rTy3qQBP2WsPxeOACqA7ZrhnMBugvgbwtrTVrU3zNz2ArL2RMvciW3Xum7qT NqkyVcXyIEd6OYCg5Nv9iQRXWQ4hQFz7RSndBo2+MugPaZ+qJd9QuL5XH2bH03Hx1beZ4b HkBr+MbDd68RbON8aoFsEl8qgJYc685YCLoWKN2FlVxjISX8+9NIuVdRrv3SSDMde89AnU mQKY7r1JKsTMOhkQKS0KwBWnC9QdNhkZadR3OKV32orTrnZlqoNwU6RlqLxVfGfSawxzGQ lB6Y99VE12tBn8WPojnqbbmkxWSEV6W6AycN6LjSlkX09vDx7CwYd8Md/ee6rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730119605; a=rsa-sha256; cv=none; b=HTllm1txisg5j388ZdcnHe/MouySpcQUcgQPAmxE1k46Lejuq9ZYznNgKpoVVl5btUy9ax l9CZlACQ/aMSI8wwpt/KNZJWT3au18hh0KCwM74F/mjgRMuC5196D6TcBBBVd2pxSt1F6Q STQEFD1pDdqLNCkpZjqQpchbPyHh/qUE0zsoQCQPS6VjUOHRRWEYh3+V/x8O0SQ7dlBOsQ 7OpHRr4PhkcUaY6+rogjzoPfBm30lWfUJyX1vwUYXLv5+0HEmFx6jAJzT9qGTOS9faho/I Ulv0I+dwYSxPEN8fAlZnOdHhEmm3OjvClPAsCKxOYPgVp6ySAQQyVC67ZeqGaA== 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 4XcY6s2XFMzfnf; Mon, 28 Oct 2024 12:46:45 +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 49SCkjs5076222; Mon, 28 Oct 2024 12:46:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49SCkjZq076219; Mon, 28 Oct 2024 12:46:45 GMT (envelope-from git) Date: Mon, 28 Oct 2024 12:46:45 GMT Message-Id: <202410281246.49SCkjZq076219@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: f8d0a3ff0fc8 - 2024Q4 - www/publicfile: fix build on 15-CURRENT List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@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/2024Q4 X-Git-Reftype: branch X-Git-Commit: f8d0a3ff0fc8d5cc0aa054b96951ac53f8f91fdb Auto-Submitted: auto-generated The branch 2024Q4 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8d0a3ff0fc8d5cc0aa054b96951ac53f8f91fdb commit f8d0a3ff0fc8d5cc0aa054b96951ac53f8f91fdb Author: Robert Clausecker AuthorDate: 2024-10-25 11:22:30 +0000 Commit: Robert Clausecker CommitDate: 2024-10-28 12:46:10 +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 (cherry picked from commit ba183df93e32704930045e2ad7a90432bc07dba4) --- 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() {