components/imagemagick/patches/uselocale.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 09 Oct 2014 18:23:12 -0700
changeset 2144 96440b7aa33e
permissions -rw-r--r--
19782835 imagemagick doesn't build on s12_58

This patch has been submitted upstream:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26362

--- ImageMagick-6.8.3/magick/locale.c.orig	2012-12-07 05:14:16.000000000 -0800
+++ ImageMagick-6.8.3/magick/locale.c	2014-10-09 13:32:28.333380432 -0700
@@ -256,7 +256,7 @@
 #endif
   }
 #else
-#if defined(MAGICKCORE_HAVE_USELOCALE)
+#if defined(MAGICKCORE_HAVE_USELOCALE) && defined(MAGICKCORE_HAVE_STRTOD_L)
   {
     locale_t
       locale,
@@ -347,7 +347,7 @@
 #endif
   }
 #elif defined(MAGICKCORE_HAVE_VSNPRINTF)
-#if defined(MAGICKCORE_HAVE_USELOCALE)
+#if defined(MAGICKCORE_HAVE_USELOCALE) && defined(MAGICKCORE_HAVE_STRTOD_L)
   {
     locale_t
       locale,