diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-09-13 17:47:20 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-09-13 17:47:20 +0000 |
commit | 18683c440fc1c51d2508462463a826328b8cc27e (patch) | |
tree | 5908e024eb2006c0a77275d6ebade6dcafe1b7c1 /benchmarks/siege | |
parent | a9a9ad7dc08082f26fe58d09f63ef202ccb22583 (diff) | |
download | ports-18683c440fc1c51d2508462463a826328b8cc27e.tar.gz ports-18683c440fc1c51d2508462463a826328b8cc27e.zip |
Notes
Diffstat (limited to 'benchmarks/siege')
-rw-r--r-- | benchmarks/siege/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/siege/files/patch-src::sock.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile index c8e787be9f78..98e02e0533e4 100644 --- a/benchmarks/siege/Makefile +++ b/benchmarks/siege/Makefile @@ -7,6 +7,7 @@ PORTNAME= siege PORTVERSION= 2.59 +PORTREVISION= 1 CATEGORIES= benchmarks MASTER_SITES= ftp://sid.joedog.org/pub/siege/ diff --git a/benchmarks/siege/files/patch-src::sock.c b/benchmarks/siege/files/patch-src::sock.c new file mode 100644 index 000000000000..2282e630d8cd --- /dev/null +++ b/benchmarks/siege/files/patch-src::sock.c @@ -0,0 +1,12 @@ +--- src/sock.c.ORIG Sun Aug 29 13:39:37 2004 ++++ src/sock.c Sun Aug 29 13:38:01 2004 +@@ -132,7 +132,7 @@ + if((gethostbyname_r( hn, &hent, hbf, sizeof(hbf), &hp, &herrno ) < 0)){ + hp = NULL; + } +-#elif defined(sun) ++#elif defined(sun) || defined(__FreeBSD__) + # ifdef HAVE_GETIPNODEBYNAME + hp = getipnodebyname( hn, AF_INET, 0, &herrno ); + # else /* default use gethostbyname_r*/ + |