summaryrefslogtreecommitdiff
path: root/databases/rrdtool/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rrdtool/patches/patch-at')
-rw-r--r--databases/rrdtool/patches/patch-at67
1 files changed, 0 insertions, 67 deletions
diff --git a/databases/rrdtool/patches/patch-at b/databases/rrdtool/patches/patch-at
deleted file mode 100644
index 75ee2b54749..00000000000
--- a/databases/rrdtool/patches/patch-at
+++ /dev/null
@@ -1,67 +0,0 @@
-$NetBSD: patch-at,v 1.4 2003/02/16 23:09:00 seb Exp $
-
---- src/rrd_graph.c.orig Fri Oct 11 18:39:47 2002
-+++ src/rrd_graph.c
-@@ -8,8 +8,10 @@
- #include "rrd_tool.h"
- #include "rrd_graph.h"
- #include <gd.h>
--#include <gdlucidan10.h>
--#include <gdlucidab12.h>
-+#include <gdfonts.h>
-+#include <gdfontt.h>
-+/* #include <gdlucidan10.h> */
-+/* #include <gdlucidab12.h> */
- #include <sys/stat.h>
- #ifdef WIN32
- #include <io.h>
-@@ -24,8 +26,10 @@
- #include <locale.h>
- #endif
-
--#define SmallFont gdLucidaNormal10
--#define LargeFont gdLucidaBold12
-+/* #define SmallFont gdLucidaNormal10 */
-+/* #define LargeFont gdLucidaBold12 */
-+#define SmallFont gdFontTiny
-+#define LargeFont gdFontSmall
-
- /* #define DEBUG */
-
-@@ -194,7 +198,6 @@ enum gf_en gf_conv(char *string){
-
- enum if_en if_conv(char *string){
-
-- conv_if(GIF,IF_GIF)
- conv_if(PNG,IF_PNG)
- conv_if(GD,IF_GD)
-
-@@ -2396,9 +2399,6 @@ int lazy_check(image_desc_t *im){
- if ((fd = fopen(im->graphfile,"rb")) == NULL)
- return 0; /* the file does not exist */
- switch (im->imgformat) {
-- case IF_GIF:
-- size = GifSize(fd,&(im->xgif),&(im->ygif));
-- break;
- case IF_PNG:
- size = PngSize(fd,&(im->xgif),&(im->ygif));
- break;
-@@ -2673,9 +2673,6 @@ graph_paint(image_desc_t *im, char ***ca
- }
- }
- switch (im->imgformat) {
-- case IF_GIF:
-- gdImageGif(gif, fo);
-- break;
- case IF_PNG:
- gdImagePng(gif, fo);
- break;
-@@ -2809,7 +2806,7 @@ rrd_graph(int argc, char **argv, char **
- im.prt_c = 0;
- im.gdes_c = 0;
- im.gdes = NULL;
-- im.imgformat = IF_GIF; /* we default to GIF output */
-+ im.imgformat = IF_PNG; /* we default to PNG output */
-
- im.bkg_image = NULL; /* do not put anything to background per default */
- im.ovl_image = NULL; /* do not use anything as overlay per default */