Fix the patch

This commit is contained in:
Matthias Clasen 2005-03-18 17:37:52 +00:00
parent a5ff8d2b6e
commit b89ce9764f
2 changed files with 15 additions and 1 deletions

View File

@ -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 */

View File

@ -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