freebsd-ports/editors/openoffice.org-2-RC/files/patch-i66064
Maho Nakata 9cb79afc33 amd64 bits
Submitted by:	jkim
Modified by: maho
2006-06-03 11:39:21 +00:00

16 lines
581 B
Text

Index: unx/source/gdi/salprnpsp.cxx
===================================================================
RCS file: /cvs/gsl/vcl/unx/source/gdi/salprnpsp.cxx,v
retrieving revision 1.40
diff -u -r1.40 salprnpsp.cxx
--- vcl/unx/source/gdi/salprnpsp.cxx 22 Mar 2006 09:46:43 -0000 1.40
+++ vcl/unx/source/gdi/salprnpsp.cxx 27 May 2006 00:31:26 -0000
@@ -101,6 +101,8 @@
// NETBSD has no RTLD_GLOBAL
#ifndef RTLD_GLOBAL
#define DLOPEN_MODE (RTLD_LAZY)
+#elif defined(FREEBSD)
+#define DLOPEN_MODE (RTLD_NOW | RTLD_GLOBAL)
#else
#define DLOPEN_MODE (RTLD_GLOBAL | RTLD_LAZY)
#endif