Fix the patch

epel8
Matthias Clasen 20 years ago
parent a5ff8d2b6e
commit b89ce9764f

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

@ -20,7 +20,7 @@ Source: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{version}.tar.gz
Source1: magick_small.png Source1: magick_small.png
Patch1: ImageMagick-6.2.0-lprhack.patch Patch1: ImageMagick-6.2.0-lprhack.patch
Patch2: ImageMagick-6.2.0-hp2xx.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/ Url: http://www.imagemagick.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel BuildPrereq: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel

Loading…
Cancel
Save