pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/netperf SunOS needs sys/types.h too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd6a28cb2b1a
branches:  trunk
changeset: 639695:bd6a28cb2b1a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 23 13:55:00 2014 +0000

description:
SunOS needs sys/types.h too.

diffstat:

 benchmarks/netperf/distinfo                 |  4 ++--
 benchmarks/netperf/patches/patch-src_dscp.c |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 59d6de36fde7 -r bd6a28cb2b1a benchmarks/netperf/distinfo
--- a/benchmarks/netperf/distinfo       Tue Sep 23 13:50:01 2014 +0000
+++ b/benchmarks/netperf/distinfo       Tue Sep 23 13:55:00 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2014/04/23 20:19:18 asau Exp $
+$NetBSD: distinfo,v 1.9 2014/09/23 13:55:00 jperkin Exp $
 
 SHA1 (netperf-2.6.0.tar.bz2) = 3e1be4e7c3f7a838c4d5c00c6d20a619b320bfef
 RMD160 (netperf-2.6.0.tar.bz2) = c3adf0b67e1d8e8a51c229910aa7347182991df2
@@ -6,4 +6,4 @@
 SHA1 (patch-ab) = 096eed1eccf6a2f7003898711384ed67019800d7
 SHA1 (patch-ah) = b2ee5c6312ed987d6b796fa462dcc3557146580f
 SHA1 (patch-ak) = 68628408979f164f2843bbe0eac0cb122af3b4fc
-SHA1 (patch-src_dscp.c) = 9f0d224f4497b3b04cb1cf36bf52be77254e2624
+SHA1 (patch-src_dscp.c) = 2a0c91cc61b85b480b14674fd680c9809660c7b8
diff -r 59d6de36fde7 -r bd6a28cb2b1a benchmarks/netperf/patches/patch-src_dscp.c
--- a/benchmarks/netperf/patches/patch-src_dscp.c       Tue Sep 23 13:50:01 2014 +0000
+++ b/benchmarks/netperf/patches/patch-src_dscp.c       Tue Sep 23 13:55:00 2014 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_dscp.c,v 1.1 2014/04/23 20:19:18 asau Exp $
+$NetBSD: patch-src_dscp.c,v 1.2 2014/09/23 13:55:00 jperkin Exp $
+
+SunOS needs sys/types.h.
 
 --- src/dscp.c.orig    2012-04-03 23:51:29.000000000 +0000
 +++ src/dscp.c
@@ -6,7 +8,7 @@
   * Definitions for IP type of service (ip_tos)
   */
  
-+#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__sun)
 +#include <sys/types.h> /* u_int16_t */
 +#endif
  #if HAVE_NETINET_IN_SYSTM_H



Home | Main Index | Thread Index | Old Index