diff options
17 files changed, 238 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-registry+source+registry.cxx b/editors/openoffice-1.1-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-1.1-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-1.1/files/patch-registry+source+registry.cxx b/editors/openoffice-1.1/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-1.1/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-2.0-devel/files/patch-registry+source+registry.cxx b/editors/openoffice-2.0-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-2.0-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-3-devel/files/patch-registry+source+registry.cxx b/editors/openoffice-3-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-3/files/patch-registry+source+registry.cxx b/editors/openoffice-3/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-3/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-devel/files/patch-registry+source+registry.cxx b/editors/openoffice-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx b/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-1.1-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-1.1/files/patch-registry+source+registry.cxx b/editors/openoffice.org-1.1/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-1.1/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-2-RC/files/patch-registry+source+registry.cxx b/editors/openoffice.org-2-RC/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-2-RC/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-2-devel/files/patch-registry+source+registry.cxx b/editors/openoffice.org-2-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-2-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-2.0-devel/files/patch-registry+source+registry.cxx b/editors/openoffice.org-2.0-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-2.0/files/patch-registry+source+registry.cxx b/editors/openoffice.org-2.0/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-2.0/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-2/files/patch-registry+source+registry.cxx b/editors/openoffice.org-2/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-2/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-3-RC/files/patch-registry+source+registry.cxx b/editors/openoffice.org-3-RC/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-3-RC/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-3-devel/files/patch-registry+source+registry.cxx b/editors/openoffice.org-3-devel/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-3/files/patch-registry+source+registry.cxx b/editors/openoffice.org-3/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-3/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-vcltesttool/files/patch-registry+source+registry.cxx b/editors/openoffice.org-vcltesttool/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-vcltesttool/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); |