From 110e084c694bcff76777c070af653fe6b17c540a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 22 Apr 2013 11:00:24 +0200 Subject: gd: drop already applied patch --- gd-2.0.35-security3.patch | 12 ------------ gd.spec | 3 +-- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 gd-2.0.35-security3.patch diff --git a/gd-2.0.35-security3.patch b/gd-2.0.35-security3.patch deleted file mode 100644 index e15587b..0000000 --- a/gd-2.0.35-security3.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- gd-2.0.28/gd_gd.c 2004-05-24 17:28:12.000000000 +0200 -+++ gd-2.0.28_new/gd_gd.c 2009-12-08 15:19:16.159836680 +0100 -@@ -44,6 +44,9 @@ - { - goto fail1; - } -+ if (im->colorsTotal > gdMaxColors) { -+ goto fail1; -+ } - } - /* Int to accommodate truecolor single-color transparency */ - if (!gdGetInt (&im->transparent, in)) diff --git a/gd.spec b/gd.spec index 5c36a56..1372c1e 100644 --- a/gd.spec +++ b/gd.spec @@ -9,13 +9,13 @@ License: MIT URL: http://libgd.bitbucket.org/ Source0: https://bitbucket.org/libgd/gd-libgd/downloads/gd-%{version}%{?prever}.tar.xz Patch1: gd-2.1.0-multilib.patch +# Need work: Patch4: gd-loop.patch Patch5: gd-2.0.34-sparc64.patch Patch6: gd-2.0.35-overflow.patch Patch7: gd-2.0.35-AALineThick.patch Patch8: gd-2.0.33-BoxBound.patch Patch10: gd-2.0.35-time.patch -Patch11: gd-2.0.35-security3.patch Patch12: gd-2.0.35-runtests.patch Patch13: gd-sa1.patch Patch14: gd-sa2.patch @@ -84,7 +84,6 @@ files for gd, a graphics library for creating PNG and JPEG graphics. #patch7 -p1 -b .AALineThick #patch8 -p1 -b .bb #patch10 -p1 -b .time -#patch11 -p1 -b .sec3 #patch12 -p1 -b .runtests #patch13 -p1 -b .sa1 #patch14 -p1 -b .sa2 -- cgit