diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:11:53 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:11:53 +0000 |
commit | 35e3fd6d11a63ddde700d53a8cd510f0a5f4f224 (patch) | |
tree | 22c148ecfcd18bf67fb79b4915f1975789ed8194 | |
parent | a2c1c62da147e6613e9960182a5b4fbf64bbef86 (diff) | |
download | pkgsrc-35e3fd6d11a63ddde700d53a8cd510f0a5f4f224.tar.gz |
Link network libs and include filio.h for FIONBIO on SunOS
-rw-r--r-- | net/tn5250/Makefile | 4 | ||||
-rw-r--r-- | net/tn5250/distinfo | 3 | ||||
-rw-r--r-- | net/tn5250/patches/patch-stream5250.cc | 15 |
3 files changed, 20 insertions, 2 deletions
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile index a2d2cc5dc75..97a60fd47aa 100644 --- a/net/tn5250/Makefile +++ b/net/tn5250/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2012/10/23 17:19:13 asau Exp $ +# $NetBSD: Makefile,v 1.22 2014/02/24 13:11:53 wiedi Exp $ # DISTNAME= tn5250-0.12.51 @@ -13,5 +13,7 @@ COMMENT= Implementation of the IBM 5250 telnet protocol GNU_CONFIGURE= YES USE_LANGUAGES= c c++ +LDFLAGS.SunOS+= -lsocket -lnsl -lxnet + .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/tn5250/distinfo b/net/tn5250/distinfo index d5ed33dea7a..1217b5985be 100644 --- a/net/tn5250/distinfo +++ b/net/tn5250/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.8 2014/02/24 13:11:53 wiedi Exp $ SHA1 (tn5250-0.12.51.tar.gz) = c4394dd699afa3e38989015100f5837f266a80d9 RMD160 (tn5250-0.12.51.tar.gz) = 382c5988b1ddf6c7cb9345b79e760160c00c64fb @@ -6,3 +6,4 @@ Size (tn5250-0.12.51.tar.gz) = 101747 bytes SHA1 (patch-aa) = eded51dff90cdab29069b281c991e5d53f393c88 SHA1 (patch-ab) = 32a611ae4ac1ad19a4063bebf17959bcfa5f5776 SHA1 (patch-ac) = b2d7ac117722cc225b5d960b966b4a6917b96bed +SHA1 (patch-stream5250.cc) = 122375d21017998f4bcf956bcdffb60df8b93e9a diff --git a/net/tn5250/patches/patch-stream5250.cc b/net/tn5250/patches/patch-stream5250.cc new file mode 100644 index 00000000000..46333621395 --- /dev/null +++ b/net/tn5250/patches/patch-stream5250.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-stream5250.cc,v 1.1 2014/02/24 13:11:53 wiedi Exp $ + +need filio.h for FIONBIO on SunOS +--- stream5250.cc.orig 1999-04-05 16:25:45.000000000 +0000 ++++ stream5250.cc +@@ -27,6 +27,9 @@ + #include <sys/types.h> + #ifndef WIN32 + #include <sys/time.h> ++#if defined(__sun) ++#include <sys/filio.h> ++#endif + #include <sys/ioctl.h> + #include <sys/socket.h> + #include <netinet/in.h> |