diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 2000-01-06 23:07:16 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 2000-01-06 23:07:16 +0000 |
commit | 4ee912ca1f284b88cf68ebcf396a99a7c05f29e0 (patch) | |
tree | 44d1ea58d196cb1608669110a74a3991e09e632c /www/http-analyze | |
parent | fa7d616e9fc1b7a7c88cc7a7fd60b2f4841267e2 (diff) | |
download | ports-4ee912ca1f284b88cf68ebcf396a99a7c05f29e0.tar.gz ports-4ee912ca1f284b88cf68ebcf396a99a7c05f29e0.zip |
forgot cvs add for new patch
Notes
Notes:
svn path=/head/; revision=24491
Diffstat (limited to 'www/http-analyze')
-rw-r--r-- | www/http-analyze/files/patch-ac | 175 |
1 files changed, 175 insertions, 0 deletions
diff --git a/www/http-analyze/files/patch-ac b/www/http-analyze/files/patch-ac new file mode 100644 index 000000000000..8a95f0813d6e --- /dev/null +++ b/www/http-analyze/files/patch-ac @@ -0,0 +1,175 @@ +*** Makefile.orig Thu Jan 6 13:03:58 2000 +--- Makefile Thu Jan 6 11:50:42 2000 +*************** +*** 146,152 **** + CFLAGS += $(PLATFORM) $(DEFINES) + LDFLAGS = + LINT = lint -Dunix -Xa -u +! LIBS = -lm + NROFF = nroff + NRFLAGS = -u1 -man + +--- 146,152 ---- + CFLAGS += $(PLATFORM) $(DEFINES) + LDFLAGS = + LINT = lint -Dunix -Xa -u +! LIBS = -lm -L/usr/local/lib -lpng + NROFF = nroff + NRFLAGS = -u1 -man + +*** images.c.orig Sun May 31 08:06:53 1998 +--- images.c Thu Jan 6 11:30:16 2000 +*************** +*** 196,202 **** + basey+(rangey/2), "No hits for this month!", black); + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 196,202 ---- + basey+(rangey/2), "No hits for this month!", black); + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 286,292 **** + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 286,292 ---- + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 441,447 **** + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 441,447 ---- + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 529,535 **** + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 529,535 ---- + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 666,672 **** + gdImageInterlace(im, 1); /* make it interlaced */ + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 666,672 ---- + gdImageInterlace(im, 1); /* make it interlaced */ + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 752,758 **** + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 752,758 ---- + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 988,994 **** + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 988,994 ---- + + gdImageInterlace(im, 1); /* make it interlaced */ + if ((out = fopen(name, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 1037,1043 **** + (void) gdImageColorAllocate(im, tp->color[0], tp->color[1], tp->color[2]); + gdImageInterlace(im, 1); + if ((out=fopen(fname, "wb")) != NULL) { +! gdImageGif(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +--- 1037,1043 ---- + (void) gdImageColorAllocate(im, tp->color[0], tp->color[1], tp->color[2]); + gdImageInterlace(im, 1); + if ((out=fopen(fname, "wb")) != NULL) { +! gdImagePng(im, out); + (void) fclose(out); + } + gdImageDestroy(im); +*************** +*** 1071,1077 **** + if (!buttons[idx].name) + continue; + if ((fp = fopen(buttons[idx].name, "rb")) != NULL) { +! ip = gdImageCreateFromGif(fp); + (void) fclose(fp); + buttons[idx].wid = gdImageSX(ip); + buttons[idx].ht = gdImageSY(ip); +--- 1071,1077 ---- + if (!buttons[idx].name) + continue; + if ((fp = fopen(buttons[idx].name, "rb")) != NULL) { +! ip = gdImageCreateFromPng(fp); + (void) fclose(fp); + buttons[idx].wid = gdImageSX(ip); + buttons[idx].ht = gdImageSY(ip); + |