aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/openoffice-1.0/files/patch-idlc+source+parser.yy36
-rw-r--r--editors/openoffice-1.0/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-1.1-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-1.1/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-1.1/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-2.0-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-2.0-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-3-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-3-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-3/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-3/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-1.0/files/patch-idlc+source+parser.yy36
-rw-r--r--editors/openoffice.org-1.0/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-1.1/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-1.1/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-2-RC/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-2-RC/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-2-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-2-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-2.0/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-2.0/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-2/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-2/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-3-RC/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-3-RC/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-3-devel/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-3-devel/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-3/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-3/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-idlc+source+parser.y36
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-nas+nas-1.4.1.patch31
-rw-r--r--editors/openoffice/files/patch-idlc+source+parser.yy36
-rw-r--r--editors/openoffice/files/patch-nas+nas-1.4.1.patch31
40 files changed, 1100 insertions, 240 deletions
diff --git a/editors/openoffice-1.0/files/patch-idlc+source+parser.yy b/editors/openoffice-1.0/files/patch-idlc+source+parser.yy
new file mode 100644
index 000000000000..5ad06d2a4100
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-idlc+source+parser.yy
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.yy.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.yy Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-1.0/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-1.0/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-1.0/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-1.0/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; }
++ ;
+
diff --git a/editors/openoffice-1.1-devel/files/patch-idlc+source+parser.y b/editors/openoffice-1.1-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-1.1-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; }
++ ;
+
diff --git a/editors/openoffice-1.1/files/patch-idlc+source+parser.y b/editors/openoffice-1.1/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-1.1/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-1.1/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-1.1/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-1.1/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; }
++ ;
+
diff --git a/editors/openoffice-2.0-devel/files/patch-idlc+source+parser.y b/editors/openoffice-2.0-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-2.0-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-2.0-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-2.0-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-2.0-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; }
++ ;
+
diff --git a/editors/openoffice-3-devel/files/patch-idlc+source+parser.y b/editors/openoffice-3-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
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; }
++ ;
+
diff --git a/editors/openoffice-3/files/patch-idlc+source+parser.y b/editors/openoffice-3/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-3/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-3/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-3/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-3/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-3/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; }
++ ;
+
diff --git a/editors/openoffice-devel/files/patch-idlc+source+parser.y b/editors/openoffice-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-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; }
++ ;
+
diff --git a/editors/openoffice.org-1.0/files/patch-idlc+source+parser.yy b/editors/openoffice.org-1.0/files/patch-idlc+source+parser.yy
new file mode 100644
index 000000000000..5ad06d2a4100
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-idlc+source+parser.yy
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.yy.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.yy Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-1.0/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-1.0/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-1.0/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-1.0/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; }
++ ;
+
diff --git a/editors/openoffice.org-1.1-devel/files/patch-idlc+source+parser.y b/editors/openoffice.org-1.1-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-1.1-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-1.1-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; }
++ ;
+
diff --git a/editors/openoffice.org-1.1/files/patch-idlc+source+parser.y b/editors/openoffice.org-1.1/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-1.1/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-1.1/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-1.1/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-1.1/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; }
++ ;
+
diff --git a/editors/openoffice.org-2-RC/files/patch-idlc+source+parser.y b/editors/openoffice.org-2-RC/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-2-RC/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-2-RC/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-2-RC/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-2-RC/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; }
++ ;
+
diff --git a/editors/openoffice.org-2-devel/files/patch-idlc+source+parser.y b/editors/openoffice.org-2-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-2-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-2-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-2-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-2-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; }
++ ;
+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-idlc+source+parser.y b/editors/openoffice.org-2.0-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-2.0-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-2.0-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-2.0-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-2.0-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; }
++ ;
+
diff --git a/editors/openoffice.org-2.0/files/patch-idlc+source+parser.y b/editors/openoffice.org-2.0/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-2.0/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-2.0/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-2.0/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-2.0/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; }
++ ;
+
diff --git a/editors/openoffice.org-2/files/patch-idlc+source+parser.y b/editors/openoffice.org-2/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-2/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-2/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-2/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-2/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; }
++ ;
+
diff --git a/editors/openoffice.org-3-RC/files/patch-idlc+source+parser.y b/editors/openoffice.org-3-RC/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-3-RC/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-3-RC/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-3-RC/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-3-RC/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; }
++ ;
+
diff --git a/editors/openoffice.org-3-devel/files/patch-idlc+source+parser.y b/editors/openoffice.org-3-devel/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-3-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-3-devel/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-3-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-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; }
++ ;
+
diff --git a/editors/openoffice.org-3/files/patch-idlc+source+parser.y b/editors/openoffice.org-3/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-3/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-3/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-3/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-3/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; }
++ ;
+
diff --git a/editors/openoffice.org-vcltesttool/files/patch-idlc+source+parser.y b/editors/openoffice.org-vcltesttool/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice.org-vcltesttool/files/patch-nas+nas-1.4.1.patch b/editors/openoffice.org-vcltesttool/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice.org-vcltesttool/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice.org-vcltesttool/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; }
++ ;
+
diff --git a/editors/openoffice/files/patch-idlc+source+parser.yy b/editors/openoffice/files/patch-idlc+source+parser.yy
new file mode 100644
index 000000000000..5ad06d2a4100
--- /dev/null
+++ b/editors/openoffice/files/patch-idlc+source+parser.yy
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.yy.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.yy Thu Oct 31 10:00:47 2002
+@@ -995,7 +995,8 @@
+ {
+ idlc()->setParseState(PS_ConstantDeclSeen);
+ }
+- ';'
++ ';' {};
++
+
+ const_dcl :
+ IDL_CONST
+@@ -1316,7 +1317,7 @@
+ * Push the scope of the exception on the scopes stack
+ */
+ idlc()->scopes()->push(pExcept);
+- delete $1
++ delete $1;
+ }
+ '{'
+ {
+@@ -1705,10 +1706,10 @@
+ {
+ idlc()->setParseState(PS_TypedefSeen);
+ }
+- type_declarator
+- | struct_type
+- | union_type
+- | enum_type
++ type_declarator {}
++ | struct_type {}
++ | union_type {}
++ | enum_type {}
+ ;
+
+ type_declarator :
diff --git a/editors/openoffice/files/patch-nas+nas-1.4.1.patch b/editors/openoffice/files/patch-nas+nas-1.4.1.patch
index 8623e0bd5892..cde27322f62f 100644
--- a/editors/openoffice/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice/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; }
++ ;
+