summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageMagick7.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/ImageMagick7.spec b/ImageMagick7.spec
index 5e13222..b63b679 100644
--- a/ImageMagick7.spec
+++ b/ImageMagick7.spec
@@ -69,6 +69,8 @@ License: ImageMagick
Url: http://www.imagemagick.org/
Source0: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{VER}-%{Patchlevel}.tar.xz
+Patch0: %{name}-upstream.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel
BuildRequires: libtiff-devel, giflib-devel, zlib-devel
@@ -280,6 +282,7 @@ however.
%prep
%setup -q -n %{libname}-%{VER}-%{Patchlevel}
+%patch0 -p1 -b .upstream
# for %%doc
mkdir Magick++/examples