From f26a1c1eac25a5fb2dd9015810d943c1141a9c1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Feb 2014 10:59:20 +0100 Subject: [PATCH] upstream patch, drop debug output (#1060665) --- GraphicsMagick-1.3.19-fd85f2.patch | 10 ++++++++++ GraphicsMagick.spec | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 GraphicsMagick-1.3.19-fd85f2.patch diff --git a/GraphicsMagick-1.3.19-fd85f2.patch b/GraphicsMagick-1.3.19-fd85f2.patch new file mode 100644 index 0000000..aa5bbfe --- /dev/null +++ b/GraphicsMagick-1.3.19-fd85f2.patch @@ -0,0 +1,10 @@ +--- GraphicsMagick-1.3.19/wand/magick_wand.c.orig 2014-02-03 10:50:54.942163472 +0100 ++++ GraphicsMagick-1.3.19/wand/magick_wand.c 2014-02-03 10:51:23.957263231 +0100 +@@ -1907,7 +1907,6 @@ + if ((draw_info == (DrawInfo *) NULL) || + (draw_info->primitive == (char *) NULL)) + return(False); +- fprintf(stderr,"%s\n",draw_info->primitive); + status=DrawImage(wand->image,draw_info); + if (status == False) + InheritException(&wand->exception,&wand->image->exception); diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec index 5ccb278..a320e8c 100644 --- a/GraphicsMagick.spec +++ b/GraphicsMagick.spec @@ -44,6 +44,10 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) # workaround multilib conflicts with GraphicsMagick-config Patch1: GraphicsMagick-1.3.16-multilib.patch +# Upstream patch - drop debug output +# http://sourceforge.net/p/graphicsmagick/code/ci/fd85f264c97504ae5fd4308fb5347ba7f126beb8/ +Patch2: GraphicsMagick-1.3.19-fd85f2.patch + ## upstreamable patches Patch50: GraphicsMagick-1.3.14-perl_linkage.patch @@ -150,6 +154,7 @@ however. %setup -q %patch1 -p1 -b .multilib +%patch2 -p1 -b .fd85f2 %patch50 -p1 -b .perl_linkage for f in ChangeLog.{2006,2008,2009,2012} NEWS.txt ; do @@ -312,6 +317,9 @@ rm -rf %{buildroot} %changelog +* Mon Feb 03 2014 Remi Collet - 1.3.19-5 +- upstream patch, drop debug output (#1060665) + * Sat Jan 25 2014 Ville Skyttä - 1.3.19-4 - Split docs into -doc subpackage, drop README.txt (#1056306). - Drop no longer needed BrowseDelegateDefault modification.