diff options
author | apb <apb> | 2009-03-11 08:40:32 +0000 |
---|---|---|
committer | apb <apb> | 2009-03-11 08:40:32 +0000 |
commit | 8f6a0bb945ab1d7922716577b8a1433e1ca25ac0 (patch) | |
tree | 924b2854a78a44bb3567d2c1fd3f56f86b8e6b07 /net | |
parent | e8792f256cfc427a0462d6f1f2e2563414b0877f (diff) | |
download | pkgsrc-8f6a0bb945ab1d7922716577b8a1433e1ca25ac0.tar.gz |
Support systems where time_t is equivalent to "long long" or
"unsigned long long".
Diffstat (limited to 'net')
-rw-r--r-- | net/socat/Makefile | 3 | ||||
-rw-r--r-- | net/socat/distinfo | 3 | ||||
-rw-r--r-- | net/socat/patches/patch-aa | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile index d9c37ec90b6..c6ad4f86faf 100644 --- a/net/socat/Makefile +++ b/net/socat/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2008/10/25 18:21:18 adrianp Exp $ +# $NetBSD: Makefile,v 1.18 2009/03/11 08:40:32 apb Exp $ DISTNAME= socat-1.7.0.0 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.dest-unreach.org/socat/download/ diff --git a/net/socat/distinfo b/net/socat/distinfo index e2e1fbb7929..5fd5c5f258b 100644 --- a/net/socat/distinfo +++ b/net/socat/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.11 2008/10/25 18:21:18 adrianp Exp $ +$NetBSD: distinfo,v 1.12 2009/03/11 08:40:32 apb Exp $ SHA1 (socat-1.7.0.0.tar.gz) = f20badcaff11c4dad1e89f2ce396bd60a14d3464 RMD160 (socat-1.7.0.0.tar.gz) = b03ef9ba23c45a55632dac17930b4a26346aa430 Size (socat-1.7.0.0.tar.gz) = 547219 bytes +SHA1 (patch-aa) = c10b68a5ca36ec27c6e77a01f6f89a832a4862eb diff --git a/net/socat/patches/patch-aa b/net/socat/patches/patch-aa new file mode 100644 index 00000000000..b52d7a4eb58 --- /dev/null +++ b/net/socat/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.6 2009/03/11 08:40:32 apb Exp $ + +--- compat.h.orig 2008-10-05 22:23:07.000000000 +0200 ++++ compat.h +@@ -232,6 +232,10 @@ + #define F_time "%ld" + # elif HAVE_BASIC_TIME_T==6 + #define F_time "%lu" ++# elif HAVE_BASIC_TIME_T==7 ++#define F_time "%lld" ++# elif HAVE_BASIC_TIME_T==8 ++#define F_time "%llu" + # else + #error "HAVE_BASIC_TIME_T is out of range:" HAVE_BASIC_TIME_T + # endif |