diff options
author | mbr <mbr@FreeBSD.org> | 2003-04-14 06:48:30 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-04-14 06:48:30 +0800 |
commit | ddd0b0e6ee8cb1f16a8e9bf94d4e8ae7833a6c26 (patch) | |
tree | f5a9d94534dfc21ad20f1947272780e378956511 /editors/openoffice-1.0 | |
parent | 24f35055ad0c3e41f36d293da009162a658836ad (diff) | |
download | freebsd-ports-graphics-ddd0b0e6ee8cb1f16a8e9bf94d4e8ae7833a6c26.tar.gz freebsd-ports-graphics-ddd0b0e6ee8cb1f16a8e9bf94d4e8ae7833a6c26.tar.zst freebsd-ports-graphics-ddd0b0e6ee8cb1f16a8e9bf94d4e8ae7833a6c26.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.
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 057d4ec4d67..a1a86242db9 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 502abe41e48..87c5cd17a61 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 |