From e81d45a13f3a82aee6d2ac5b359dab0413a3c673 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 5 Dec 2003 08:50:19 +0000 Subject: - Update to version 1.1.7 PR: 59967 Submitted by: maintainer --- net/bandwidthd/files/patch-graph.c | 50 -------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 net/bandwidthd/files/patch-graph.c (limited to 'net/bandwidthd/files/patch-graph.c') diff --git a/net/bandwidthd/files/patch-graph.c b/net/bandwidthd/files/patch-graph.c deleted file mode 100644 index 3aa368d397d5..000000000000 --- a/net/bandwidthd/files/patch-graph.c +++ /dev/null @@ -1,50 +0,0 @@ ---- graph.c.orig Fri Oct 10 21:01:31 2003 -+++ graph.c Sun Nov 2 12:21:18 2003 -@@ -3,6 +3,11 @@ - #include - #include - #include -+#ifdef FREEBSD -+#include -+#include -+#include -+#endif - #include - #include - #include -@@ -753,7 +758,7 @@ - // **** Write the red day seperator bars - // ******************************************************************** - -- timestruct = localtime(&sample_begin); -+ timestruct = localtime((time_t *)(time_t *)&sample_begin); - timestruct->tm_sec = 0; - timestruct->tm_min = 0; - timestruct->tm_hour = 0; -@@ -772,7 +777,7 @@ - gdImageLine(im, x, 0, x, YHEIGHT-YOFFSET, red); - gdImageLine(im, x+1, 0, x+1, YHEIGHT-YOFFSET, red); - -- timestruct = localtime(&MarkTime); -+ timestruct = localtime((time_t *)(time_t *)&MarkTime); - strftime(buffer, 100, "%a, %b %d", timestruct); - gdImageString(im, gdFontSmall, x-30, YHEIGHT-YOFFSET+10, buffer, black); - -@@ -786,7 +791,7 @@ - // **** Write the tic marks - // ******************************************************************** - -- timestruct = localtime(&sample_begin); -+ timestruct = localtime((time_t *)(time_t *)&sample_begin); - timestruct->tm_sec = 0; - timestruct->tm_min = 0; - timestruct->tm_hour = 0; -@@ -803,7 +808,7 @@ - x = (MarkTime-sample_begin)*((XWIDTH-XOFFSET)/RANGE1) + XOFFSET; - } - -- timestruct = localtime(&sample_begin); -+ timestruct = localtime((time_t *)(time_t *)&sample_begin); - timestruct->tm_sec = 0; - timestruct->tm_min = 0; - timestruct->tm_hour = 0; -- cgit v1.2.3