summaryrefslogtreecommitdiff
path: root/benchmarks/nttcp/patches
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2002-08-21 06:36:35 +0000
committersimonb <simonb@pkgsrc.org>2002-08-21 06:36:35 +0000
commited11686519adb7a7f62d37539309ba1d1dc892b3 (patch)
treea878a9ec82a7299bb1e3ba1c1d6d5365f1b07894 /benchmarks/nttcp/patches
parentf8f371a41c648a3cb000cb0880b44ccaa408ae42 (diff)
downloadpkgsrc-ed11686519adb7a7f62d37539309ba1d1dc892b3.tar.gz
Cosmetic nit: don't use -DFreeBSD - this is NetBSD!
Diffstat (limited to 'benchmarks/nttcp/patches')
-rw-r--r--benchmarks/nttcp/patches/patch-aa27
-rw-r--r--benchmarks/nttcp/patches/patch-ab13
2 files changed, 36 insertions, 4 deletions
diff --git a/benchmarks/nttcp/patches/patch-aa b/benchmarks/nttcp/patches/patch-aa
index 619067cd33b..3fa60076cd6 100644
--- a/benchmarks/nttcp/patches/patch-aa
+++ b/benchmarks/nttcp/patches/patch-aa
@@ -1,8 +1,27 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $
+$NetBSD: patch-aa,v 1.2 2002/08/21 06:36:35 simonb Exp $
---- Makefile.orig Mon Dec 18 02:17:20 2000
-+++ Makefile Wed Apr 17 14:42:49 2002
-@@ -151,9 +151,12 @@
+--- Makefile.orig Mon Dec 18 21:17:20 2000
++++ Makefile
+@@ -108,8 +108,16 @@
+ #DBG= -Wall -g
+ #INC=
+
+-# For FreeBSD
+-ARCH= -DFreeBSD
++## For FreeBSD
++#ARCH= -DFreeBSD
++#LIB=
++#OPT= -O2
++#CC= cc
++#DBG=
++#INC=
++
++# For NetBSD
++ARCH=
+ LIB=
+ OPT= -O2
+ CC= cc
+@@ -151,9 +159,12 @@
VERSION= 1.47
#prefix= /usr/local/dist/DIR/nttcp-$(VERSION)
#prefix= /usr/local
diff --git a/benchmarks/nttcp/patches/patch-ab b/benchmarks/nttcp/patches/patch-ab
new file mode 100644
index 00000000000..42f9100563c
--- /dev/null
+++ b/benchmarks/nttcp/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/08/21 06:36:35 simonb Exp $
+
+--- nttcp.c.orig Mon Dec 18 21:16:54 2000
++++ nttcp.c
+@@ -136,7 +136,7 @@
+ #endif /* aix */
+
+ /*====================================================================*/
+-#if defined(FreeBSD)
++#if defined(FreeBSD) || defined(__NetBSD__)
+ #define SIGCLD SIGCHLD
+ #endif /*FreeBSD*/
+