head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.18 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.16 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.14 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.12 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.10 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.8 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.6 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.1.0.6 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.4 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.2 pkgsrc-2007Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2008.04.25.16.11.12; author tnn; state dead; branches; next 1.1; 1.1 date 2007.07.24.16.53.20; author drochner; state Exp; branches; next ; desc @@ 1.2 log @De-orbit support for python 2.0 and python 2.2 under the "three major releases is enough" rule of thumb. (python 2.3 was released 5 years ago.) Keep python 1.5 and 2.1 though, because there are a handful of packages that still need them. @ text @$NetBSD: patch-ak,v 1.1 2007/07/24 16:53:20 drochner Exp $ --- Modules/mmapmodule.c.orig 2001-03-31 15:23:19.000000000 +0200 +++ Modules/mmapmodule.c @@@@ -390,10 +390,12 @@@@ mmap_resize_method(mmap_object *self, #ifdef MREMAP_MAYMOVE newmap = mremap(self->data, self->size, new_size, MREMAP_MAYMOVE); +#elif defined(__NetBSD__) + newmap = mremap(self->data, self->size, self->data, new_size, 0); #else newmap = mremap(self->data, self->size, new_size, 0); #endif - if (newmap == (void *)-1) + if (newmap == MAP_FAILED) { PyErr_SetFromErrno(mmap_module_error); return NULL; @ 1.1 log @-make this build with NetBSD's version of mremap(2) (reused joerg's patch to python24) -fix some misbehaviour of distutils - the interpreter path of scripts was messed up under some circumstances @ text @d1 1 a1 1 $NetBSD$ @