pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/iperf Fix a bug that prevented this package from c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33f7c2069ea7
branches:  trunk
changeset: 507806:33f7c2069ea7
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Feb 08 18:15:26 2006 +0000

description:
Fix a bug that prevented this package from compiling on Solaris
and Darwin.  Patch from the iperf mailing list.

diffstat:

 net/iperf/distinfo         |   3 ++-
 net/iperf/patches/patch-ad |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 8c969a6fd2fc -r 33f7c2069ea7 net/iperf/distinfo
--- a/net/iperf/distinfo        Wed Feb 08 17:18:53 2006 +0000
+++ b/net/iperf/distinfo        Wed Feb 08 18:15:26 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/10/07 20:29:52 markd Exp $
+$NetBSD: distinfo,v 1.7 2006/02/08 18:15:26 minskim Exp $
 
 SHA1 (iperf-2.0.2.tar.gz) = 5cbda4199c2c6c9417d0d0d0cd840de3009fa36a
 RMD160 (iperf-2.0.2.tar.gz) = 8e3627f718ddc9aea109fceb0c8a0359cd054447
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 0758967ce641c823f7f5cf1e233736e411019684
 SHA1 (patch-ab) = e10e9119c5e830c186630aca72536ed1431fdbdc
 SHA1 (patch-ac) = e46304be305b099b79acdfd31a57b537a360d669
+SHA1 (patch-ad) = 6591365041c21b38a9bdc68cbc97f899d1a9ad42
diff -r 8c969a6fd2fc -r 33f7c2069ea7 net/iperf/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/iperf/patches/patch-ad        Wed Feb 08 18:15:26 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/02/08 18:15:26 minskim Exp $
+
+--- compat/Thread.c.orig       2005-05-03 08:15:51.000000000 -0700
++++ compat/Thread.c
+@@ -202,7 +202,7 @@ void thread_stop( struct thread_Settings
+ #if   defined( HAVE_POSIX_THREAD )
+             // Cray J90 doesn't have pthread_cancel; Iperf works okay without
+ #ifdef HAVE_PTHREAD_CANCEL
+-            pthread_cancel( oldTID );
++            pthread_cancel( thread->mTID );
+ #endif
+ #else // Win32
+             // this is a somewhat dangerous function; it's not



Home | Main Index | Thread Index | Old Index