mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Unbreak build: remove bogus declaration of time(3).
PR: 27710 Submitted by: Jung-an Fan <rafan@ck.tp.edu.tw> - the problem report maintainer - the patch
This commit is contained in:
parent
04cfbddede
commit
430b58134a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43427
3 changed files with 33 additions and 0 deletions
11
editors/joe-devel/files/patch-af
Normal file
11
editors/joe-devel/files/patch-af
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- conf.c.orig Fri Jun 1 19:32:10 2001
|
||||||
|
+++ conf.c Fri Jun 1 19:33:37 2001
|
||||||
|
@@ -204,8 +204,6 @@
|
||||||
|
fprintf(f,"\n");
|
||||||
|
|
||||||
|
fprintf(f,"char *getenv();\n");
|
||||||
|
- if(sizeof(long)==8) fprintf(f,"int time();\n");
|
||||||
|
- else fprintf(f,"long time();\n");
|
||||||
|
fprintf(f,"void *malloc();\n");
|
||||||
|
fprintf(f,"void free();\n");
|
||||||
|
fprintf(f,"void *calloc();\n");
|
11
editors/joe/files/patch-af
Normal file
11
editors/joe/files/patch-af
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- conf.c.orig Fri Jun 1 19:32:10 2001
|
||||||
|
+++ conf.c Fri Jun 1 19:33:37 2001
|
||||||
|
@@ -204,8 +204,6 @@
|
||||||
|
fprintf(f,"\n");
|
||||||
|
|
||||||
|
fprintf(f,"char *getenv();\n");
|
||||||
|
- if(sizeof(long)==8) fprintf(f,"int time();\n");
|
||||||
|
- else fprintf(f,"long time();\n");
|
||||||
|
fprintf(f,"void *malloc();\n");
|
||||||
|
fprintf(f,"void free();\n");
|
||||||
|
fprintf(f,"void *calloc();\n");
|
11
editors/joe2/files/patch-af
Normal file
11
editors/joe2/files/patch-af
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- conf.c.orig Fri Jun 1 19:32:10 2001
|
||||||
|
+++ conf.c Fri Jun 1 19:33:37 2001
|
||||||
|
@@ -204,8 +204,6 @@
|
||||||
|
fprintf(f,"\n");
|
||||||
|
|
||||||
|
fprintf(f,"char *getenv();\n");
|
||||||
|
- if(sizeof(long)==8) fprintf(f,"int time();\n");
|
||||||
|
- else fprintf(f,"long time();\n");
|
||||||
|
fprintf(f,"void *malloc();\n");
|
||||||
|
fprintf(f,"void free();\n");
|
||||||
|
fprintf(f,"void *calloc();\n");
|
Loading…
Add table
Reference in a new issue