Hello community,

here is the log from the commit of package ImageMagick for openSUSE:11.4
checked in at Fri Sep 9 16:19:47 CEST 2011.



--------
--- old-versions/11.4/all/ImageMagick/ImageMagick.changes       2011-02-14 
10:09:12.000000000 +0100
+++ 11.4/ImageMagick/ImageMagick.changes        2011-09-07 10:50:12.000000000 
+0200
@@ -1,0 +2,5 @@
+Wed Sep  7 08:49:59 UTC 2011 - [email protected]
+
+- fixed wrong error messages [bnc#673303] 
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/ImageMagick
Destination is old-versions/11.4/UPDATES/all/ImageMagick
calling whatdependson for 11.4-i586


New:
----
  ImageMagick-6.6.5-8-reason-error-message.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ImageMagick.spec ++++++
--- /var/tmp/diff_new_pack.VOUmyp/_old  2011-09-09 16:19:21.000000000 +0200
+++ /var/tmp/diff_new_pack.VOUmyp/_new  2011-09-09 16:19:21.000000000 +0200
@@ -30,7 +30,7 @@
 Group:          Productivity/Graphics/Other
 AutoReqProv:    on
 Version:        6.6.5.8
-Release:        3
+Release:        8.<RELEASE9>
 %define source_version 6.6.5-8
 %define libver  4
 Summary:        Viewer and Converter for Images
@@ -42,6 +42,7 @@
 Source3:        baselibs.conf
 Patch1:         ImageMagick-%{version}-examples.patch
 Patch2:         ImageMagick-%{version}-doc.patch
+Patch3:         ImageMagick-6.6.5-8-reason-error-message.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %package -n perl-PerlMagick
@@ -119,6 +120,7 @@
 %setup -n ImageMagick-%{source_version} -b 2
 %patch1
 %patch2
+%patch3
 
 %build
 %define system_ltdl 0

++++++ ImageMagick-6.6.5-8-reason-error-message.patch ++++++
Index: magick/exception.c
===================================================================
--- magick/exception.c.orig
+++ magick/exception.c
@@ -457,7 +457,11 @@ MagickExport char *GetExceptionMessage(c
 
   *exception='\0';
 #if defined(MAGICKCORE_HAVE_STRERROR_R)
-  (void) strerror_r(error,exception,sizeof(exception));
+  #if !defined(_GNU_SOURCE)
+    (void) strerror_r(error,exception,sizeof(exception));
+  #else
+    (void) CopyMagickString(exception,strerror_r(error, exception, 
sizeof(exception)),sizeof(exception));
+  #endif
 #else
   (void) CopyMagickString(exception,strerror(error),sizeof(exception));
 #endif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to