summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-db
blob: 7e5808f0890666b667d27a5ed259446648230d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-db,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $

--- ../vcl/unx/source/gdi/salprnpsp.cxx.orig	Wed Oct 17 13:22:31 2001
+++ ../vcl/unx/source/gdi/salprnpsp.cxx
@@ -805,7 +805,7 @@
 static inline String getTmpName()
 {
 	char tmpNam[ L_tmpnam ];
-#if defined( FREEBSD ) || defined (IRIX)
+#if defined( FREEBSD ) || defined (IRIX) || defined(NETBSD)
 	mkstemp ( tmpNam );
 #else
 	tmpnam_r( tmpNam );