aboutsummaryrefslogtreecommitdiffstats
path: root/editors/joe2
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-06-02 21:17:20 +0800
committerroam <roam@FreeBSD.org>2001-06-02 21:17:20 +0800
commita6575558b39738e298e823fa637aaa91ba220748 (patch)
tree39a996b07246230d2426730d83b5c3cb73738f26 /editors/joe2
parentbb9085de2a04ff004354fb0dc7bc40e76124496c (diff)
downloadfreebsd-ports-gnome-a6575558b39738e298e823fa637aaa91ba220748.tar.gz
freebsd-ports-gnome-a6575558b39738e298e823fa637aaa91ba220748.tar.zst
freebsd-ports-gnome-a6575558b39738e298e823fa637aaa91ba220748.zip
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
Diffstat (limited to 'editors/joe2')
-rw-r--r--editors/joe2/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/joe2/files/patch-af b/editors/joe2/files/patch-af
new file mode 100644
index 000000000000..d21c8801922f
--- /dev/null
+++ b/editors/joe2/files/patch-af
@@ -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");