synfig/synfig-1.0.2-ImageMagick-7.0.3.2.patch

21 lines
739 B
Diff
Raw Permalink Normal View History

--- synfig-1.0.2/src/modules/mod_magickpp/trgt_magickpp.cpp.orig 2016-10-06 22:43:23.534630678 +0200
+++ synfig-1.0.2/src/modules/mod_magickpp/trgt_magickpp.cpp 2016-10-06 22:43:13.033630581 +0200
@@ -59,7 +59,7 @@
MagickCore::Image* previous = 0;
MagickCore::Image* first = NULL;
MagickCore::ExceptionInfo exceptionInfo;
- MagickCore::GetExceptionInfo(&exceptionInfo);
+ MagickCore::CloneExceptionInfo(&exceptionInfo);
for (Iter iter = container.begin(); iter != container.end(); ++iter)
{
MagickCore::Image* current;
@@ -87,7 +87,7 @@
magickpp_trgt::~magickpp_trgt()
{
MagickCore::ExceptionInfo exceptionInfo;
- MagickCore::GetExceptionInfo(&exceptionInfo);
+ MagickCore::CloneExceptionInfo(&exceptionInfo);
try
{