Wed Jan 4 15:29:02 2012 UTC ()
add time.h to fix linux build


(dholland)
diff -r1.7 -r1.8 pkgsrc/net/sharity-light/distinfo
diff -r1.1 -r1.2 pkgsrc/net/sharity-light/patches/patch-af

cvs diff -r1.7 -r1.8 pkgsrc/net/sharity-light/distinfo (expand / switch to unified diff)

--- pkgsrc/net/sharity-light/distinfo 2011/04/03 09:18:44 1.7
+++ pkgsrc/net/sharity-light/distinfo 2012/01/04 15:29:02 1.8
@@ -1,11 +1,11 @@ @@ -1,11 +1,11 @@
1$NetBSD: distinfo,v 1.7 2011/04/03 09:18:44 obache Exp $ 1$NetBSD: distinfo,v 1.8 2012/01/04 15:29:02 dholland Exp $
2 2
3SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e 3SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e
4RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325 4RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325
5Size (Sharity-Light.1.2.tar.gz) = 76481 bytes 5Size (Sharity-Light.1.2.tar.gz) = 76481 bytes
6SHA1 (patch-aa) = 349384306807e8d0e16334a2d9a7e7e0002ef8d1 6SHA1 (patch-aa) = 349384306807e8d0e16334a2d9a7e7e0002ef8d1
7SHA1 (patch-ab) = 1f49eb5831020d9c491c2c872e07d68287e5c72a 7SHA1 (patch-ab) = 1f49eb5831020d9c491c2c872e07d68287e5c72a
8SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949 8SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949
9SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785 9SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785
10SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515 10SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515
11SHA1 (patch-af) = 74551def230d03eb5c28fa6ad37f2639514018f8 11SHA1 (patch-af) = b5711d48253fdb261a18610820674baec8fdf9ab

cvs diff -r1.1 -r1.2 pkgsrc/net/sharity-light/patches/patch-af (expand / switch to unified diff)

--- pkgsrc/net/sharity-light/patches/patch-af 2005/12/18 20:14:03 1.1
+++ pkgsrc/net/sharity-light/patches/patch-af 2012/01/04 15:29:02 1.2
@@ -1,14 +1,25 @@ @@ -1,14 +1,25 @@
1$NetBSD: patch-af,v 1.1 2005/12/18 20:14:03 joerg Exp $ 1$NetBSD: patch-af,v 1.2 2012/01/04 15:29:02 dholland Exp $
2 2
3--- syshdr.h.orig 2005-12-18 20:00:48.000000000 +0000 3- needs <time.h> on linux
 4- dragonfly support
 5
 6--- syshdr.h.orig 1998-11-16 17:03:49.000000000 +0000
4+++ syshdr.h 7+++ syshdr.h
5@@ -47,6 +47,9 @@ 8@@ -15,6 +15,7 @@
 9 #include <sys/socket.h>
 10 #include <unistd.h>
 11 #include <sys/time.h>
 12+#include <time.h>
 13 #include <fcntl.h>
 14 #include <sys/errno.h>
 15 #include <errno.h>
 16@@ -47,6 +48,9 @@
6 # define BSD4_4_LITE2 17 # define BSD4_4_LITE2
7 # endif 18 # endif
8 #endif 19 #endif
9+#if defined(__DragonFly__) 20+#if defined(__DragonFly__)
10+#define BSD4_4_LITE2 21+#define BSD4_4_LITE2
11+#endif 22+#endif
12 #if defined(BSD4_4) && !defined(BSD4_4_LITE2) 23 #if defined(BSD4_4) && !defined(BSD4_4_LITE2)
13 # define BSD4_4_LITE 24 # define BSD4_4_LITE
14 #endif 25 #endif