From owner-svn-ports-branches@freebsd.org Mon Dec 9 09:24:16 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 265231D1FC7; Mon, 9 Dec 2019 09:24:16 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Wd7375Wlz4QPP; Mon, 9 Dec 2019 09:24:15 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EEB74188A5; Mon, 9 Dec 2019 09:24:15 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB99OFYi072224; Mon, 9 Dec 2019 09:24:15 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB99OF6d072217; Mon, 9 Dec 2019 09:24:15 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201912090924.xB99OF6d072217@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Mon, 9 Dec 2019 09:24:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r519597 - in branches/2019Q4/lang: python35 python36 X-SVN-Group: ports-branches X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in branches/2019Q4/lang: python35 python36 X-SVN-Commit-Revision: 519597 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2019 09:24:16 -0000 Author: lwhsu Date: Mon Dec 9 09:24:14 2019 New Revision: 519597 URL: https://svnweb.freebsd.org/changeset/ports/519597 Log: MFH: r519233 r519241 r519244 Fix namespace pollution in python3.5 and python3.6 (upstreamed fix) The standard math library (libm) may follow IEEE-754 recommendation to include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x). And this triggers a name clash, found by FreeBSD developer Steve Kargl, who worked on putting sinpi into libm used on FreeBSD (it has to be named "sinpi", not "sinPi", cf. e.g. https://en.cppreference.com/w/c/experimental/fpext4). - python2.7 and > 3.6 are already fixed PR: 232792 Submitted by: Steve Kargl , Dima Pasechnik Approved by: python (maintainer timeout) Obtained from: https://github.com/python/cpython/commit/b545ba0a508a5980ab147ed2641a42be3b31a2db Backport fix of https://bugs.python.org/issue32849 This is needed for starting sysutils/azure-agent at boot: https://github.com/Azure/WALinuxAgent/issues/1687 Obtained from: https://github.com/python/cpython/pull/12852/commits/f9c01a16dae8aa15d264a1937fb589e8598d1c88 Sponsored by: The FreeBSD Foundation Fix makefile ordering. Reported by: mat Approved by: ports-secteam (miwi) Sponsored by: The FreeBSD Foundation Modified: branches/2019Q4/lang/python35/Makefile branches/2019Q4/lang/python35/distinfo branches/2019Q4/lang/python36/Makefile branches/2019Q4/lang/python36/distinfo Modified: branches/2019Q4/lang/python35/Makefile ============================================================================== --- branches/2019Q4/lang/python35/Makefile Mon Dec 9 08:33:39 2019 (r519596) +++ branches/2019Q4/lang/python35/Makefile Mon Dec 9 09:24:14 2019 (r519597) @@ -3,12 +3,16 @@ PORTNAME= python PORTVERSION= ${PYTHON_PORTVERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} PKGNAMESUFFIX= ${PYTHON_SUFFIX} DISTNAME= Python-${PORTVERSION} DIST_SUBDIR= python + +# Resolve sinpi name clash with libm (IEEE-754 violation) +PATCH_SITES= https://github.com/python/cpython/commit/ +PATCHFILES= f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch:-p1 MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language Modified: branches/2019Q4/lang/python35/distinfo ============================================================================== --- branches/2019Q4/lang/python35/distinfo Mon Dec 9 08:33:39 2019 (r519596) +++ branches/2019Q4/lang/python35/distinfo Mon Dec 9 09:24:14 2019 (r519597) @@ -1,3 +1,5 @@ -TIMESTAMP = 1552961810 +TIMESTAMP = 1575745214 SHA256 (python/Python-3.5.7.tar.xz) = 285892899bf4d5737fd08482aa6171c6b2564a45b9102dfacfb72826aebdc7dc SIZE (python/Python-3.5.7.tar.xz) = 15324736 +SHA256 (python/f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch) = 44340896504b297bbab06db0bb0a71ddf9f25bbe02ab3dcdfeec2772c957b69f +SIZE (python/f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch) = 2542 Modified: branches/2019Q4/lang/python36/Makefile ============================================================================== --- branches/2019Q4/lang/python36/Makefile Mon Dec 9 08:33:39 2019 (r519596) +++ branches/2019Q4/lang/python36/Makefile Mon Dec 9 09:24:14 2019 (r519597) @@ -3,11 +3,17 @@ PORTNAME= python PORTVERSION= ${PYTHON_PORTVERSION} +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} PKGNAMESUFFIX= ${PYTHON_SUFFIX} DISTNAME= Python-${PORTVERSION} DIST_SUBDIR= python + +# Resolve sinpi name clash with libm (IEEE-754 violation) +PATCH_SITES= https://github.com/python/cpython/commit/ +PATCHFILES= f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch:-p1 \ + f9c01a16dae8aa15d264a1937fb589e8598d1c88.patch:-p1 MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language Modified: branches/2019Q4/lang/python36/distinfo ============================================================================== --- branches/2019Q4/lang/python36/distinfo Mon Dec 9 08:33:39 2019 (r519596) +++ branches/2019Q4/lang/python36/distinfo Mon Dec 9 09:24:14 2019 (r519597) @@ -1,3 +1,7 @@ -TIMESTAMP = 1562110897 +TIMESTAMP = 1575752359 SHA256 (python/Python-3.6.9.tar.xz) = 5e2f5f554e3f8f7f0296f7e73d8600c4e9acbaee6b2555b83206edf5153870da SIZE (python/Python-3.6.9.tar.xz) = 17212164 +SHA256 (python/f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch) = 44340896504b297bbab06db0bb0a71ddf9f25bbe02ab3dcdfeec2772c957b69f +SIZE (python/f57cd8288dbe6aba99c057f37ad6d58f8db75350.patch) = 2542 +SHA256 (python/f9c01a16dae8aa15d264a1937fb589e8598d1c88.patch) = a5cf6ef701d6afb14417232c6723fe2c50d7bf35d87bf6b3e3bcbfa1000a38f9 +SIZE (python/f9c01a16dae8aa15d264a1937fb589e8598d1c88.patch) = 2888