aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-04-01 00:05:51 +0800
committermbr <mbr@FreeBSD.org>2003-04-01 00:05:51 +0800
commit3abeb95c6db29877d3b3d6334ff2ec0d0ebb759e (patch)
tree975a5ae5d39b5634d4d61bf1209decc0054d13de /editors/openoffice.org-2
parentff889a831a85609c476f7754252ca98e5e142884 (diff)
downloadfreebsd-ports-gnome-3abeb95c6db29877d3b3d6334ff2ec0d0ebb759e.tar.gz
freebsd-ports-gnome-3abeb95c6db29877d3b3d6334ff2ec0d0ebb759e.tar.zst
freebsd-ports-gnome-3abeb95c6db29877d3b3d6334ff2ec0d0ebb759e.zip
Readd previous deleted part. It is still needed for 4.x
Diffstat (limited to 'editors/openoffice.org-2')
-rw-r--r--editors/openoffice.org-2/files/patch-setup2+mow+source+loader+loader.c32
1 files changed, 30 insertions, 2 deletions
diff --git a/editors/openoffice.org-2/files/patch-setup2+mow+source+loader+loader.c b/editors/openoffice.org-2/files/patch-setup2+mow+source+loader+loader.c
index 27f732ac7297..e83e372497b9 100644
--- a/editors/openoffice.org-2/files/patch-setup2+mow+source+loader+loader.c
+++ b/editors/openoffice.org-2/files/patch-setup2+mow+source+loader+loader.c
@@ -1,5 +1,18 @@
---- ../setup2/mow/source/loader/loader.c.orig Sun Mar 30 23:14:14 2003
-+++ ../setup2/mow/source/loader/loader.c Sun Mar 30 23:14:50 2003
+--- ../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"
+
@@ -580,6 +580,8 @@
#define GCC_FILE_PATTERN "libgcc_s.so.1"
#define CPLUS_FILE_PATTERN "libstdc++.so.3.0.1"
@@ -9,3 +22,18 @@
#else
#define STL_FILE_PATTERN "libstlport_sunpro.so"
#endif
+@@ -650,6 +656,14 @@
+ " export LD_LIBRARY_PATH\n" \
+ " ;;\n" \
+ " Linux)\n" \
++" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
++" export LD_LIBRARY_PATH\n" \
++" ;;\n" \
++" FreeBSD)\n" \
++" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
++" export LD_LIBRARY_PATH\n" \
++" ;;\n" \
++" NetBSD)\n" \
+ " LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
+ " export LD_LIBRARY_PATH\n" \
+ " ;;\n" \