[30598] trunk/dports/python/py-numeric

source_changes at macosforge.org source_changes at macosforge.org
Thu Nov 1 03:29:39 PDT 2007


Revision: 30598
          http://trac.macosforge.org/projects/macports/changeset/30598
Author:   afb at macports.org
Date:     2007-11-01 03:29:38 -0700 (Thu, 01 Nov 2007)

Log Message:
-----------
copy patch from py25-numeric (#13056, #13067)

Modified Paths:
--------------
    trunk/dports/python/py-numeric/Portfile

Added Paths:
-----------
    trunk/dports/python/py-numeric/files/patch-ranf.c

Modified: trunk/dports/python/py-numeric/Portfile
===================================================================
--- trunk/dports/python/py-numeric/Portfile	2007-11-01 07:40:28 UTC (rev 30597)
+++ trunk/dports/python/py-numeric/Portfile	2007-11-01 10:29:38 UTC (rev 30598)
@@ -5,6 +5,7 @@
 
 name			py-numeric
 version			24.2
+revision		1
 categories		python devel math
 maintainers		nomaintainer
 platforms		darwin
@@ -17,18 +18,20 @@
 distname		Numeric-${version}
 checksums		md5 2ae672656e06716a149acb048cca3093
 
+patchfiles		patch-ranf.c
+
 platform darwin	8 {
 	build.env	CC=/usr/bin/gcc-4.0
 }
 
 platform macosx {
-	patch {
+	post-patch {
 		file copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
 	}
 }
 
 platform puredarwin {
-	patch {
+	post-patch {
 		file copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
 	}
 }

Copied: trunk/dports/python/py-numeric/files/patch-ranf.c (from rev 30585, trunk/dports/python/py25-numeric/files/patch-ranf.c)
===================================================================
--- trunk/dports/python/py-numeric/files/patch-ranf.c	                        (rev 0)
+++ trunk/dports/python/py-numeric/files/patch-ranf.c	2007-11-01 10:29:38 UTC (rev 30598)
@@ -0,0 +1,11 @@
+--- ./Packages/RNG/Src/ranf.c.orig	2005-04-03 14:23:06.000000000 +0200
++++ ./Packages/RNG/Src/ranf.c	2007-10-31 12:59:50.000000000 +0100
+@@ -149,7 +149,7 @@ void Mixranf(int *s,u32 s48[2])
+ #else
+ 	struct timeval tv;
+ 	struct timezone tz;
+-#if !defined(__sgi)
++#if !defined(__sgi) && !defined(__APPLE__)
+ 	int gettimeofday(struct timeval *, struct timezone *);
+ #endif
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071101/aaa7a3d3/attachment.html


More information about the macports-changes mailing list