[csw-devel] SF.net SVN: gar:[17654] csw/mgar/pkg/lang-python/python/trunk
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Fri Apr 13 18:11:27 CEST 2012
Revision: 17654
http://gar.svn.sourceforge.net/gar/?rev=17654&view=rev
Author: wahwah
Date: 2012-04-13 16:11:26 +0000 (Fri, 13 Apr 2012)
Log Message:
-----------
python: Force multiprocessing to work
There are 10 kinds of stupid people: Those who hardcode HAVE_SEM_OPEN to 0 and
those who hardcode it to 1.
Modified Paths:
--------------
csw/mgar/pkg/lang-python/python/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/lang-python/python/trunk/files/0019-Force-multiprocess-to-compile.patch
Modified: csw/mgar/pkg/lang-python/python/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/trunk/Makefile 2012-04-13 16:08:37 UTC (rev 17653)
+++ csw/mgar/pkg/lang-python/python/trunk/Makefile 2012-04-13 16:11:26 UTC (rev 17654)
@@ -68,6 +68,9 @@
PATCHFILES += 0017-Random-insignificant-removals-of-usr-local.patch
PATCHFILES += 0018-Removing-usr-local-from-mailcap.patch
+PATCHFILES_5.10 += 0019-Force-multiprocess-to-compile.patch
+PATCHFILES += $(PATCHFILES_$(GAROSREL))
+
# Test for sunaudiodev fails.
SKIPTEST = 1
Added: csw/mgar/pkg/lang-python/python/trunk/files/0019-Force-multiprocess-to-compile.patch
===================================================================
--- csw/mgar/pkg/lang-python/python/trunk/files/0019-Force-multiprocess-to-compile.patch (rev 0)
+++ csw/mgar/pkg/lang-python/python/trunk/files/0019-Force-multiprocess-to-compile.patch 2012-04-13 16:11:26 UTC (rev 17654)
@@ -0,0 +1,27 @@
+From 18b33cfa2e9179cb0d3fc571d808bd0789bb1748 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Fri, 13 Apr 2012 17:02:51 +0200
+Subject: [PATCH] Force multiprocess to compile
+
+---
+ setup.py | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index d7b6b07..3d7ce83 100644
+--- a/setup.py
++++ b/setup.py
+@@ -1410,8 +1410,8 @@ class PyBuildExt(build_ext):
+
+ elif platform == 'sunos5':
+ macros = dict( # Solaris
+- HAVE_SEM_OPEN=0, # Not Implemented
+- HAVE_SEM_TIMEDWAIT=0, # Not Implemented
++ HAVE_SEM_OPEN=1, # Not Implemented
++ HAVE_SEM_TIMEDWAIT=1, # Not Implemented
+ HAVE_FD_TRANSFER=1,
+ )
+ libraries = ['rt']
+--
+1.7.9
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list