From 7b70eabfbec4ffe9cae14c5c89180f3f3c91e789 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 21 Jul 2008 15:25:47 +0000 Subject: [PATCH] fix license tag --- gd-loop.patch | 15 ++++++++------- gd.spec | 7 +++++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gd-loop.patch b/gd-loop.patch index 2c67322..9d08965 100644 --- a/gd-loop.patch +++ b/gd-loop.patch @@ -1,10 +1,11 @@ ---- gd-2.0.33/gd_gif_in.c.loop 2004-11-01 19:28:56.000000000 +0100 -+++ gd-2.0.33/gd_gif_in.c 2006-07-10 14:59:42.000000000 +0200 -@@ -418,16 +418,17 @@ - return firstcode; - } else if (code == end_code) { +diff -up gd-2.0.35/gd_gif_in.c.loop gd-2.0.35/gd_gif_in.c +--- gd-2.0.35/gd_gif_in.c.loop 2007-06-14 15:51:41.000000000 -0400 ++++ gd-2.0.35/gd_gif_in.c 2008-07-21 11:20:25.000000000 -0400 +@@ -453,16 +453,17 @@ LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DAT + return sd->firstcode; + } else if (code == sd->end_code) { int count; -+ int max_count = 1024; ++ int max_count = 1024; unsigned char buf[260]; if (*ZeroDataBlockP) @@ -17,7 +18,7 @@ - if (count != 0) - return -2; + if (count != 0 || max_count < 0 ) -+ return -2; ++ return -2; } incode = code; diff --git a/gd.spec b/gd.spec index 32def5c..beeb046 100644 --- a/gd.spec +++ b/gd.spec @@ -1,9 +1,9 @@ Summary: A graphics library for quick creation of PNG or JPEG images Name: gd Version: 2.0.35 -Release: 5%{?dist} +Release: 6%{?dist} Group: System Environment/Libraries -License: MIT and GPL +License: MIT URL: http://www.libgd.org/Main_Page Source0: http://www.libgd.org/releases/%{name}-%{version}.tar.bz2 Patch0: gd-2.0.33-freetype.patch @@ -97,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/gdlib.pc %changelog +* Mon Jul 21 2008 Tom "spot" Callaway - 2.0.35-6 +- fix license tag (nothing in this is GPL) + * Tue Feb 19 2008 Fedora Release Engineering - 2.0.35-5 - Autorebuild for GCC 4.3