summaryrefslogtreecommitdiff
path: root/databases/rrdtool12/patches/patch-as
blob: 3e212ef6f6e45da43e07d7332b114ac56df53c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-as,v 1.2 2009/01/22 16:47:30 martti Exp $

Adjust for pkgsrc.

--- src/rrd_cgi.c.orig	2009-01-19 16:29:14.000000000 +0200
+++ src/rrd_cgi.c	2009-01-22 17:53:09.000000000 +0200
@@ -419,7 +419,7 @@
 
 	if (!filter) {
 		printf ("Content-Type: text/html\n" 
-				"Content-Length: %d\n", 
+				"Content-Length: %zd\n", 
 				strlen(buffer));
 
 		if (labs(goodfor) > 0) {