pkgsrc/misc/openoffice2/patches/patch-gc
hira f711d5d721 Update to 2.4.3. This is bug fix release. It fixes the following
security vulnerabilities.

 * CVE-2009-0200/CVE-2009-0201: Manipulated Microsoft Word files can
   lead to heap overflows and arbitrary code execution
 * CVE-2009-2414/CVE-2009-2416: Manipulated XML documents can lead to
   arbitrary code execution

Release notes: http://development.openoffice.org/releases/2.4.3.html

 - Fix getline() problem (patches from misc/openoffice3/patches).
 - Use internal neon (9 patches are required to use external neon).
 - Use internal openssl for internal neon.
 - Disable VBA extension (enabling this causes build error).
2009-09-13 03:54:13 +00:00

25 lines
736 B
Text

$NetBSD: patch-gc,v 1.1 2009/09/13 03:54:14 hira Exp $
Fix build with getline() in libc.
From http://bugs.gentoo.org/show_bug.cgi?id=270263
--- soltools/mkdepend/parse.c.orig 2006-09-22 17:57:33.000000000 +0900
+++ soltools/mkdepend/parse.c 2009-09-12 20:56:36.000000000 +0900
@@ -45,7 +45,7 @@
register int type;
boolean recfailOK;
- while ((line = getline(filep))) {
+ while ((line = ooo_getline(filep))) {
switch(type = deftype(line, filep, file_red, file, TRUE)) {
case IF:
doif:
@@ -167,7 +167,7 @@
register char *line;
register int type;
- while ((line = getline(filep))) {
+ while ((line = ooo_getline(filep))) {
switch(type = deftype(line, filep, file_red, file, FALSE)) {
case IF:
case IFFALSE: