diff --git a/ImageMagick-6.2.0-vsnprintf.patch b/ImageMagick-6.2.0-vsnprintf.patch new file mode 100644 index 0000000..75b2eed --- /dev/null +++ b/ImageMagick-6.2.0-vsnprintf.patch @@ -0,0 +1,14 @@ +--- ImageMagick-6.2.0/magick/studio.h.vsnprintf 2005-03-18 12:36:54.000000000 -0500 ++++ ImageMagick-6.2.0/magick/studio.h 2005-03-18 12:37:02.000000000 -0500 +@@ -175,11 +175,6 @@ + strlcpy(char *,const char *,size_t); + #endif + +-#if defined(HAVE_VSNPRINTF) && !defined(HAVE_VSNPRINTF_PROTOTYPE) +-extern int +- vsnprintf(char *,size_t,const char *,va_list); +-#endif +- + #if !defined(magick_attribute) + # if !defined(__GNUC__) + # define magick_attribute(x) /* nothing */ diff --git a/ImageMagick.spec b/ImageMagick.spec index 38ce7f6..540385c 100644 --- a/ImageMagick.spec +++ b/ImageMagick.spec @@ -20,7 +20,7 @@ Source: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{version}.tar.gz Source1: magick_small.png Patch1: ImageMagick-6.2.0-lprhack.patch Patch2: ImageMagick-6.2.0-hp2xx.patch -Patch3: ImageMagick-6.0.7-vsnprintf.patch +Patch3: ImageMagick-6.2.0-vsnprintf.patch Url: http://www.imagemagick.org/ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel