From 5baa4bf2b2a0e3b898cd124dc479b3de5b4d0b94 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Mon, 4 Nov 2002 06:15:37 +0000 Subject: Commit first part of bison 1.75 patches. Tested by: various openoffice users --- .../files/patch-nas+nas-1.4.1.patch | 31 +++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch') diff --git a/editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch index 8623e0bd5892..cde27322f62f 100644 --- a/editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch +++ b/editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch @@ -1,6 +1,6 @@ --- ../nas/nas-1.4.1.patch.orig Thu Nov 1 17:27:31 2001 -+++ ../nas/nas-1.4.1.patch Thu Aug 8 16:47:25 2002 -@@ -120,26 +120,139 @@ ++++ ../nas/nas-1.4.1.patch Thu Oct 31 10:17:40 2002 +@@ -120,26 +120,157 @@ return(-1); } @@ -163,14 +163,21 @@ +-#define NasConfigSearchPath /etc/nas/ ++#define NasConfigSearchPath $(PROJECTROOT)/etc/ + #endif -+--- misc/nas-1.4.1/server/os/utils.c.orig Tue Jul 23 23:48:23 2002 -++++ misc/build/nas-1.4.1/server/os/utils.c Tue Jul 23 23:49:06 2002 -+@@ -120,7 +120,7 @@ -+ -+ void ddxUseMsg(void); -+ -+-#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX) -++#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX) && !defined(__FreeBSD__) -+ extern char *sbrk(); -+ #endif ++--- misc/nas-1.4.1/server/dia/gram.y.orig Thu Oct 31 10:13:28 2002 +++++ misc/build/nas-1.4.1/server/dia/gram.y Thu Oct 31 10:15:18 2002 ++@@ -120,13 +120,13 @@ ++ | MAXRATE number ++ { ddaSetConfig(MAXRATE, (void *)$2); } ++ | MINRATE number ++- { ddaSetConfig(MINRATE, (void *)$2); } +++ { ddaSetConfig(MINRATE, (void *)$2); }; ++ ++ string : STRING { ptr = (char *)malloc(strlen($1)+1); ++ strcpy(ptr, $1); ++ RemoveDQuote(ptr); ++ $$ = ptr; ++- } +++ }; ++ number : NUMBER { $$ = $1; } ++ ; + -- cgit v1.2.3