pkgsrc/misc/openoffice/patches/patch-ar
mrauch 21e1dab6b1 Update to version 1.1.1.
New features include:
* PDF, DocBook/XML, XHTML and Macromedia Flash (SWF) export
* Accessibility
* Support for Complex Text Layout (CTL)
* User installation automated
2004-05-03 20:56:35 +00:00

24 lines
648 B
Text

$NetBSD: patch-ar,v 1.2 2004/05/03 20:56:36 mrauch Exp $
--- ../sal/osl/unx/tempfile.c.orig 2004-01-28 11:18:07.000000000 +0100
+++ ../sal/osl/unx/tempfile.c
@@ -64,6 +64,9 @@
/*****************************************************************/
#include <stdio.h>
+#if defined(NETBSD)
+#include <paths.h>
+#endif
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -107,6 +110,9 @@ oslFileError SAL_CALL osl_getTempDirURL(
#if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD) || defined (MACOSX)
if ( !pValue )
pValue = P_tmpdir;
+#elif defined(NETBSD)
+ if ( !pValue )
+ pValue = _PATH_TMP;
#endif
}