pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  9 18:47:25 UTC 2019

Modified Files:
        pkgsrc/lang/python35: distinfo
        pkgsrc/lang/python36: distinfo
        pkgsrc/lang/python37: distinfo
Added Files:
        pkgsrc/lang/python35/patches: patch-Python_pylifecycle.c
        pkgsrc/lang/python36/patches: patch-Python_pylifecycle.c
        pkgsrc/lang/python37/patches: patch-Python_pylifecycle.c

Log Message:
python3[567]: fix #53229


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/python35/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/python35/patches/patch-Python_pylifecycle.c
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/python36/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/python36/patches/patch-Python_pylifecycle.c
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python37/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/python37/patches/patch-Python_pylifecycle.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python35/distinfo
diff -u pkgsrc/lang/python35/distinfo:1.19 pkgsrc/lang/python35/distinfo:1.20
--- pkgsrc/lang/python35/distinfo:1.19  Wed Mar 20 19:27:47 2019
+++ pkgsrc/lang/python35/distinfo       Tue Apr  9 18:47:24 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2019/03/20 19:27:47 adam Exp $
+$NetBSD: distinfo,v 1.20 2019/04/09 18:47:24 adam Exp $
 
 SHA1 (Python-3.5.7.tar.xz) = 743044e357e96ed8e49d709b502f1a9b815be763
 RMD160 (Python-3.5.7.tar.xz) = 782c63473dc5a4fb181409dcc2af9595d1aab92c
@@ -13,6 +13,7 @@ SHA1 (patch-Modules_makesetup) = c9b571e
 SHA1 (patch-Modules_nismodule.c) = bd290417c265846e238660180e60e76c0f5f696a
 SHA1 (patch-Modules_socketmodule.c) = 63d583340b071b07ff3e31cf332fcc2ca9ab50e3
 SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c
+SHA1 (patch-Python_pylifecycle.c) = 04bf34ca27f2e20be3f7bb3fd6598ecbf1d9527a
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
 SHA1 (patch-configure) = 3da9bebda139361ead9dec6c350d0e26454ef58b
 SHA1 (patch-pyconfig.h.in) = e0aa80eb1ed3677da77fcd0a93f72b61ce148d0d

Index: pkgsrc/lang/python36/distinfo
diff -u pkgsrc/lang/python36/distinfo:1.24 pkgsrc/lang/python36/distinfo:1.25
--- pkgsrc/lang/python36/distinfo:1.24  Sat Mar  2 13:23:36 2019
+++ pkgsrc/lang/python36/distinfo       Tue Apr  9 18:47:24 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2019/03/02 13:23:36 adam Exp $
+$NetBSD: distinfo,v 1.25 2019/04/09 18:47:24 adam Exp $
 
 SHA1 (Python-3.6.8.tar.xz) = ee55acedef049268307633cbc9c7ff0610d1244f
 RMD160 (Python-3.6.8.tar.xz) = 478ffd42f188414cd6c114740f90b147363b9b10
@@ -14,6 +14,7 @@ SHA1 (patch-Modules_makesetup) = a06786e
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
 SHA1 (patch-Modules_socketmodule.c) = e6bdb8990cd9b8cf0b0ff48e6ae7b664681a9924
 SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c
+SHA1 (patch-Python_pylifecycle.c) = 9d912a683cf74a39bcd4ab73f431bccd3eb4288e
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
 SHA1 (patch-configure) = 2c2f3e4bb0da0232f7c0c7eeae1eee782b06dd01
 SHA1 (patch-pyconfig.h.in) = 58e2c03489f9b6e4d88f144d8c09773f92eacd61

Index: pkgsrc/lang/python37/distinfo
diff -u pkgsrc/lang/python37/distinfo:1.7 pkgsrc/lang/python37/distinfo:1.8
--- pkgsrc/lang/python37/distinfo:1.7   Tue Mar 26 20:54:55 2019
+++ pkgsrc/lang/python37/distinfo       Tue Apr  9 18:47:24 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2019/03/26 20:54:55 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/04/09 18:47:24 adam Exp $
 
 SHA1 (Python-3.7.3.tar.xz) = e3584650a06ae2765da0678176deae9d133f1b3d
 RMD160 (Python-3.7.3.tar.xz) = 0095f3072e17edb789656442290f8abd0ec1bc58
@@ -15,6 +15,7 @@ SHA1 (patch-Modules_makesetup) = a06786e
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
 SHA1 (patch-Modules_socketmodule.c) = c0bdb256bccc176c2406feec4080cd91fcb693b2
 SHA1 (patch-Modules_socketmodule.h) = 13a3290eb72078067060d3e71b7baa08f3eb591c
+SHA1 (patch-Python_pylifecycle.c) = 99f162ad63cbdcff0829ac3e6ff4a2da0bdbe268
 SHA1 (patch-Python_thread__pthread.h) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be
 SHA1 (patch-configure) = 7945fe47fe894a33aceea06918c4740197e4135a
 SHA1 (patch-pyconfig.h.in) = 58e2c03489f9b6e4d88f144d8c09773f92eacd61

Added files:

Index: pkgsrc/lang/python35/patches/patch-Python_pylifecycle.c
diff -u /dev/null pkgsrc/lang/python35/patches/patch-Python_pylifecycle.c:1.1
--- /dev/null   Tue Apr  9 18:47:25 2019
+++ pkgsrc/lang/python35/patches/patch-Python_pylifecycle.c     Tue Apr  9 18:47:24 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-Python_pylifecycle.c,v 1.1 2019/04/09 18:47:24 adam Exp $
+
+NetBSD is also affected by bpo-30225.
+See bpo-33384: https://bugs.python.org/issue33384
+
+--- Python/pylifecycle.c.orig  2019-03-17 23:47:59.000000000 +0000
++++ Python/pylifecycle.c
+@@ -968,7 +968,7 @@ initsite(void)
+ static int
+ is_valid_fd(int fd)
+ {
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__NetBSD__)
+     /* bpo-30225: On macOS Tiger, when stdout is redirected to a pipe
+        and the other side of the pipe is closed, dup(1) succeed, whereas
+        fstat(1, &st) fails with EBADF. Prefer fstat() over dup() to detect

Index: pkgsrc/lang/python36/patches/patch-Python_pylifecycle.c
diff -u /dev/null pkgsrc/lang/python36/patches/patch-Python_pylifecycle.c:1.1
--- /dev/null   Tue Apr  9 18:47:25 2019
+++ pkgsrc/lang/python36/patches/patch-Python_pylifecycle.c     Tue Apr  9 18:47:24 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-Python_pylifecycle.c,v 1.1 2019/04/09 18:47:24 adam Exp $
+
+NetBSD is also affected by bpo-30225.
+See bpo-33384: https://bugs.python.org/issue33384
+
+--- Python/pylifecycle.c.orig  2019-04-09 17:51:55.000000000 +0000
++++ Python/pylifecycle.c
+@@ -1043,7 +1043,7 @@ initsite(void)
+ static int
+ is_valid_fd(int fd)
+ {
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__NetBSD__)
+     /* bpo-30225: On macOS Tiger, when stdout is redirected to a pipe
+        and the other side of the pipe is closed, dup(1) succeed, whereas
+        fstat(1, &st) fails with EBADF. Prefer fstat() over dup() to detect

Index: pkgsrc/lang/python37/patches/patch-Python_pylifecycle.c
diff -u /dev/null pkgsrc/lang/python37/patches/patch-Python_pylifecycle.c:1.1
--- /dev/null   Tue Apr  9 18:47:25 2019
+++ pkgsrc/lang/python37/patches/patch-Python_pylifecycle.c     Tue Apr  9 18:47:25 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-Python_pylifecycle.c,v 1.1 2019/04/09 18:47:25 adam Exp $
+
+NetBSD is also affected by bpo-30225.
+See bpo-33384: https://bugs.python.org/issue33384
+
+--- Python/pylifecycle.c.orig  2019-03-25 20:21:05.000000000 +0000
++++ Python/pylifecycle.c
+@@ -1672,7 +1672,7 @@ initsite(void)
+ static int
+ is_valid_fd(int fd)
+ {
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__NetBSD__)
+     /* bpo-30225: On macOS Tiger, when stdout is redirected to a pipe
+        and the other side of the pipe is closed, dup(1) succeed, whereas
+        fstat(1, &st) fails with EBADF. Prefer fstat() over dup() to detect



Home | Main Index | Thread Index | Old Index