head 1.15; access; symbols pkgsrc-2013Q2:1.15.0.10 pkgsrc-2013Q2-base:1.15 pkgsrc-2012Q4:1.15.0.8 pkgsrc-2012Q4-base:1.15 pkgsrc-2011Q4:1.15.0.6 pkgsrc-2011Q4-base:1.15 pkgsrc-2011Q2:1.15.0.4 pkgsrc-2011Q2-base:1.15 pkgsrc-2009Q4:1.15.0.2 pkgsrc-2009Q4-base:1.15 pkgsrc-2009Q2:1.14.0.36 pkgsrc-2009Q2-base:1.14 pkgsrc-2009Q1:1.14.0.34 pkgsrc-2009Q1-base:1.14 pkgsrc-2008Q4:1.14.0.32 pkgsrc-2008Q4-base:1.14 pkgsrc-2008Q3:1.14.0.30 pkgsrc-2008Q3-base:1.14 cube-native-xorg:1.14.0.28 cube-native-xorg-base:1.14 pkgsrc-2008Q2:1.14.0.26 pkgsrc-2008Q2-base:1.14 cwrapper:1.14.0.24 pkgsrc-2008Q1:1.14.0.22 pkgsrc-2008Q1-base:1.14 pkgsrc-2007Q4:1.14.0.20 pkgsrc-2007Q4-base:1.14 pkgsrc-2007Q3:1.14.0.18 pkgsrc-2007Q3-base:1.14 pkgsrc-2007Q2:1.14.0.16 pkgsrc-2007Q2-base:1.14 pkgsrc-2007Q1:1.14.0.14 pkgsrc-2007Q1-base:1.14 pkgsrc-2006Q4:1.14.0.12 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.10 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.14.0.8 pkgsrc-2006Q2-base:1.14 pkgsrc-2006Q1:1.14.0.6 pkgsrc-2006Q1-base:1.14 pkgsrc-2005Q4:1.14.0.4 pkgsrc-2005Q4-base:1.14 pkgsrc-2005Q3:1.14.0.2 pkgsrc-2005Q3-base:1.14 pkgsrc-2005Q2:1.11.0.4 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.2 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.8.0.2 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.7.0.4 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.2 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.6.0.2 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3; locks; strict; comment @# @; 1.15 date 2009.09.07.18.17.29; author joerg; state dead; branches; next 1.14; 1.14 date 2005.09.21.09.39.27; author joerg; state Exp; branches; next 1.13; 1.13 date 2005.07.03.19.49.06; author recht; state Exp; branches; next 1.12; 1.12 date 2005.06.30.03.38.22; author minskim; state Exp; branches; next 1.11; 1.11 date 2005.02.15.12.25.07; author drochner; state Exp; branches 1.11.4.1; next 1.10; 1.10 date 2005.01.18.18.22.34; author tv; state Exp; branches; next 1.9; 1.9 date 2004.12.30.21.56.21; author minskim; state Exp; branches; next 1.8; 1.8 date 2004.11.28.13.33.19; author recht; state Exp; branches; next 1.7; 1.7 date 2004.06.02.12.29.28; author recht; state Exp; branches; next 1.6; 1.6 date 2004.03.01.00.16.35; author recht; state Exp; branches; next 1.5; 1.5 date 2003.12.23.17.24.42; author recht; state Exp; branches; next 1.4; 1.4 date 2003.12.08.21.13.56; author recht; state Exp; branches; next 1.3; 1.3 date 2003.09.10.00.11.04; author recht; state Exp; branches; next 1.2; 1.2 date 2003.08.18.17.16.54; author recht; state Exp; branches; next 1.1; 1.1 date 2003.08.06.11.38.10; author drochner; state Exp; branches; next ; 1.11.4.1 date 2005.07.02.06.43.47; author snj; state Exp; branches; next ; desc @@ 1.15 log @Remove py22-html-docs, py23-html-docs and Python 2.3. @ text @$NetBSD: patch-al,v 1.14 2005/09/21 09:39:27 joerg Exp $ --- configure.orig 2005-01-11 14:48:52.000000000 +0100 +++ configure 2005-07-01 15:27:58.000000000 +0200 @@@@ -1481,6 +1481,8 @@@@ case $ac_sys_system/$ac_sys_release in # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. OpenBSD/2.* | OpenBSD/3.[01234]) define_xopen_source=no;; + NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S]) + define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop. SunOS/5.6) @@@@ -1498,13 +1500,18 @@@@ case $ac_sys_system/$ac_sys_release in # it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently, # this is fixed in 10.3, which identifies itself as Darwin/7.* # This should hopefully be fixed in FreeBSD 4.9 - FreeBSD/4.8* | Darwin/6* ) + FreeBSD/4.8* | Darwin/6* | Darwin/8* ) define_xopen_source=no;; # On AIX 4, mbstate_t is defined only when _XOPEN_SOURCE == 500 but used in # wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined or # has another value. By not (re)defining it, the defaults come in place. AIX/4) define_xopen_source=no;; + # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE + # disables platform specific features beyond repair. + Darwin/8.*) + define_xopen_source=no + ;; esac if test $define_xopen_source = yes @@@@ -3733,7 +3740,7 @@@@ _ACEOF RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION ;; - Linux*|GNU*|NetBSD*) + Linux*|GNU*|NetBSD*|FreeBSD*|Interix*|DragonFly*) LDLIBRARY='libpython$(VERSION).so' BLDLIBRARY='-L. -lpython$(VERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} @@@@ -3754,6 +3761,14 @@@@ _ACEOF BLDLIBRARY='-L. -lpython$(VERSION)' RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib} ;; + Darwin*) + if test -z "$enable_framework"; then + LDLIBRARY='libpython$(VERSION).dylib' + BLDLIBRARY='-L. -lpython$(VERSION)' + RUNSHARED=DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH} + fi + ;; + esac # DG/UX requires some fancy ld contortions to produce a .so from an .a case $MACHDEP in @@@@ -4152,7 +4167,12 @@@@ echo "${ECHO_T}$ac_cv_no_strict_aliasing ;; # is there any other compiler on Darwin besides gcc? Darwin*) - BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd" + if [[ `/usr/bin/arch` = 'ppc' ]] + then + BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common" + else + BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -fno-common" + fi ;; esac ;; @@@@ -10979,7 +10999,7 @@@@ then LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' else # No framework. Ignore undefined symbols, assuming they come from Python - LDSHARED="$LDSHARED -undefined suppress" + LDSHARED="$LDSHARED -flat_namespace -undefined suppress" fi ;; Darwin/1.4*|Darwin/5.*|Darwin/6.*) LDSHARED='$(CC) $(LDFLAGS) -bundle' @@@@ -11009,12 +11029,12 @@@@ then LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' else # No framework, use the Python app as bundle-loader - BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' - LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)' + BLDSHARED="$LDSHARED "'-flat_namespace -undefined suppress -bundle_loader $(BUILDPYTHON)' + LDSHARED="$LDSHARED "'-flat_namespace -undefined suppress -bundle_loader $(BINDIR)/python$(VERSION)$(EXE)' fi fi ;; - Linux*|GNU*) LDSHARED='$(CC) -shared';; + Linux*|GNU*) LDSHARED='$(CC) -shared ${LDFLAGS}';; dgux*) LDSHARED="ld -G";; BSD/OS*/4*) LDSHARED="gcc -shared";; OpenBSD*|FreeBSD*) @@@@ -11024,7 +11044,8 @@@@ then else LDSHARED="ld -Bshareable ${LDFLAGS}" fi;; - NetBSD*) LDSHARED="cc -shared ${LDFLAGS}";; + NetBSD*|DragonFly*) LDSHARED='$(CC) -shared ${LDFLAGS}';; + Interix*) LDSHARED='$(CC) -shared ${LDFLAGS}';; # XXX tv needs image-base hack OpenUNIX*|UnixWare*) if test "$GCC" = "yes" then LDSHARED='$(CC) -shared' @@@@ -11056,7 +11077,8 @@@@ then fi;; Linux*|GNU*) CCSHARED="-fPIC";; BSD/OS*/4*) CCSHARED="-fpic";; - FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";; + FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";; + Interix*) CCSHARED="";; OpenUNIX*|UnixWare*) if test "$GCC" = "yes" then CCSHARED="-fPIC" @@@@ -11111,11 +11133,12 @@@@ then OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";; SCO_SV*) LINKFORSHARED="-Wl,-Bexport";; ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";; - FreeBSD*|NetBSD*|OpenBSD*) + FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) if [ "`$CC -dM -E - &1 | grep export-dynamic >/dev/null @@@@ -13357,7 +13380,7 @@@@ cat >>confdefs.h <<\_ACEOF _ACEOF ;; - SunOS/5.8) + SunOS/5.8 | Darwin/8* ) cat >>confdefs.h <<\_ACEOF #define HAVE_BROKEN_POSIX_SEMAPHORES 1 _ACEOF @@@@ -15127,6 +15150,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include "confdefs.h" +#include #include #include #include @ 1.14 log @Allow Python 2.3 to build dynamic modules on DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.13 2005/07/03 19:49:06 recht Exp $ @ 1.13 log @Add devel/gettext-lib as dependency to avoid problems with the locale module not being built. - fix suggested by Simon Kuhn in PR 29735 Add a patch from Antoine Reilles submitted in PR 30466 to fix the buid of some modules on OS X 10.4. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.12 2005/06/30 03:38:22 minskim Exp $ d5 1 a5 1 @@@@ -1481,6 +1481,8 @@@@ d14 1 a14 1 @@@@ -1498,13 +1500,18 @@@@ d34 1 a34 1 @@@@ -3733,7 +3740,7 @@@@ d39 1 a39 1 + Linux*|GNU*|NetBSD*|FreeBSD*|Interix*) d43 1 a43 1 @@@@ -3754,6 +3761,14 @@@@ d58 1 a58 1 @@@@ -4152,7 +4167,12 @@@@ d72 1 a72 1 @@@@ -10979,7 +10999,7 @@@@ d81 1 a81 1 @@@@ -11009,12 +11029,12 @@@@ d97 1 a97 1 @@@@ -11024,7 +11044,8 @@@@ d102 1 a102 1 + NetBSD*) LDSHARED='$(CC) -shared ${LDFLAGS}';; d107 2 a108 1 @@@@ -11057,6 +11078,7 @@@@ d111 2 a112 1 FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";; d117 7 a123 1 @@@@ -11116,6 +11138,7 @@@@ d131 1 a131 1 @@@@ -13357,7 +13380,7 @@@@ d140 1 a140 1 @@@@ -15127,6 +15150,7 @@@@ @ 1.12 log @Backport from Python-2.4 a configure condition that prevents _POSIX_C_SOURCE from being defined on Darwin-8.x. This makes the package build on Darwin-8.x. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2005-01-11 07:48:52.000000000 -0600 +++ configure @@@@ -1481,6 +1481,8 @@@@ case $ac_sys_system/$ac_sys_release in d14 9 a22 1 @@@@ -1505,6 +1507,11 @@@@ case $ac_sys_system/$ac_sys_release in d34 1 a34 1 @@@@ -3733,7 +3740,7 @@@@ _ACEOF d43 1 a43 1 @@@@ -3754,6 +3761,14 @@@@ _ACEOF d58 1 a58 1 @@@@ -4152,7 +4167,12 @@@@ echo "${ECHO_T}$ac_cv_no_strict_aliasing d72 1 a72 1 @@@@ -10979,7 +10999,7 @@@@ then d81 1 a81 1 @@@@ -11009,12 +11029,12 @@@@ then d97 1 a97 1 @@@@ -11024,7 +11044,8 @@@@ then d107 1 a107 1 @@@@ -11057,6 +11078,7 @@@@ then d115 1 a115 1 @@@@ -11116,6 +11138,7 @@@@ then d123 10 a132 1 @@@@ -15127,6 +15150,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF @ 1.11 log @update to 2.3.5 This is a bug-fix release. It contains the fix for http://www.python.org/security/PSF-2005-001/ which we added in 2.3.4nb7. @ text @d3 1 a3 1 --- configure.orig 2005-01-11 14:48:52.000000000 +0100 d14 13 a26 1 @@@@ -3733,7 +3735,7 @@@@ _ACEOF d35 1 a35 1 @@@@ -3754,6 +3756,14 @@@@ _ACEOF d50 1 a50 1 @@@@ -4152,7 +4162,12 @@@@ echo "${ECHO_T}$ac_cv_no_strict_aliasing d64 1 a64 1 @@@@ -10979,7 +10994,7 @@@@ then d73 1 a73 1 @@@@ -11009,12 +11024,12 @@@@ then d89 1 a89 1 @@@@ -11024,7 +11039,8 @@@@ then d99 1 a99 1 @@@@ -11057,6 +11073,7 @@@@ then d107 1 a107 1 @@@@ -11116,6 +11133,7 @@@@ then d115 1 a115 1 @@@@ -15127,6 +15145,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF @ 1.11.4.1 log @Pullup ticket 576 - requested by Min Sik Kim portability fix for python23 Revisions pulled up: - pkgsrc/lang/python23/distinfo 1.30 - pkgsrc/lang/python23/patches/patch-al 1.12 Module Name: pkgsrc Committed By: minskim Date: Thu Jun 30 03:38:22 UTC 2005 Modified Files: pkgsrc/lang/python23: distinfo pkgsrc/lang/python23/patches: patch-al Log Message: Backport from Python-2.4 a configure condition that prevents _POSIX_C_SOURCE from being defined on Darwin-8.x. This makes the package build on Darwin-8.x. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.11 2005/02/15 12:25:07 drochner Exp $ d3 1 a3 1 --- configure.orig 2005-01-11 07:48:52.000000000 -0600 d14 1 a14 13 @@@@ -1505,6 +1507,11 @@@@ case $ac_sys_system/$ac_sys_release in # has another value. By not (re)defining it, the defaults come in place. AIX/4) define_xopen_source=no;; + # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE + # disables platform specific features beyond repair. + Darwin/8.*) + define_xopen_source=no + ;; esac if test $define_xopen_source = yes @@@@ -3733,7 +3740,7 @@@@ _ACEOF d23 1 a23 1 @@@@ -3754,6 +3761,14 @@@@ _ACEOF d38 1 a38 1 @@@@ -4152,7 +4167,12 @@@@ echo "${ECHO_T}$ac_cv_no_strict_aliasing d52 1 a52 1 @@@@ -10979,7 +10999,7 @@@@ then d61 1 a61 1 @@@@ -11009,12 +11029,12 @@@@ then d77 1 a77 1 @@@@ -11024,7 +11044,8 @@@@ then d87 1 a87 1 @@@@ -11057,6 +11078,7 @@@@ then d95 1 a95 1 @@@@ -11116,6 +11138,7 @@@@ then d103 1 a103 1 @@@@ -15127,6 +15150,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF @ 1.10 log @First stab at Interix support; --image-base hack not yet used here. @ text @d3 1 a3 1 --- configure.orig 2004-05-07 15:13:40.000000000 -0400 d5 1 a5 1 @@@@ -1440,6 +1440,8 @@@@ case $ac_sys_system/$ac_sys_release in d14 1 a14 1 @@@@ -3603,7 +3605,7 @@@@ _ACEOF d23 1 a23 1 @@@@ -3624,6 +3626,14 @@@@ _ACEOF d38 1 a38 1 @@@@ -4021,7 +4031,12 @@@@ echo "${ECHO_T}$ac_cv_no_strict_aliasing d52 2 a53 2 @@@@ -10082,7 +10097,7 @@@@ then LDSHARED="$LDSHARED "'-framework $(PYTHONFRAMEWORK)' d59 1 a59 1 Darwin/*) d61 11 a71 9 @@@@ -10091,10 +10106,10 @@@@ then LDSHARED="$LDSHARED "'-framework $(PYTHONFRAMEWORK)' else # No framework, use the Python app as bundle-loader - BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' - LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)' + BLDSHARED="$LDSHARED "'-flat_namespace -undefined suppress -bundle_loader $(BUILDPYTHON)' + LDSHARED="$LDSHARED "'-flat_namespace -undefined suppress -bundle_loader $(BINDIR)/python$(VERSION)$(EXE)' fi ;; d77 1 a77 1 @@@@ -10104,7 +10119,8 @@@@ then d87 1 a87 1 @@@@ -10137,6 +10153,7 @@@@ then d95 1 a95 1 @@@@ -10196,6 +10213,7 @@@@ then d103 1 a103 1 @@@@ -13855,6 +13873,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF @ 1.9 log @Honor LDFLAGS when building shared libraries on Linux. Previously, python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was used. @ text @d3 1 a3 1 --- configure.orig 2004-05-07 14:13:40.000000000 -0500 d19 1 a19 1 + Linux*|GNU*|NetBSD*|FreeBSD*) d75 27 a101 1 @@@@ -13855,6 +13870,7 @@@@ cat >>conftest.$ac_ext <<_ACEOF @ 1.8 log @Add patches from darwinports/fink to make the posixmodule work on Darwin/ OSX and build the libpython as dynamic library. While at it also fix the PLIST for Darwin/OSX. @ text @d3 3 a5 3 --- configure.orig Fri May 7 21:13:40 2004 +++ configure Thu Nov 25 13:20:20 2004 @@@@ -1440,6 +1440,8 @@@@ d14 1 a14 1 @@@@ -3603,7 +3605,7 @@@@ d23 1 a23 1 @@@@ -3624,6 +3626,14 @@@@ d38 1 a38 1 @@@@ -4021,7 +4031,12 @@@@ d52 1 a52 1 @@@@ -10082,7 +10097,7 @@@@ d61 1 a61 1 @@@@ -10091,8 +10106,8 @@@@ d70 2 a71 1 Linux*|GNU*) LDSHARED='$(CC) -shared';; d73 3 a75 1 @@@@ -13855,6 +13870,7 @@@@ @ 1.7 log @Update to 2.3.4 This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of weakref bugs and a bug in pickle version 2. There are also a number of fixes to the standard library, and some build fixes - see the release notes ( http://www.python.org/2.3.4/NEWS.html ) for details. @ text @d3 2 a4 2 --- configure.orig 2004-05-07 21:13:40.000000000 +0200 +++ configure 2004-06-02 13:45:43.000000000 +0200 d23 50 a72 1 @@@@ -13855,6 +13857,7 @@@@ @ 1.6 log @Apply first part (creation of libpython.so) of the patch provided by Michal Pasternak in PR 24599. Leave the RUNSHARED part for now until it's proven that it's really needed and a cleaner has been found. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.5 2003/12/23 17:24:42 recht Exp $ d3 2 a4 2 --- configure.orig 2003-11-18 20:59:36.000000000 +0100 +++ configure 2004-03-01 00:55:14.000000000 +0100 d14 1 a14 1 @@@@ -3602,7 +3604,7 @@@@ d23 1 a23 1 @@@@ -13854,6 +13856,7 @@@@ @ 1.5 log @update to 2.3.3 This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of serious errors with weakrefs and the cyclic garbage collector. There are also a number of fixes to the standard library - see the release notes ( http://www.python.org/2.3.3/NEWS.html )for details. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.4 2003/12/08 21:13:56 recht Exp $ d4 1 a4 1 +++ configure 2003-12-23 12:29:27.000000000 +0100 d14 9 @ 1.4 log @Update to Python 2.3.2 Changes in Python: Quite a few fixes.. See NEWS for details. Changes in the pkg: - add FreeBSD patches from the FreeBSD port - add fix for a fatal bug in type's GC handling causes segfaults (via FreeBSD port) see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u - always build the db 1.85 module (on all platforms) @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- configure.orig 2003-09-27 10:58:55.000000000 +0200 +++ configure 2003-12-08 21:34:21.000000000 +0100 d6 2 a7 2 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm. OpenBSD/2.* | OpenBSD/3.[0123]) d14 1 a14 1 @@@@ -13837,6 +13839,7 @@@@ @ 1.3 log @Correctly disable POSIX* and XOPEN* macros on < 1.6T. This should fix py-curses in hubertf's bulk build. Also add a patch from drochner@@ for 1.5. Bump PKGREVISION 1, because the This the pyconfig.h header is affected. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 2003/08/18 17:16:54 recht Exp $ d3 13 a15 42 --- pyconfig.h.in.orig 2003-07-22 17:20:49.000000000 +0200 +++ pyconfig.h.in 2003-09-10 01:01:29.000000000 +0200 @@@@ -835,6 +835,13 @@@@ /* Define _OSF_SOURCE to get the makedev macro. */ #undef _OSF_SOURCE +/* These defines disable needed library functions on NetBSD < 1.6T */ +/* ( _NETBSD_SOURCE doesn't exist prior to 1.6T ) */ +#if defined(__NetBSD__) +#include +#endif +#if !defined(__NetBSD__) || __NetBSD_Version__ > 106200000 + /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE @@@@ -845,18 +852,20 @@@@ /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE -/* Define if you have POSIX threads, and your system does not define that. */ -#undef _POSIX_THREADS - -/* Define to force use of thread-safe errno, h_errno, and other functions */ -#undef _REENTRANT - /* Define to the level of X/Open that your system supports */ #undef _XOPEN_SOURCE /* Define to activate Unix95-and-earlier features */ #undef _XOPEN_SOURCE_EXTENDED +#endif /* __NetBSD_Version__ */ + +/* Define if you have POSIX threads, and your system does not define that. */ +#undef _POSIX_THREADS + +/* Define to force use of thread-safe errno, h_errno, and other functions */ +#undef _REENTRANT + /* Define on FreeBSD to activate all library features */ #undef __BSD_VISIBLE d17 5 @ 1.2 log @- Fix build for NetBSD <= 1.5. - Include bzip2's buildlink2.mk to work-around different API versions. - Include db's buildlink2.mk on non-NetBSD platforms to get a similar feature-set on a pkgsrc platforms. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.1 2003/08/06 11:38:11 drochner Exp $ d4 2 a5 2 +++ pyconfig.h.in 2003-08-18 18:24:43.000000000 +0200 @@@@ -835,6 +835,12 @@@@ d11 1 a11 1 +#ifdef __NetBSD__ d13 2 a14 1 +#if !defined(__NetBSD_Version__) || (__NetBSD_Version__ < 106200000) d19 1 a19 1 @@@@ -845,18 +851,30 @@@@ d23 6 a28 15 +#endif +#endif /* __NetBSD__ */ + /* Define if you have POSIX threads, and your system does not define that. */ #undef _POSIX_THREADS /* Define to force use of thread-safe errno, h_errno, and other functions */ #undef _REENTRANT +/* These defines disable needed library functions on NetBSD < 1.6T */ +/* ( _NETBSD_SOURCE doesn't exists prior to 1.6T ) */ +#ifdef __NetBSD__ +#include +#if !defined(__NetBSD_Version__) || (__NetBSD_Version__ < 106200000) + d35 7 a41 2 +#endif +#endif /* __NetBSD__ */ @ 1.1 log @-add a patch from Marc Recht vie pkgsrc-wip which meddes with these XOPEN/POSIX/NetBSD_SOURCE definitions so that it builds on 1.6.x -pull in some GNU-pth related fixes from Python-2.2-pth @ text @d1 1 a1 1 $NetBSD$ d4 2 a5 2 +++ pyconfig.h.in 2003-08-02 15:50:34.000000000 +0200 @@@@ -835,6 +835,10 @@@@ d11 3 a13 1 +#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106200000) d18 1 a18 1 @@@@ -845,18 +849,26 @@@@ d23 1 d33 3 a35 1 +#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106200000) d44 1 @