mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add a patch to prevent a segfault under certain circumstances.
Submitted by: Mark Martinec via freebsd-ports Obtained from: http://fuzzyocr.own-hero.net/wiki/Downloads
This commit is contained in:
parent
00936b889d
commit
8bf9cc019c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177389
4 changed files with 20 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= libungif
|
||||
PORTVERSION= 4.1.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
9
graphics/giflib/files/patch-util_giftext.c
Normal file
9
graphics/giflib/files/patch-util_giftext.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- util/giftext.c.orig Mon Oct 10 08:08:51 2005
|
||||
+++ util/giftext.c Mon Aug 28 17:01:18 2006
|
||||
@@ -136,5 +136,5 @@
|
||||
printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n",
|
||||
GifFile->SColorResolution,
|
||||
- GifFile->SColorMap->BitsPerPixel,
|
||||
+ GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0,
|
||||
GifFile->SBackGroundColor);
|
||||
if (GifFile->SColorMap)
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= libungif
|
||||
PORTVERSION= 4.1.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
9
graphics/libungif/files/patch-util_giftext.c
Normal file
9
graphics/libungif/files/patch-util_giftext.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- util/giftext.c.orig Mon Oct 10 08:08:51 2005
|
||||
+++ util/giftext.c Mon Aug 28 17:01:18 2006
|
||||
@@ -136,5 +136,5 @@
|
||||
printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n",
|
||||
GifFile->SColorResolution,
|
||||
- GifFile->SColorMap->BitsPerPixel,
|
||||
+ GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0,
|
||||
GifFile->SBackGroundColor);
|
||||
if (GifFile->SColorMap)
|
Loading…
Add table
Reference in a new issue