head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.54 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.52 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.50 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.48 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.46 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.44 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.42 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.40 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.38 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.6 date 2002.12.12.07.07.05; author msaitoh; state dead; branches; next 1.5; 1.5 date 2001.06.12.10.40.39; author tron; state Exp; branches; next 1.4; 1.4 date 99.05.12.13.24.26; author msaitoh; state dead; branches; next 1.3; 1.3 date 99.05.06.20.07.22; author tv; state Exp; branches; next 1.2; 1.2 date 99.05.02.17.18.53; author tron; state dead; branches; next 1.1; 1.1 date 99.05.01.14.38.53; author tron; state Exp; branches; next ; desc @@ 1.6 log @Update to PTL-2.1.9 Changes: * fixed: pthread_kill() does not restore the critical level when given signal number is zero. * New API: POSIX readdir_r. * fixed: interruption by a signal whose handler is SIG_SIGWAIT_NP may cause infinite loop. * fixed: PTL's internal SIGSEGV handler gets strange arguments on a system that has POSIX-based signal facility. @ text @$NetBSD: patch-ac,v 1.5 2001/06/12 10:40:39 tron Exp $ --- src/stack.c.orig Wed Sep 27 23:36:56 2000 +++ src/stack.c Tue Jun 12 11:37:39 2001 @@@@ -220,7 +220,11 @@@@ validate_shm, alloc_shm, extend_shm, +#ifdef __NetBSD__ + NBPG +#else SHMLBA +#endif } #endif /* NO_SHM */ #endif /* !__sun4__ */ @ 1.5 log @Work arround for build problems under NetBSD-current. This fixes PR pkg/13171 by myself. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Upate PTL2 to PTL2-current-990512. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 1999/05/06 20:07:22 tv Exp $ d3 14 a16 37 --- Util/Makefile.in.orig Thu Mar 25 07:51:18 1999 +++ Util/Makefile.in Thu May 6 11:32:11 1999 @@@@ -264,10 +264,14 @@@@ .SUFFIXES: .po +LIBSTUFF=$(LIBRARY_OBJS_PIC) libc_r/*.po net_r/*.po $(altsysdir)/*.po $(SHARED_LIBRARY) : $(LIBRARY_OBJS_PIC) libc_r net_r @@echo "Loading $@@ ... " - $(MKSHLIBCMD) -o $@@ $(LIBRARY_OBJS_PIC) libc_r/*.po net_r/*.po $(altsysdir)/*.po - -ln -s $@@ $@@.$(SLIBVER) + @@if [ -f /usr/lib/crtbeginS.o ]; then \ + $(MKSHLIBCMD) -o $@@.$(SLIBVER) -soname libPTL.so.1 /usr/lib/crtbeginS.o $(LIBSTUFF) /usr/lib/crtendS.o; \ + else \ + $(MKSHLIBCMD) -o $@@.$(SLIBVER) /usr/lib/c++rt0.o $(LIBSTUFF); \ + fi @@echo done .c.po: @@@@ -432,14 +436,10 @@@@ @@$(utildir)/banner "copying $(MERGED_LIBRARY) to $(dest_libdir)" $(INSTALL_DATA) $(MERGED_LIBRARY) $(dest_libdir) $(RANLIB) $(dest_libdir)/$(MERGED_LIBRARY) - if [ -f $(SHARED_LIBRARY) ]; then \ - $(INSTALL_DATA) $(SHARED_LIBRARY) $(dest_libdir) ;\ - (cd $(dest_libdir); \ - rm -f $(SHARED_LIBRARY).$(SLIBVER) ; \ - ln -s $(SHARED_LIBRARY) $(SHARED_LIBRARY).$(SLIBVER) ) ; \ - fi + $(INSTALL_DATA) $(SHARED_LIBRARY).$(SLIBVER) $(dest_libdir) $(INSTALL_DATA) specs $(dest_specsdir) - $(INSTALL_PROGRAM) ptlgcc $(dest_bindir) + sed -e 's,gcc ,g\+\+ ,' ptlgcc >ptlg++ + $(INSTALL_PROGRAM) ptlgcc ptlg++ $(dest_bindir) clean : libaltsys-clean -rm -rf *.o *.po core config.h libc_r net_r \ @ 1.3 log @Use proper ELF build (with -soname); also add c++rt0 for a.out and crt{begin,end}S for ELF so that a constructor does not have to be attached to every resultant .o file (_pthread_init() becomes a constructor in the library itself). Add ptlg++ as analogue of ptlgcc. The pkgname is renamed ptl-990315 (drop -current-) so this version is not considered compatible in binary form. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Backout this change, the link options are passed to "ld" not "gcc" @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 1999/05/01 14:38:53 tron Exp $ d3 37 a39 11 --- Util/configure.orig Fri Mar 19 12:00:58 1999 +++ Util/configure Sat May 1 15:55:42 1999 @@@@ -1327,7 +1327,7 @@@@ then MKSHLIBCMD='ld -Bshareable' PICFLAGS="-fpic" - RECPATHFLAGS="-R " + RECPATHFLAGS="-Wl,-R" fi ;; linux*) @ 1.1 log @Use "-Wl,-R" instead of "-R" in "ptlgcc" to be compatible with the broken "cc" on 1.3 ELF systems. @ text @d1 1 a1 1 $NetBSD$ @