[Midnightbsd-cvs] mports: lang/python25: Update to python 2.5.4
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Feb 26 23:23:10 EST 2009
Log Message:
-----------
Update to python 2.5.4
Modified Files:
--------------
mports/lang/python25:
Makefile (r1.3 -> r1.4)
distinfo (r1.2 -> r1.3)
pkg-plist (r1.2 -> r1.3)
Added Files:
-----------
mports/lang/python25/files:
patch-Python_thread__pthread.h (r1.1)
-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/lang/python25/pkg-plist,v
retrieving revision 1.2
retrieving revision 1.3
diff -L lang/python25/pkg-plist -L lang/python25/pkg-plist -u -r1.2 -r1.3
--- lang/python25/pkg-plist
+++ lang/python25/pkg-plist
@@ -1015,7 +1015,6 @@
%%PYTHON_LIBDIR%%/test/output/test_pty
%%PYTHON_LIBDIR%%/test/output/test_pyexpat
%%PYTHON_LIBDIR%%/test/output/test_regex
-%%PYTHON_LIBDIR%%/test/output/test_resource
%%PYTHON_LIBDIR%%/test/output/test_rgbimg
%%PYTHON_LIBDIR%%/test/output/test_scope
%%PYTHON_LIBDIR%%/test/output/test_signal
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/python25/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L lang/python25/Makefile -L lang/python25/Makefile -u -r1.3 -r1.4
--- lang/python25/Makefile
+++ lang/python25/Makefile
@@ -1,12 +1,7 @@
-# New ports collection makefile for: python25
-# Date created: 3 July 2003
-# Whom: Hye-Shik Chang <perky at FreeBSD.org>
-#
# $MidnightBSD$
-# $FreeBSD: ports/lang/python25/Makefile,v 1.144 2007/07/30 09:41:36 alexbl Exp $
PORTNAME= python25
-PORTVERSION= 2.5.2
+PORTVERSION= 2.5.4
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/lang/python25/distinfo,v
retrieving revision 1.2
retrieving revision 1.3
diff -L lang/python25/distinfo -L lang/python25/distinfo -u -r1.2 -r1.3
--- lang/python25/distinfo
+++ lang/python25/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/Python-2.5.2.tgz) = 3f7ca8aa86c6bd275426d63b46e07992
-SHA256 (python/Python-2.5.2.tgz) = 834afe8a88adaf623b05ac5dd6700dd5bb5d0d5553fc74ad529359a3496e4ae3
-SIZE (python/Python-2.5.2.tgz) = 11583114
+MD5 (python/Python-2.5.4.tgz) = ad47b23778f64edadaaa8b5534986eed
+SHA256 (python/Python-2.5.4.tgz) = 3d3b205611ee503a38a9433d5645a571668420bb219242c7f51af85f05664da6
+SIZE (python/Python-2.5.4.tgz) = 11604497
--- /dev/null
+++ lang/python25/files/patch-Python_thread__pthread.h
@@ -0,0 +1,27 @@
+--- Python/thread_pthread.h
++++ Python/thread_pthread.h
+@@ -149,6 +149,7 @@
+ {
+ pthread_t th;
+ int status;
++ sigset_t set, oset;
+ #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
+ pthread_attr_t attrs;
+ #endif
+@@ -177,6 +178,8 @@
+ #if defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
+ pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM);
+ #endif
++ sigfillset(&set);
++ SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset);
+
+ status = pthread_create(&th,
+ #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
+@@ -188,6 +191,7 @@
+ (void *)arg
+ );
+
++ SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL);
+ #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
+ pthread_attr_destroy(&attrs);
+ #endif
More information about the Midnightbsd-cvs
mailing list