diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-10-25 12:39:25 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-10-25 12:39:25 +0000 |
commit | a3735249afbe8a117e70a15ba384634c1500222e (patch) | |
tree | 309e51eaa04cdcdac889541e520c1e233616d33b /editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx | |
parent | 4e10212d4fc9315b4931a82dd99fc8754f12ad0e (diff) |
Notes
Diffstat (limited to 'editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx')
-rw-r--r-- | editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx b/editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx new file mode 100644 index 000000000000..1e88b4c4dda4 --- /dev/null +++ b/editors/openoffice-3/files/patch-transex3+source+xmlparse.cxx @@ -0,0 +1,29 @@ +#iZ XXXX + +FreeBSD doesn't have alloca.h, and +builtin alloca is defined at stdlib.h. + +Index: transex3/source/xmlparse.cxx +=================================================================== +RCS file: /cvs/l10n/transex3/source/xmlparse.cxx,v +retrieving revision 1.2 +diff -u -r1.2 xmlparse.cxx +--- transex3/source/xmlparse.cxx 30 Aug 2004 17:31:58 -0000 1.2 ++++ transex3/source/xmlparse.cxx 3 Oct 2004 08:41:45 -0000 +@@ -64,11 +64,12 @@ + + + #include <stdio.h> +-#ifdef WIN32 +-#include <malloc.h> ++ ++#if defined(SOLARIS) || defined(IRIX) ++ #include <alloca.h> + #else +-#ifndef MACOSX +-#include <alloca.h> ++#if !(defined(MACOSX) || defined(FREEBSD)) ++ #include <malloc.h> + #endif + #endif + |