STABLE has still no iswspace(). Add define for it. No change

for > 5.0.
This commit is contained in:
Martin Blapp 2003-01-22 14:55:22 +00:00
parent b54c4bed13
commit 61c2a9eb93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73786
3 changed files with 66 additions and 27 deletions

View file

@ -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" \
" 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" \
" *)\n" \
" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
" export LD_LIBRARY_PATH\n" \
" ;;\n" \
"esac\n" \

View file

@ -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" \
" 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" \
" *)\n" \
" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
" export LD_LIBRARY_PATH\n" \
" ;;\n" \
"esac\n" \

View file

@ -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" \
" 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" \
" *)\n" \
" LD_LIBRARY_PATH=.:./lib:$LD_LIBRARY_PATH\n" \
" export LD_LIBRARY_PATH\n" \
" ;;\n" \
"esac\n" \