openbsd-ports/x11/openmotif/patches/patch-lib_Xm_Xmos_r_h
mbalmer 29baf2b6c9 Update OpenMotif to version 2.3.0. This brings the additions of OpenMotif
2.2 and the new support for antialiased fonts (using Xft) and UTF-8.

I take maintainership of OpenMotif with this update.

ok simon@, kurt@, jasper@
2007-07-18 21:41:05 +00:00

15 lines
489 B
Plaintext

$OpenBSD: patch-lib_Xm_Xmos_r_h,v 1.1 2007/07/18 21:41:05 mbalmer Exp $
--- lib/Xm/Xmos_r.h.orig Sat Jun 30 11:59:19 2007
+++ lib/Xm/Xmos_r.h Sat Jun 30 12:01:19 2007
@@ -215,6 +215,10 @@ extern void XtProcessUnlock(
* struct passwd* _XGetpwuid(uid_t uid, _Xgetpwparams);
*/
+#if defined (__OpenBSD__)
+#define XNO_MTSAFE_PWDAPI
+#endif
+
#if defined(X_INCLUDE_PWD_H) && !defined(_XOS_INCLUDED_PWD_H)
# include <pwd.h>
# if defined(XUSE_MTSAFE_API) || defined(XUSE_MTSAFE_PWDAPI)