$NetBSD: patch-ay,v 1.1.1.1 2008/07/28 19:48:03 martti Exp $
Adjust for pkgsrc.
--- src/rrd_dump.c.orig 2007-05-02 21:06:10.000000000 +0300
+++ src/rrd_dump.c 2007-05-16 08:44:23.000000000 +0300
@@ -113,7 +113,7 @@
# error "Need strftime"
#endif
fprintf(out_file, "\t %ld \n\n",
- rrd.live_head->last_up,somestring);
+ (long) rrd.live_head->last_up,somestring);
for(i=0;ids_cnt;i++){
fprintf(out_file, "\t\n");
fprintf(out_file, "\t\t %s \n",rrd.ds_def[i].ds_nam);