summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-07-28 21:50:18 +0000
committerminskim <minskim@pkgsrc.org>2004-07-28 21:50:18 +0000
commited4252c66897a9c2a1c116a03f7931b13c5f5e49 (patch)
tree30561a6824693cc273f8435d82ef93738341706e
parent522e9fc6fdca7cd095fd1cd7dd4369730bf5b0c0 (diff)
downloadpkgsrc-ed4252c66897a9c2a1c116a03f7931b13c5f5e49.tar.gz
Include time.h before using struct tm on Linux.
-rw-r--r--ham/tnt/distinfo3
-rw-r--r--ham/tnt/patches/patch-ab12
2 files changed, 14 insertions, 1 deletions
diff --git a/ham/tnt/distinfo b/ham/tnt/distinfo
index 7d2d8d9701c..28f1d7e9bb2 100644
--- a/ham/tnt/distinfo
+++ b/ham/tnt/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/05/16 22:07:02 jtb Exp $
+$NetBSD: distinfo,v 1.4 2004/07/28 21:50:18 minskim Exp $
SHA1 (tnt-1.9.1.tar.bz2) = d3842367acdb970e4c65f5fc62bf8347e024de7a
Size (tnt-1.9.1.tar.bz2) = 742180 bytes
SHA1 (patch-aa) = 604eaa5c786e00edd5f792b46bbc324405686299
+SHA1 (patch-ab) = ec65e904ee2ae5e8d12ac143093352c4f8757772
diff --git a/ham/tnt/patches/patch-ab b/ham/tnt/patches/patch-ab
new file mode 100644
index 00000000000..38e1e05918d
--- /dev/null
+++ b/ham/tnt/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2004/07/28 21:50:18 minskim Exp $
+
+--- src/tnt.h.orig 2000-08-04 11:43:59.000000000 -0500
++++ src/tnt.h
+@@ -24,6 +24,7 @@
+ only possibility to become SuSE and Redhat to work */
+ #ifdef __GLIBC__
+ #endif /* __GLIBC__ */
++#include <time.h>
+ #endif /* TNT_LINUX */
+
+ #include <sys/time.h>