diff options
Diffstat (limited to 'editors/openoffice.org-3-devel/files/patch-sal::osl::unx::process.c')
-rw-r--r-- | editors/openoffice.org-3-devel/files/patch-sal::osl::unx::process.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-devel/files/patch-sal::osl::unx::process.c b/editors/openoffice.org-3-devel/files/patch-sal::osl::unx::process.c new file mode 100644 index 000000000000..9d7ffa6686d3 --- /dev/null +++ b/editors/openoffice.org-3-devel/files/patch-sal::osl::unx::process.c @@ -0,0 +1,11 @@ +--- ../sal/osl/unx/process.c.orig Sat Mar 2 22:33:17 2002 ++++ ../sal/osl/unx/process.c Sat Mar 2 22:33:58 2002 +@@ -834,7 +834,7 @@ + + if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0)) + OSL_TRACE("Failed to change uid and guid, errno=%d (%s)\n", errno, strerror(errno)); +-#ifdef LINUX ++#if defined(LINUX) || defined(FREEBSD) + unsetenv("HOME"); + #else + putenv("HOME="); |