aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-devel
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-10-21 10:33:47 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-10-21 10:33:47 +0000
commit5335c17470358d7bfd987a37fb13fc4306cf6566 (patch)
tree7ab24835b6b032818c18a957d62263ed4045b089 /editors/openoffice-devel
parent38cf6ed1e37585f80bf0e210e93ac10cf2d21ca2 (diff)
downloadports-5335c17470358d7bfd987a37fb13fc4306cf6566.tar.gz
ports-5335c17470358d7bfd987a37fb13fc4306cf6566.zip
Notes
Diffstat (limited to 'editors/openoffice-devel')
-rw-r--r--editors/openoffice-devel/files/patch-psprint+source+printergfx+printerjob.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/openoffice-devel/files/patch-psprint+source+printergfx+printerjob.cxx b/editors/openoffice-devel/files/patch-psprint+source+printergfx+printerjob.cxx
new file mode 100644
index 000000000000..751ef978850f
--- /dev/null
+++ b/editors/openoffice-devel/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)
+ {