diff options
Diffstat (limited to 'editors/openoffice-1.1')
-rw-r--r-- | editors/openoffice-1.1/files/patch-psprint+source+printergfx+printerjob.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/openoffice-1.1/files/patch-psprint+source+printergfx+printerjob.cxx b/editors/openoffice-1.1/files/patch-psprint+source+printergfx+printerjob.cxx new file mode 100644 index 00000000000..751ef978850 --- /dev/null +++ b/editors/openoffice-1.1/files/patch-psprint+source+printergfx+printerjob.cxx @@ -0,0 +1,15 @@ +--- ../psprint/source/printergfx/printerjob.cxx.orig Sat Oct 19 14:49:13 2002 ++++ ../psprint/source/printergfx/printerjob.cxx Sat Oct 19 14:49:18 2002 +@@ -285,8 +285,12 @@ + + sal_Bool bSuccess = sal_False; + ++#ifdef FREEBSD ++ pPWEntry = getpwuid( getuid()); ++#else + if (getpwuid_r(getuid(), &aPWEntry, pPWBuffer, sizeof(pPWBuffer), &pPWEntry) != 0) + pPWEntry = NULL; ++#endif + + if (pPWEntry != NULL && pPWEntry->pw_name != NULL) + { |