diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-04-13 22:48:30 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-04-13 22:48:30 +0000 |
commit | 800dddd27cab4c08c919df62e0a9e95ddc269ed8 (patch) | |
tree | d76620e01ce0a126f99a3e1e914890de5f11dcb2 /editors/openoffice-1.0 | |
parent | 7bae9264dbb627e38ca773af9470b6e2b95eaf4a (diff) | |
download | ports-800dddd27cab4c08c919df62e0a9e95ddc269ed8.tar.gz ports-800dddd27cab4c08c919df62e0a9e95ddc269ed8.zip |
Fix breakage in these patches. I just copied them from
the openoffice-devel port but some parts in the context
seem to have changed.
Notes
Notes:
svn path=/head/; revision=78910
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r-- | editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx | 8 | ||||
-rw-r--r-- | editors/openoffice-1.0/files/patch-registry+source+registry.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx index 057d4ec4d670..a1a86242db9b 100644 --- a/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx +++ b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx @@ -1,9 +1,9 @@ --- ../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)); +@@ -149,11 +149,7 @@ + strcat(tmpPattern, "\\"); + strcat(tmpPattern, pPrefix); + strcat(tmpPattern, "XXXXXX"); -#if defined(FREEBSD) || defined(MACOSX) - pTmpName = mkstemp(tmpPattern); -#else diff --git a/editors/openoffice-1.0/files/patch-registry+source+registry.cxx b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx index 502abe41e48d..87c5cd17a614 100644 --- a/editors/openoffice-1.0/files/patch-registry+source+registry.cxx +++ b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx @@ -1,9 +1,9 @@ --- ../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)); +@@ -134,11 +134,7 @@ + #ifdef UNX + strcat(tmpPattern, "/reg_XXXXXX"); -#if defined(FREEBSD) || defined(MACOSX) - pTmpName = mkstemp(tmpPattern); -#else |