diff options
-rw-r--r-- | editors/offix-editor/files/patch-src-file.c | 12 | ||||
-rw-r--r-- | editors/offix-editor/files/patch-src-file_sel.c | 15 | ||||
-rw-r--r-- | editors/offix-editor/files/patch-src-xedit.h | 12 |
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 */ + |