summaryrefslogtreecommitdiff
path: root/graphics/gd/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-26 15:26:26 +0000
committeragc <agc@pkgsrc.org>1999-08-26 15:26:26 +0000
commite503aa0aed51f3c20bc1906418cd1778d596352f (patch)
treee0959a0b2fb2640f5406bb27e202dbd6ff5106e5 /graphics/gd/patches
parentf560aefe963ad5fd3b9af678518492927f687ae6 (diff)
downloadpkgsrc-e503aa0aed51f3c20bc1906418cd1778d596352f.tar.gz
Update this package to version 1.6.3, thereby fixing PR 7969 from
Jim Spath. Changes from previous version include: + Version 1.6.3 corrects a memory leak in gd_png.c. This leak caused a significant amount of memory to be allocated and not freed when writing a PNG image. + Version 1.6.2 from John Ellson adds two new functions: gdImageStringTTF gdImageColorResolve + Version 1.6.1 incorporates superior PNG reading and writing code from Greg Roelofs, with minor modifications by Tom Boutell. + Version 1.6 features the following changes: Support for 8-bit palette PNG images has been added. Support for GIF has been removed. This step was taken to completely avoid the legal controversy regarding the LZW compression algorithm used in GIF. Unisys holds a patent which is relevant to LZW compression. PNG is a superior image format in any case. Now that PNG is supported by both Microsoft Internet Explorer and Netscape (in their recent releases), we highly recommend that GD users upgrade in order to get well-compressed images in a format which is legally unemcumbered. + Version 1.5 featured the following changes: New GD2 format Re-arranged source files Extended I/O capabilities. Better support for Lincoln Stein's Perl Module Added functions + Version 1.4 features the following changes: Fixed polygon fill routine (again) Support for alternate data sources Support for alternate data destinations More tolerant when reading GIFs
Diffstat (limited to 'graphics/gd/patches')
-rw-r--r--graphics/gd/patches/patch-aa71
1 files changed, 22 insertions, 49 deletions
diff --git a/graphics/gd/patches/patch-aa b/graphics/gd/patches/patch-aa
index dcd62665a76..98fc8347e10 100644
--- a/graphics/gd/patches/patch-aa
+++ b/graphics/gd/patches/patch-aa
@@ -1,49 +1,22 @@
-$NetBSD: patch-aa,v 1.3 1999/05/02 17:46:19 tsarna Exp $
---- Makefile.orig Tue Aug 8 15:28:27 1995
-+++ Makefile Fri Apr 16 03:49:36 1999
-@@ -7,28 +7,32 @@
- #If the ar command fails on your system, consult the ar manpage
- #for your system.
-
--CC=gcc
--AR=ar
--CFLAGS=-O
--LIBS=-L./ -lgd -lm
-+CC=${LIBTOOL} cc
-+LIBS=libgd.la -lm
-+OBJS=gd.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o gdfontg.o
-
- all: libgd.a gddemo giftogd webgif
-
- gddemo: gddemo.o libgd.a gd.h gdfonts.h gdfontl.h
-- $(CC) gddemo.o -o gddemo $(LIBS)
-+ ${LIBTOOL} --mode=link cc gddemo.o -o gddemo $(LIBS)
-
- giftogd: giftogd.o libgd.a gd.h
-- $(CC) giftogd.o -o giftogd $(LIBS)
-+ ${LIBTOOL} --mode=link cc giftogd.o -o giftogd $(LIBS)
-
--libgd.a: gd.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o gdfontg.o \
-- gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
-- rm -f libgd.a
-- $(AR) rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
-- gdfontl.o gdfontg.o
-+libgd.a: ${OBJS} gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h
-+ ${LIBTOOL} --mode=link cc -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:0
-
- webgif: webgif.o libgd.a gd.h
-- $(CC) webgif.o -o webgif $(LIBS)
-+ ${LIBTOOL} --mode=link cc webgif.o -o webgif $(LIBS)
-
- clean:
-- rm -f *.o *.a gddemo giftogd
-+ rm -f *.lo *.o *.a gddemo giftogd
-
-+install:
-+ ${LIBTOOL} --mode=install install -cs -o bin -g bin gddemo giftogd webgif ${PREFIX}/bin
-+ ${LIBTOOL} --mode=install install -c -o bin -g bin libgd.la ${PREFIX}/lib
-+ install -c -o bin -g bin gd.h gdfonts.h ${PREFIX}/include/gd
-+ install -c -o bin -g bin gdfontt.h gdfontmb.h ${PREFIX}/include/gd
-+ install -c -o bin -g bin gdfontl.h gdfontg.h ${PREFIX}/include/gd
-+ install -c -o bin -g bin index.html ${PREFIX}/share/examples/gd
-+ install -c -o bin -g bin demoin.gif ${PREFIX}/share/examples/gd
+$NetBSD: patch-aa,v 1.4 1999/08/26 15:26:28 agc Exp $
+
+Use NetBSD libtool
+
+--- configure 1999/08/26 15:11:27 1.1
++++ configure 1999/08/26 15:12:16
+@@ -1366,6 +1366,7 @@
+ fi
+
+
++if false; then
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags="--cache-file=$cache_file"
+ test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
+@@ -1523,6 +1524,7 @@
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
+ exec 5>>./config.log
++fi
+
+ # Find a good install program. We prefer a C program (faster),
+ # so one script is as good as another. But avoid the broken or