summaryrefslogtreecommitdiff
path: root/net/socat/patches
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2009-03-11 08:40:32 +0000
committerapb <apb@pkgsrc.org>2009-03-11 08:40:32 +0000
commit74d2b6d935d5c7bfb9332942a4792cd1f7fda30f (patch)
tree924b2854a78a44bb3567d2c1fd3f56f86b8e6b07 /net/socat/patches
parent3217592518ce013176510b491a527f082c5e7424 (diff)
downloadpkgsrc-74d2b6d935d5c7bfb9332942a4792cd1f7fda30f.tar.gz
Support systems where time_t is equivalent to "long long" or
"unsigned long long".
Diffstat (limited to 'net/socat/patches')
-rw-r--r--net/socat/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
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