From 0a5815f3d105a7d3e2faefc52fa7c4ba413b14c3 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 27 Aug 1999 09:07:48 +0000 Subject: GIF -> PNG changes due to gd package changes. --- www/webalizer/patches/patch-ae | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 www/webalizer/patches/patch-ae (limited to 'www/webalizer') diff --git a/www/webalizer/patches/patch-ae b/www/webalizer/patches/patch-ae new file mode 100644 index 00000000000..995ebe57275 --- /dev/null +++ b/www/webalizer/patches/patch-ae @@ -0,0 +1,42 @@ +$NetBSD: patch-ae,v 1.1 1999/08/27 09:07:48 agc Exp $ + +Use the correct gd calls - use PNG, not GIF + +--- graphs.c 1999/08/27 08:45:49 1.1 ++++ graphs.c 1999/08/27 08:47:58 +@@ -285,7 +285,7 @@ + /* save gif image */ + if ((out = fopen(fname, "wb")) != NULL) + { +- gdImageGif(im, out); ++ gdImagePng(im, out); + fclose(out); + } + /* deallocate memory */ +@@ -501,7 +501,7 @@ + /* open file for writing */ + if ((out = fopen(fname, "wb")) != NULL) + { +- gdImageGif(im, out); ++ gdImagePng(im, out); + fclose(out); + } + /* deallocate memory */ +@@ -614,7 +614,7 @@ + /* save as gif file */ + if ( (out = fopen(fname, "wb")) != NULL) + { +- gdImageGif(im, out); ++ gdImagePng(im, out); + fclose(out); + } + /* deallocate memory */ +@@ -700,7 +700,7 @@ + /* save gif image */ + if ((out = fopen(fname, "wb")) != NULL) + { +- gdImageGif(im, out); ++ gdImagePng(im, out); + fclose(out); + } + /* deallocate memory */ -- cgit v1.2.3