Commit graph

25 commits

Author SHA1 Message Date
adam
bdc1fb6be3 Changes 2.0.35:
* Fix valgrind error in gdImageFillTiled
* Add missing custom cmake macros
* Avoid signature buffer copy  in gd_gif_c
* Race condition in gdImageStringFTEx
* Reading GIF images is not thread safe (static usage in private functions)
* GIF Local palette is read twice
* GIF, Use local frame dimension when possible instead of the logical screen size
* OpenVMS build support, see VMS/README.VMS for the details
* GIF, do not try to use the global colmap if it does not exist
* gdImageAALine draws axis lines with two pixels width
* TTF usage doesn't work properly on Netware
* gdImageArc CPU usage with large angles
* gdImageFilledRectangle regression fixed when used with reversed edges
* Possible infinite loop in libgd/gd_png.c, flaw found by Xavier Roche
* Fixed segfault when an invalid color index is present in a GIF image data
* Possible integer overflow in gdImageCreateTrueColor
* gdImageCreateXbm can crash if gdImageCreate fails
2007-07-01 07:54:25 +00:00
drochner
279974b31d CVE-2006-2906 has been fixed upstream another way; this patch is unneeded 2007-02-22 17:21:18 +00:00
adam
752db05ec6 Patch patch-ac 2007-02-17 07:04:44 +00:00
adam
9c65cc2150 Changes 2.0.34:
* 32-bit multiplication overflow vulnerabilities along with a number of similar
  issues
* Memory allocation errors that were not checked
* Multiple issues in the GIF loader. Corrupt gif images would cause a segfault
  or infinite loop
* Malformed or empty PNG image also may have caused segfaults
* gdImageFillToBorder segfaulted when the color was not opaque (alpha > 0)
* Antialiased lines drawn on an images edge caused a segfault
* gdImageFill segfaulted when used with patterns or invalid arguments
* gdImageFilledEllipse did not respect transparency
2007-02-16 20:37:52 +00:00
salo
1d07100aaf Security fix for CVE-2006-2906:
"The LZW decoding in the gdImageCreateFromGifPtr function in the Thomas
 Boutell graphics draw (GD) library (aka libgd) 2.0.33 allows remote
 attackers to cause a denial of service (CPU consumption) via malformed
 GIF data that causes an infinite loop."

Patch from Xavier Roche via Ubuntu.
2006-06-14 21:42:33 +00:00
minskim
0cd8a5468b Do not define a variable in a header file; move the definition into .c
and leave the declraration only.  This fixes the graphviz build
problem reported by Adrian Portelli in PR pkg/28596.

Bump PKGREVISION.
2005-06-06 18:38:08 +00:00
adam
28d812fa48 Update gd to 2.0.15
What's new:
* Support for truecolor images
* Support for alpha channels
* The specialized .gd and .gd2 file formats
* Documentation fixes
* Bug fixes
2003-06-23 09:53:10 +00:00
cjep
a688f1b730 Use $(INSTALL) rather than "install". Fixes build on Solaris. 2003-06-07 11:32:39 +00:00
wiz
e871106642 Update to 1.8.4:
* Add support for FreeType2 (John Ellson ellson@lucent.com)
[not used in the package right now]
* Add support for finding in fonts in a builtin DEFAULT_FONTPATH, or in a path
  from the GDFONTPATH environment variable.
* remove some unused symbols to reduce compiler warnings
* bugfix in size comparisons in gdImageCompare
* REXX now mentioned
* All memory allocation functions are now wrapped within the library; gdFree is
  exported and recommended for freeing memory returned by the
  gdImage(Something)Ptr family of functions.
Based on a package sent to tech-pkg by Adam Ciarcinski.
2002-01-21 16:29:25 +00:00
jlam
b1ee4157e6 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Also
use REPLACE_PERL instead of patching to replace /usr/bin/perl.
2001-06-28 20:02:56 +00:00
kei
707c65edaa added support to fix the path to perl.
It seems that we need more generic way to replace the symbols (e.g. paths)
in the various files.
2001-06-14 06:36:50 +00:00
tron
7d755a2870 Use default compiler to avoid problem with new "libtool". 2001-03-04 09:32:43 +00:00
wiz
2ff78d3797 Remove -O from default CFLAGS, on request by Adam Ciarcinski. 2001-01-09 17:55:21 +00:00
wiz
2b221128b8 Fix libgd.so. Patch supplied by Hubert Feyrer. 2000-12-16 00:29:22 +00:00
jlam
90e98f577e Honor CFLAGS passed in from environment during build. 2000-12-11 05:49:49 +00:00
he
5360945a7b Upgrade this package from 1.8.1 to 1.8.3; the distribution file
for 1.8.1 was replaced with 1.8.3.
2000-06-14 16:33:46 +00:00
he
23caf7beba Add prototype for gdImageCreateFromXpm in gd.h.
Patch originally (a small) part of GD-1.26.
2000-03-21 11:10:39 +00:00
tron
63ffd85cb8 We need to link executables with "libintl". 2000-03-17 23:16:18 +00:00
he
0b5cfbae53 Update this package to version 1.8.1.
The 1.7.3 distribution file now contains 1.8.1; lame.
2000-03-17 21:05:19 +00:00
jlam
2e2b351156 * Update to gd-1.7.3. Now depends on graphics/freetype and graphics/xpm.
* Build process no longer uses configure.
* Change DESCR to reflect that gd makes PNG, not GIF, files.
* Version library at 1.7.  Fixes PR#????

Changes from version 1.6.3:
--------------------------

  What's new in version 1.7.3?

   Another attempt at Makefile fixes to permit linking with all libraries
   required on platforms with order- dependent linkers. Perhaps it will
   work this time.

  What's new in version 1.7.2?

   An uninitialized-pointer bug in gdtestttf.c was corrected. This bug
   caused crashes at the end of each call to gdImageStringTTF on some
   platforms. Thanks to Wolfgang Haefelinger.

   Documentation fixes. Thanks to Dohn Arms.

   Makefile fixes to permit linking with all libraries required on
   platforms with order- dependent linkers.

  What's new in version 1.7.1?

   A minor buglet in the Makefile was corrected, as well as an inaccurate
   error message in gdtestttf.c. Thanks to Masahito Yamaga.

  What's new in version 1.7?

   Version 1.7 contains the following changes:
     * Japanese language support for the TrueType functions. Thanks to
       Masahito Yamaga.
     * autoconf and configure have been removed, in favor of a carefully
       designed Makefile which produces and properly installs the library
       and the binaries. System-dependent variables are at the top of the
       Makefile for easy modification. I'm sorry, folks, but autoconf
       generated _many, many confused email messages_ from people who
       didn't have things where autoconf expected to find them. I am not
       an autoconf/automake wizard, and gd is a simple, very compact
       library which does not need to be a shared library. I _did_ make
       many improvements over the old gd 1.3 Makefile, which were
       directly inspired by the autoconf version found in the 1.6 series
       (thanks to John Ellson).
     * Completely ANSI C compliant, according to the -pedantic-errors
       flag of gcc. Several pieces of not-quite-ANSI-C code were causing
       problems for those with non-gcc compilers.
     * gdttf.c patched to allow the use of Windows symbol fonts, when
       present (thanks to Joseph Peppin).
     * extern "C" wrappers added to gd.h and the font header files for
       the convenience of C++ programmers. bdftogd was also modified to
       automatically insert these wrappers into future font header files.
       Thanks to John Lindal.
     * Compiles correctly on platforms that don't define SEEK_SET. Thanks
       to Robert Bonomi.
     * Loads Xpm images via the gdImageCreateFromXpm function, if the Xpm
       library is available. Thanks to Caolan McNamara.
1999-11-01 03:29:29 +00:00
agc
e503aa0aed 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
1999-08-26 15:26:26 +00:00
tsarna
2404734a6a Changed to build shared libraries. Closes PR#7403 by Jarkko Torppa. 1999-05-02 17:46:19 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
bouyer
94daf916e7 Update to version 1.3. 1998-04-28 14:07:41 +00:00
explorer
7c11f99455 import the gd graphics generation library 1998-03-07 21:59:13 +00:00