pkgsrc/graphics/giflib/Makefile.common
leot b29feeaa41 Update graphics/giflib to 5.1.4.
Changes:
Version 5.1.4
=============
Code Fixes
----------
* Fix SF bug #94: giflib 5 loves to fail to load images... a LOT.
* Fix SF Bug #92: Fix buffer overread in gifbuild.
* Fix SF Bug #93: Add bounds check in gifbuild netscape2.0 path
* Fix SF Bug #89: Fix buffer overread in gifbuild.

Version 5.1.3
=============
As of this version the library and code has been seriously abused by fuzzers,
smoking out crash bugs (now fixed) induced by various kinds of severely
malformed GIF.

Code Fixes
----------
* Prevent malloc randomess from causing the header output routine to emit
  a GIF89 version string even when no GIF89 features are present. Only
  breaks tests, not production code, but it's odd this wasn't caught sooner.
* Prevent malloc randomess from producing sporadic failures by causing
  sanity checks added in 5.1.2 to misfire.
* Bulletproof gif2rgb against 0-height images. Addressed SF bug #78:
  Heap overflow in gif2rgb with images of size 0, also SF bug #82.
* Remove unnecessary duplicate EGifClose() in gifcolor.c. Fixes SF bug #83
  introduced in 5.1.2.
* Fix SF Bug #84: incorrect return of DGifSlurp().
2016-05-01 20:28:44 +00:00

25 lines
747 B
Text

# $NetBSD: Makefile.common,v 1.11 2016/05/01 20:28:44 leot Exp $
# used by graphics/giflib/Makefile
# used by graphics/giflib-util/Makefile
DISTNAME= giflib-5.1.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://giflib.sourceforge.net/
LICENSE= mit
#PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches
DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
SUBST_CLASSES+= split
SUBST_FILES.split+= util/Makefile.in
SUBST_SED.split+= -e 's,../lib/libgif.la,$$(prefix)/lib/libgif.la,g'
SUBST_MESSAGE.split= Change Makefile for giflib-util split-off.
SUBST_STAGE.split= pre-configure