summaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-27 09:07:48 +0000
committeragc <agc@pkgsrc.org>1999-08-27 09:07:48 +0000
commit0a5815f3d105a7d3e2faefc52fa7c4ba413b14c3 (patch)
tree589fb960089365d6c4ae7c1a412a86c5d0f5dcc4 /www/webalizer
parent916a3550bbd674f48e790fbc7a1fb1054c460ec9 (diff)
downloadpkgsrc-0a5815f3d105a7d3e2faefc52fa7c4ba413b14c3.tar.gz
GIF -> PNG changes due to gd package changes.
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/patches/patch-ae42
1 files changed, 42 insertions, 0 deletions
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 */