aboutsummaryrefslogtreecommitdiff
path: root/editors/offix-editor
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-29 09:37:35 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-29 09:37:35 +0000
commit56385a8413a328cb90860c10e2303bd5415d777a (patch)
tree4ff8ecae1af7da58d6f66e4c2aa3e3a5f07ab0d8 /editors/offix-editor
parentc6f535c56c5d64376bebf0e580b970cd8ffbd439 (diff)
downloadports-56385a8413a328cb90860c10e2303bd5415d777a.tar.gz
ports-56385a8413a328cb90860c10e2303bd5415d777a.zip
Notes
Diffstat (limited to 'editors/offix-editor')
-rw-r--r--editors/offix-editor/files/patch-src-file.c12
-rw-r--r--editors/offix-editor/files/patch-src-file_sel.c15
-rw-r--r--editors/offix-editor/files/patch-src-xedit.h12
3 files changed, 39 insertions, 0 deletions
diff --git a/editors/offix-editor/files/patch-src-file.c b/editors/offix-editor/files/patch-src-file.c
new file mode 100644
index 000000000000..5e3155ca6277
--- /dev/null
+++ b/editors/offix-editor/files/patch-src-file.c
@@ -0,0 +1,12 @@
+--- src/file.c.orig Sun Sep 29 02:35:33 2002
++++ src/file.c Sun Sep 29 02:35:43 2002
+@@ -44,7 +44,9 @@
+ #include <sys/stat.h>
+ #include <stdlib.h>
+
++#ifndef __FreeBSD__
+ extern char *malloc();
++#endif
+
+ extern Widget textwindow;
+ extern Widget labelwindow;
diff --git a/editors/offix-editor/files/patch-src-file_sel.c b/editors/offix-editor/files/patch-src-file_sel.c
new file mode 100644
index 000000000000..1a86f5f81f36
--- /dev/null
+++ b/editors/offix-editor/files/patch-src-file_sel.c
@@ -0,0 +1,15 @@
+--- src/file_sel.c.orig Sun Sep 29 02:36:26 2002
++++ src/file_sel.c Sun Sep 29 02:36:40 2002
+@@ -86,10 +86,12 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+
++#ifndef __FreeBSD__
+ extern char *malloc();
+ extern char *realloc();
+ extern char *getenv(); /* Lesen der Umgebungsvariablen */
+ extern int chdir(); /* Directorywechsel */
++#endif
+ static char *filename; /* Pointer auf Filename */
+ static Widget file_s; /* Popupshell fuer Fileselectbox */
+ static Widget list_direct, /* Directoryeintraege im Fenster */
diff --git a/editors/offix-editor/files/patch-src-xedit.h b/editors/offix-editor/files/patch-src-xedit.h
new file mode 100644
index 000000000000..83e813b98213
--- /dev/null
+++ b/editors/offix-editor/files/patch-src-xedit.h
@@ -0,0 +1,12 @@
+--- src/xedit.h.orig Sun Sep 29 02:34:19 2002
++++ src/xedit.h Sun Sep 29 02:34:41 2002
+@@ -225,7 +225,9 @@
+ extern void getdirectory();
+
+ /* Unix externals */
++#ifndef __FreeBSD__
+ extern char *malloc();
++#endif
+
+ /* Drag and drop stuff */
+