diff options
author | mbr <mbr@FreeBSD.org> | 2003-01-22 22:55:22 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-01-22 22:55:22 +0800 |
commit | 1ede3443e32e75b43179c0082659a54f27c110c4 (patch) | |
tree | 8171af41b22da690e64e4ee8cd4be3852181fe0d /editors | |
parent | bb3f8bd1d3aad401143ab8316108e040ca53f378 (diff) | |
download | freebsd-ports-gnome-1ede3443e32e75b43179c0082659a54f27c110c4.tar.gz freebsd-ports-gnome-1ede3443e32e75b43179c0082659a54f27c110c4.tar.zst freebsd-ports-gnome-1ede3443e32e75b43179c0082659a54f27c110c4.zip |
STABLE has still no iswspace(). Add define for it. No change
for > 5.0.
Diffstat (limited to 'editors')
3 files changed, 63 insertions, 24 deletions
diff --git a/editors/openoffice-1.0/files/patch-setup2+mow+source+loader+loader.c b/editors/openoffice-1.0/files/patch-setup2+mow+source+loader+loader.c index a71f7b3f327c..396c586ee3a3 100644 --- a/editors/openoffice-1.0/files/patch-setup2+mow+source+loader+loader.c +++ b/editors/openoffice-1.0/files/patch-setup2+mow+source+loader+loader.c @@ -1,17 +1,30 @@ ---- ../setup2/mow/source/loader/loader.c.orig Thu Dec 13 17:44:58 2001 -+++ ../setup2/mow/source/loader/loader.c Wed Apr 3 01:07:58 2002 -@@ -615,6 +615,14 @@ - " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +--- ../setup2/mow/source/loader/loader.c.orig Thu Oct 31 21:46:52 2002 ++++ ../setup2/mow/source/loader/loader.c Wed Jan 22 14:56:44 2003 +@@ -85,6 +85,12 @@ + # include <sys/statvfs.h> + #endif + ++#ifdef FREEBSD ++#if (OSVERSION < 500000) ++#define iswspace(c) ((c)==' ' || (c)=='\t' || (c)=='\n') ++#endif ++#endif ++ + #include "bitmap" + #include "logo.xpm" + +@@ -650,6 +656,14 @@ " export LD_LIBRARY_PATH\n" \ " ;;\n" \ -+" FreeBSD)\n" \ + " Linux)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ -+" NetBSD)\n" \ ++" FreeBSD)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ - " *)\n" \ ++" NetBSD)\n" \ + " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ + " export LD_LIBRARY_PATH\n" \ " ;;\n" \ - "esac\n" \ diff --git a/editors/openoffice.org-1.0/files/patch-setup2+mow+source+loader+loader.c b/editors/openoffice.org-1.0/files/patch-setup2+mow+source+loader+loader.c index a71f7b3f327c..396c586ee3a3 100644 --- a/editors/openoffice.org-1.0/files/patch-setup2+mow+source+loader+loader.c +++ b/editors/openoffice.org-1.0/files/patch-setup2+mow+source+loader+loader.c @@ -1,17 +1,30 @@ ---- ../setup2/mow/source/loader/loader.c.orig Thu Dec 13 17:44:58 2001 -+++ ../setup2/mow/source/loader/loader.c Wed Apr 3 01:07:58 2002 -@@ -615,6 +615,14 @@ - " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +--- ../setup2/mow/source/loader/loader.c.orig Thu Oct 31 21:46:52 2002 ++++ ../setup2/mow/source/loader/loader.c Wed Jan 22 14:56:44 2003 +@@ -85,6 +85,12 @@ + # include <sys/statvfs.h> + #endif + ++#ifdef FREEBSD ++#if (OSVERSION < 500000) ++#define iswspace(c) ((c)==' ' || (c)=='\t' || (c)=='\n') ++#endif ++#endif ++ + #include "bitmap" + #include "logo.xpm" + +@@ -650,6 +656,14 @@ " export LD_LIBRARY_PATH\n" \ " ;;\n" \ -+" FreeBSD)\n" \ + " Linux)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ -+" NetBSD)\n" \ ++" FreeBSD)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ - " *)\n" \ ++" NetBSD)\n" \ + " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ + " export LD_LIBRARY_PATH\n" \ " ;;\n" \ - "esac\n" \ diff --git a/editors/openoffice/files/patch-setup2+mow+source+loader+loader.c b/editors/openoffice/files/patch-setup2+mow+source+loader+loader.c index a71f7b3f327c..396c586ee3a3 100644 --- a/editors/openoffice/files/patch-setup2+mow+source+loader+loader.c +++ b/editors/openoffice/files/patch-setup2+mow+source+loader+loader.c @@ -1,17 +1,30 @@ ---- ../setup2/mow/source/loader/loader.c.orig Thu Dec 13 17:44:58 2001 -+++ ../setup2/mow/source/loader/loader.c Wed Apr 3 01:07:58 2002 -@@ -615,6 +615,14 @@ - " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +--- ../setup2/mow/source/loader/loader.c.orig Thu Oct 31 21:46:52 2002 ++++ ../setup2/mow/source/loader/loader.c Wed Jan 22 14:56:44 2003 +@@ -85,6 +85,12 @@ + # include <sys/statvfs.h> + #endif + ++#ifdef FREEBSD ++#if (OSVERSION < 500000) ++#define iswspace(c) ((c)==' ' || (c)=='\t' || (c)=='\n') ++#endif ++#endif ++ + #include "bitmap" + #include "logo.xpm" + +@@ -650,6 +656,14 @@ " export LD_LIBRARY_PATH\n" \ " ;;\n" \ -+" FreeBSD)\n" \ + " Linux)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ -+" NetBSD)\n" \ ++" FreeBSD)\n" \ +" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ +" export LD_LIBRARY_PATH\n" \ +" ;;\n" \ - " *)\n" \ ++" NetBSD)\n" \ + " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \ + " export LD_LIBRARY_PATH\n" \ " ;;\n" \ - "esac\n" \ |