pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/tnt Include time.h before using struct tm on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0e366dc4a87
branches:  trunk
changeset: 478718:f0e366dc4a87
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jul 28 21:50:18 2004 +0000

description:
Include time.h before using struct tm on Linux.

diffstat:

 ham/tnt/distinfo         |   3 ++-
 ham/tnt/patches/patch-ab |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r e02ad64fda17 -r f0e366dc4a87 ham/tnt/distinfo
--- a/ham/tnt/distinfo  Wed Jul 28 21:41:52 2004 +0000
+++ b/ham/tnt/distinfo  Wed Jul 28 21:50:18 2004 +0000
@@ -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 -r e02ad64fda17 -r f0e366dc4a87 ham/tnt/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/tnt/patches/patch-ab  Wed Jul 28 21:50:18 2004 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index