pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/iperf iperf: Remove bool redefine which breaks C++...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a7866f5aa99
branches: trunk
changeset: 313486:5a7866f5aa99
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Oct 01 09:47:06 2018 +0000
description:
iperf: Remove bool redefine which breaks C++ headers.
diffstat:
net/iperf/Makefile | 10 +++++-----
net/iperf/distinfo | 3 ++-
net/iperf/patches/patch-configure | 22 ++++++++++++++++++++++
3 files changed, 29 insertions(+), 6 deletions(-)
diffs (68 lines):
diff -r 9dd5618f4b9d -r 5a7866f5aa99 net/iperf/Makefile
--- a/net/iperf/Makefile Mon Oct 01 09:40:28 2018 +0000
+++ b/net/iperf/Makefile Mon Oct 01 09:47:06 2018 +0000
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.21 2014/11/28 10:30:52 bsiegert Exp $
+# $NetBSD: Makefile,v 1.22 2018/10/01 09:47:06 jperkin Exp $
DISTNAME= iperf-2.0.5
PKGREVISION= 1
CATEGORIES= net benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
+PATCH_SITES= http://sourceforge.net/p/iperf/patches/28/attachment/
+PATCHFILES= nomaxcpu.patch
+PATCH_DIST_STRIP=-p1
+
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://iperf.sourceforge.net/
COMMENT= TCP and UDP bandwidth performance measurement tool
LICENSE= modified-bsd
-PATCHFILES= nomaxcpu.patch
-PATCH_SITES= http://sourceforge.net/p/iperf/patches/28/attachment/
-PATCH_DIST_STRIP=-p1
-
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
diff -r 9dd5618f4b9d -r 5a7866f5aa99 net/iperf/distinfo
--- a/net/iperf/distinfo Mon Oct 01 09:40:28 2018 +0000
+++ b/net/iperf/distinfo Mon Oct 01 09:47:06 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 00:35:05 agc Exp $
+$NetBSD: distinfo,v 1.11 2018/10/01 09:47:06 jperkin Exp $
SHA1 (iperf-2.0.5.tar.gz) = 7302792dcb1bd7aeba032fef6d3dcc310e4d113f
RMD160 (iperf-2.0.5.tar.gz) = 975d971974437136ae72bb17c0f776ea92eaf878
@@ -10,3 +10,4 @@
Size (nomaxcpu.patch) = 3354 bytes
SHA1 (patch-ab) = e10e9119c5e830c186630aca72536ed1431fdbdc
SHA1 (patch-ac) = 83479534caf61cf034453e1953e9ed5618f3f74c
+SHA1 (patch-configure) = 1295b2022beb24ac809b62f9f919c70368545f01
diff -r 9dd5618f4b9d -r 5a7866f5aa99 net/iperf/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/iperf/patches/patch-configure Mon Oct 01 09:47:06 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-configure,v 1.1 2018/10/01 09:47:06 jperkin Exp $
+
+Remove bool redefine which breaks C++ headers.
+
+--- configure.orig 2010-04-10 19:23:05.000000000 +0000
++++ configure
+@@ -6961,15 +6961,8 @@ $as_echo "$ac_cv_sizeof_bool" >&6; }
+
+
+
+-cat >>confdefs.h <<_ACEOF
+-#define SIZEOF_BOOL $ac_cv_sizeof_bool
+-_ACEOF
+
+
+-if test "$ac_cv_sizeof_bool" = 0 ; then
+- $as_echo "#define bool int" >>confdefs.h
+-
+-fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if true is defined" >&5
+ $as_echo_n "checking if true is defined... " >&6; }
Home |
Main Index |
Thread Index |
Old Index