head 1.7; access; symbols pkgsrc-2014Q4:1.6.0.76 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.74 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.72 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.70 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.68 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.66 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.64 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.62 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.60 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.58 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.56 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.54 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.52 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.50 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.48 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.46 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.44 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.42 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.40 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.38 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.36 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.34 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.32 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.30 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.28 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.26 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.24 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.22 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.20 pkgsrc-2008Q1:1.6.0.18 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.16 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.14 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.12 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.10 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.24 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.22 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.20 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.18 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.16 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.7 date 2015.01.11.02.37.20; author joerg; state dead; branches; next 1.6; commitid iSEVTk9aM40Hey5y; 1.6 date 2006.01.09.13.13.53; author joerg; state Exp; branches; next 1.5; 1.5 date 2006.01.04.15.53.15; author joerg; state Exp; branches; next 1.4; 1.4 date 2006.01.04.15.20.45; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.12.12.19.55.41; author joerg; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2001.09.08.20.03.44; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.04.05.14.06.57; author wiz; state Exp; branches; next ; 1.3.2.1 date 2006.01.10.15.02.18; author salo; state Exp; branches; next ; desc @@ 1.7 log @Retire x11/openmotif. @ text @$NetBSD: patch-ac,v 1.6 2006/01/09 13:13:53 joerg Exp $ --- lib/Xm/Xmos.c.orig 2005-11-25 05:50:57.000000000 +0100 +++ lib/Xm/Xmos.c @@@@ -91,6 +91,17 @@@@ extern int regex(); #include +#if defined(__NetBSD__) +#include +# if __NetBSD_Version__ >= 299001000 /* NetBSD 2.99.10 has getpw*_r*/ +# if !defined(_POSIX_THREAD_SAFE_FUNCTIONS) +# define _POSIX_THREAD_SAFE_FUNCTIONS 200112L +# endif +# else +# define XNO_MTSAFE_PWDAPI +# endif +#endif + #define X_INCLUDE_PWD_H #define X_INCLUDE_DIRENT_H #define XOS_USE_XT_LOCKING @ 1.6 log @Fix build on NetBSD systems: If we have NetBSD 2.99.10 and higher, getpwuid_r and friends exist, but _PTHREAD_THREAD_SAFE_FUNCTIONS might not be defined. Define it. For NetBSD before 2.99.10, explicitly set XNO_MTSAFE_PWDAPI to enforce locked access via normal functions. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2006/01/04 15:53:15 joerg Exp $ @ 1.5 log @Fix spelling. Found by wiz@@. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2006/01/04 15:20:45 joerg Exp $ d5 1 a5 1 @@@@ -91,6 +91,10 @@@@ extern int regex(); d9 9 a17 2 +#if defined(__NetBSD__) && __NetBSD_Version__ >= 299001000 && !defined(_POSIX_THREAD_SAFE_FUNCTIONS) /* NetBSD 2.99.10 */ +#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L @ 1.4 log @getpwuid_r and friends only exist on NetBSD 2.99.10 and higher, so use them only on those systems. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2005/12/12 19:55:41 joerg Exp $ d9 1 a9 1 +#if defined(__NetBSD__) && __NetBSD_Version >= 299001000 && !defined(_POSIX_THREAD_SAFE_FUNCTIONS) /* NetBSD 2.99.10 */ @ 1.3 log @Update OpenMotif to 2.2.3. Too many changes to list here, but most importantly no more imake usage. @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 +#if defined(__NetBSD__) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS) @ 1.3.2.1 log @Pullup ticket 1009 - requested by Joerg Sonnenberger build fix for openmotif Revisions pulled up: - pkgsrc/x11/openmotif/distinfo 1.20, 1.21, 1.23 - pkgsrc/x11/openmotif/patches/patch-ac 1.4, 1.5, 1.6 - pkgsrc/x11/openmotif/patches/patch-ae 1.4 Module Name: pkgsrc Committed By: joerg Date: Wed Jan 4 15:20:45 UTC 2006 Modified Files: pkgsrc/x11/openmotif: distinfo pkgsrc/x11/openmotif/patches: patch-ac Log Message: getpwuid_r and friends only exist on NetBSD 2.99.10 and higher, so use them only on those systems. --- Module Name: pkgsrc Committed By: joerg Date: Wed Jan 4 15:53:15 UTC 2006 Modified Files: pkgsrc/x11/openmotif: distinfo pkgsrc/x11/openmotif/patches: patch-ac Log Message: Fix spelling. Found by wiz@@. --- Module Name: pkgsrc Committed By: joerg Date: Mon Jan 9 13:13:53 UTC 2006 Modified Files: pkgsrc/x11/openmotif: distinfo pkgsrc/x11/openmotif/patches: patch-ac patch-ae Log Message: Fix build on NetBSD systems: If we have NetBSD 2.99.10 and higher, getpwuid_r and friends exist, but _PTHREAD_THREAD_SAFE_FUNCTIONS might not be defined. Define it. For NetBSD before 2.99.10, explicitly set XNO_MTSAFE_PWDAPI to enforce locked access via normal functions. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2006/01/09 13:13:53 joerg Exp $ d5 1 a5 1 @@@@ -91,6 +91,17 @@@@ extern int regex(); d9 2 a10 9 +#if defined(__NetBSD__) +#include +# if __NetBSD_Version__ >= 299001000 /* NetBSD 2.99.10 has getpw*_r*/ +# if !defined(_POSIX_THREAD_SAFE_FUNCTIONS) +# define _POSIX_THREAD_SAFE_FUNCTIONS 200112L +# endif +# else +# define XNO_MTSAFE_PWDAPI +# endif @ 1.2 log @Fix OpenMotif package to not overwrite X11R6 files when installed without xpkgwedge. Also, OpenMotif can actually be installed into ${LOCALBASE} if xpkgwedge is installed. Use x11.buildlink.mk and mark as USE_BUILDLINK_ONLY, and add a buildlink.mk file for use by other package Makefiles. @ text @d3 3 a5 5 --- clients/mwm/Imakefile.orig Fri Sep 7 22:06:54 2001 +++ clients/mwm/Imakefile @@@@ -217,7 +217,7 @@@@ CppFileTarget(sys.mwmrc,sys.mwmrc.src,$(LOCAL_CPP_DEFINES),) */ d7 1 a7 3 -InstallNonExecFile(system.mwmrc,$(XPROJECTROOT)/lib/X11) +InstallNonExecFile(system.mwmrc,$(LIBDIR)) InstallAppDefaults(Mwm) d9 7 a15 1 MessageCatalogRule(Mwm) @ 1.1 log @Standardize patch file names. @ text @d1 1 a1 1 $NetBSD: patch-clients-uil-Imakefile,v 1.1.1.1 2000/10/29 16:17:13 mjl Exp $ d3 5 a7 3 --- clients/uil/Imakefile.orig Sun Oct 29 14:29:52 2000 +++ clients/uil/Imakefile Sun Oct 29 14:30:05 2000 @@@@ -40,8 +40,10 @@@@ d9 5 a13 9 #define DoNormalLib NormalLibUil #define DoSharedLib SharedLibUil +#if 0 #define DoDebugLib DebugLibUil #define DoProfileLib ProfileLibUil +#endif #define LibName Uil #define SoRev SOUILREV #define HasSharedData NO @