diff options
author | kris <kris@FreeBSD.org> | 2002-09-29 09:37:35 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-29 09:37:35 +0000 |
commit | bf212096bc8c8701e998a3ed59c51bd27bd8f683 (patch) | |
tree | 21543e9871992a16132e47cc1dcfa8150d6a0c04 /editors/offix-editor | |
parent | 794aa8447742cd37994f92e553a0decb8f90ce0b (diff) | |
download | FreeBSD-ports-bf212096bc8c8701e998a3ed59c51bd27bd8f683.zip FreeBSD-ports-bf212096bc8c8701e998a3ed59c51bd27bd8f683.tar.gz |
Fix build (remove dup declarations)
Diffstat (limited to 'editors/offix-editor')
-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 0000000..5e3155c --- /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 0000000..1a86f5f --- /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 0000000..83e813b --- /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 */ + |