aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libungif/files/patch-util_giftext.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libungif/files/patch-util_giftext.c')
-rw-r--r--graphics/libungif/files/patch-util_giftext.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/libungif/files/patch-util_giftext.c b/graphics/libungif/files/patch-util_giftext.c
new file mode 100644
index 000000000000..6227d274d74f
--- /dev/null
+++ b/graphics/libungif/files/patch-util_giftext.c
@@ -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)