1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/www/webalizer/files/patch-ad
Bill Fumerola e2cd3f4708 o Upgrade to 1.30-04
o Use new API for GD functions

PR:		ports/12857
Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org>

o Pass information to configure that will allow this port to work
  for people with alternative PREFIXes
o Make this port respect CFLAGS
o Change BUILD_DEPENDS on the static gd library to a LIB_DEPENDS on the
  shared library, which is what this port really uses.
o Remove a patch and a one-line(functionally) script and simply use a perl
  command in pre-configure:
1999-08-01 20:30:09 +00:00

39 lines
911 B
Plaintext

--- graphs.c.orig Tue Jun 15 06:33:40 1999
+++ graphs.c Sat Jul 31 10:43:48 1999
@@ -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 */