mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
www/publicfile: fix build on 15-CURRENT
"extern int errno;" no longer works to get errno. Include <errno.h> instead to fix the build. MFH: 2024Q4
This commit is contained in:
parent
64a3cbd5cf
commit
ba183df93e
5 changed files with 26 additions and 15 deletions
|
@ -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: \
|
||||
|
|
|
@ -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_
|
||||
|
|
11
www/publicfile/files/patch-error.h
Normal file
11
www/publicfile/files/patch-error.h
Normal file
|
@ -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 <errno.h>
|
||||
|
||||
extern int error_intr;
|
||||
extern int error_nomem;
|
|
@ -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) {
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue