From owner-freebsd-python@FreeBSD.ORG Sun Dec 1 09:40:01 2013 Return-Path: Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA8618C3 for ; Sun, 1 Dec 2013 09:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A664E1ACB for ; Sun, 1 Dec 2013 09:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB19e1wx076129 for ; Sun, 1 Dec 2013 09:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB19e1lL076128; Sun, 1 Dec 2013 09:40:01 GMT (envelope-from gnats) Date: Sun, 1 Dec 2013 09:40:01 GMT Message-Id: <201312010940.rB19e1lL076128@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/156759: commit references a PR X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: dfilter service List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 09:40:01 -0000 The following reply was made to PR ports/156759; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/156759: commit references a PR Date: Sun, 1 Dec 2013 09:36:56 +0000 (UTC) Author: koobs Date: Sun Dec 1 09:36:49 2013 New Revision: 335371 URL: http://svnweb.freebsd.org/changeset/ports/335371 Log: lang/python32: Backport upstream kevent fix Backport a change fixing use of kevent flags that was merged to Python default, 3.3 and 2.7 branches, but not 3.2 and 3.1 that were in security-only mode at the time of commit. [1] - Add patch: patch-Modules__selectmodule.c References: [1] Issue #11973: Fix a problem in kevent. The flags and fflags fields are now properly handled as unsigned. [#11973] http://bugs.python.org/issue11973 http://hg.python.org/cpython/rev/8345fb616cbd While I'm here: - Add LICENSE (PSFL) - Clean up, reorganise, sort & whitespace align sections PR: ports/156759 Submitted by: David Naylor Reviewed by: mva Added: head/lang/python32/files/patch-Modules__selectmodule.c (contents, props changed) Modified: head/lang/python32/Makefile Modified: head/lang/python32/Makefile ============================================================================== --- head/lang/python32/Makefile Sun Dec 1 09:34:20 2013 (r335370) +++ head/lang/python32/Makefile Sun Dec 1 09:36:49 2013 (r335371) @@ -1,35 +1,40 @@ # $FreeBSD$ -PORTNAME= python32 -PORTVERSION= 3.2.5 -PORTREVISION= 3 -CATEGORIES= lang python ipv6 -MASTER_SITES= PYTHON +PORTNAME= python32 +PORTVERSION= 3.2.5 +PORTREVISION= 4 +CATEGORIES= lang python ipv6 +MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} -DISTFILES= ${PYTHON_DISTFILE} +DISTFILES= ${PYTHON_DISTFILE} +DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language -DIST_SUBDIR= python -WRKSRC= ${PYTHON_WRKSRC}/portbld.static -PATCH_WRKSRC= ${PYTHON_WRKSRC} -GNU_CONFIGURE= yes +LICENSE= PSFL + +GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative -CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" -MAKE_ENV= VPATH="${PYTHON_WRKSRC}" -USE_LDCONFIG= yes +CONFIGURE_ENV= OPT="" SVNVERSION="echo freebsd" +MAKE_ENV= VPATH="${PYTHON_WRKSRC}" + INSTALL_TARGET= altinstall MAN1= ${PYTHON_VERSION}.1 +USE_LDCONFIG= yes USE_PYTHON= yes USE_XZ= yes -PYTHON_VERSION= python3.2 + +PYTHON_VERSION= python3.2 PYTHON_NO_DEPENDS= yes +WRKSRC= ${PYTHON_WRKSRC}/portbld.static +SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared +PATCH_WRKSRC= ${PYTHON_WRKSRC} + PYABIVER= # default empty, for after appending -SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \ PYMAJOR=${PYTHON_MAJOR_VER} \ PYVER_WITHPAT=${PORTVERSION:S/.rc/rc/} \ Added: head/lang/python32/files/patch-Modules__selectmodule.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/python32/files/patch-Modules__selectmodule.c Sun Dec 1 09:36:49 2013 (r335371) @@ -0,0 +1,11 @@ +--- ./Modules/selectmodule.c.orig 2013-11-30 23:03:20.030929248 +1100 ++++ ./Modules/selectmodule.c 2013-11-30 23:03:56.111022639 +1100 +@@ -1246,7 +1246,7 @@ + PyObject *pfd; + static char *kwlist[] = {"ident", "filter", "flags", "fflags", + "data", "udata", NULL}; +- static char *fmt = "O|hhi" INTPTRT_FMT_UNIT UINTPTRT_FMT_UNIT ":kevent"; ++ static char *fmt = "O|hHI" INTPTRT_FMT_UNIT UINTPTRT_FMT_UNIT ":kevent"; + + EV_SET(&(self->e), 0, EVFILT_READ, EV_ADD, 0, 0, 0); /* defaults */ + _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"