diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-02-18 12:13:01 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-02-18 12:13:01 +0000 |
commit | c2bba419f019eb41a5b5919e34c92e3066980fe3 (patch) | |
tree | 345acf58d08d33b8510f0101e0edf194de7b56c1 /net/httping | |
parent | d2b529693ddea50985baaa1a16d0a8ab1555eea1 (diff) | |
download | pkgsrc-c2bba419f019eb41a5b5919e34c92e3066980fe3.tar.gz |
Fix build on SunOS. Patches from Thomas Merkel in joyent/pkgsrc#175.
Diffstat (limited to 'net/httping')
-rw-r--r-- | net/httping/Makefile | 4 | ||||
-rw-r--r-- | net/httping/distinfo | 3 | ||||
-rw-r--r-- | net/httping/patches/patch-main.c | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/net/httping/Makefile b/net/httping/Makefile index a48c6f8580a..c140e82c4f1 100644 --- a/net/httping/Makefile +++ b/net/httping/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2014/02/12 23:18:20 tron Exp $ +# $NetBSD: Makefile,v 1.20 2014/02/18 12:13:01 jperkin Exp $ DISTNAME= httping-2.3.3 PKGREVISION= 1 @@ -19,7 +19,7 @@ CONFIGURE_ARGS+= --with-openssl .include "../../mk/bsd.prefs.mk" LDFLAGS.NetBSD= -lintl -LDFLAGS.SunOS= -lnsl -lsocket +LDFLAGS.SunOS= -lnsl -lsocket -lresolv -lintl .include "../../devel/gettext-lib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" diff --git a/net/httping/distinfo b/net/httping/distinfo index ec98ca6650e..c575a5ba7b4 100644 --- a/net/httping/distinfo +++ b/net/httping/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.10 2013/06/26 12:39:24 ryoon Exp $ +$NetBSD: distinfo,v 1.11 2014/02/18 12:13:01 jperkin Exp $ SHA1 (httping-2.3.3.tgz) = 6b9e77039346388e2b02dbb1d60f7422e7133488 RMD160 (httping-2.3.3.tgz) = 204a9ddff58086434c1f5c608a0f5360747fb9bb Size (httping-2.3.3.tgz) = 54376 bytes SHA1 (patch-aa) = 72c327379b1cbe3cae7436e09ccee53f9277652d +SHA1 (patch-main.c) = c28d784334295e3f0e8231d530fa912c11842d52 diff --git a/net/httping/patches/patch-main.c b/net/httping/patches/patch-main.c new file mode 100644 index 00000000000..59968bf28ff --- /dev/null +++ b/net/httping/patches/patch-main.c @@ -0,0 +1,16 @@ +$NetBSD: patch-main.c,v 1.1 2014/02/18 12:13:01 jperkin Exp $ + +SunOS needs sys/termios.h for TIOCOUTQ. + +--- main.c.orig 2013-06-07 13:18:52.000000000 +0000 ++++ main.c +@@ -16,6 +16,9 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/ioctl.h> ++#ifdef __sun ++#include <sys/termios.h> ++#endif + #include <netinet/in.h> + #include <netinet/tcp.h> + #include <netdb.h> |