aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-1.1')
-rw-r--r--editors/openoffice-1.1/files/patch-codemaker+source+codemaker+global.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice-1.1/files/patch-codemaker+source+codemaker+global.cxx
new file mode 100644
index 000000000000..057d4ec4d670
--- /dev/null
+++ b/editors/openoffice-1.1/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);