aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3')
-rw-r--r--editors/openoffice.org-3/files/patch-codemaker+source+codemaker+global.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice.org-3/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice.org-3/files/patch-codemaker+source+codemaker+global.cxx
new file mode 100644
index 00000000000..057d4ec4d67
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-codemaker+source+codemaker+global.cxx
@@ -0,0 +1,14 @@
+--- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003
++++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003
+@@ -164,11 +164,7 @@
+ strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern));
+ strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern));
+ strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern));
+-#if defined(FREEBSD) || defined(MACOSX)
+- pTmpName = mkstemp(tmpPattern);
+-#else
+ pTmpName = mktemp(tmpPattern);
+-#endif
+ #endif
+
+ return OString(pTmpName);