summaryrefslogtreecommitdiff
path: root/www/snownews
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-23 23:14:24 +0000
committerdholland <dholland@pkgsrc.org>2012-06-23 23:14:24 +0000
commit61cd07318569d4351a92dcc74c74309a93b310d7 (patch)
tree1f7fdd4ac9bde965e3c7a670140402a1ada09248 /www/snownews
parent69dab7c470dcec043c1a6b04094a82b3f0408ba0 (diff)
downloadpkgsrc-61cd07318569d4351a92dcc74c74309a93b310d7.tar.gz
Add missing time_t to fix the Solaris build.
Diffstat (limited to 'www/snownews')
-rw-r--r--www/snownews/distinfo3
-rw-r--r--www/snownews/patches/patch-os-support_c14
2 files changed, 16 insertions, 1 deletions
diff --git a/www/snownews/distinfo b/www/snownews/distinfo
index a521656c1bd..a317f43661b 100644
--- a/www/snownews/distinfo
+++ b/www/snownews/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2011/07/23 02:22:43 obache Exp $
+$NetBSD: distinfo,v 1.13 2012/06/23 23:14:24 dholland Exp $
SHA1 (snownews-1.5.12.tar.gz) = b3addaac25c2c093aa5e60b8b89e50e7d7450bcf
RMD160 (snownews-1.5.12.tar.gz) = dbe9c6b88e77ce37bb23e4d3ddc8d63f8bd66151
Size (snownews-1.5.12.tar.gz) = 167944 bytes
+SHA1 (patch-os-support_c) = 144a9c0910618ddd64d5d56eb62aa8a9e8155145
diff --git a/www/snownews/patches/patch-os-support_c b/www/snownews/patches/patch-os-support_c
new file mode 100644
index 00000000000..d63b8aa0955
--- /dev/null
+++ b/www/snownews/patches/patch-os-support_c
@@ -0,0 +1,14 @@
+$NetBSD: patch-os-support_c,v 1.1 2012/06/23 23:14:24 dholland Exp $
+
+Use standard headers. (Required on Solaris for time_t.)
+
+--- os-support.c~ 2009-09-17 06:44:27.000000000 +0000
++++ os-support.c
+@@ -28,6 +28,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <ctype.h>
++#include <time.h>
+
+ #include "main.h"
+