diff --git a/ImageMagick.spec b/ImageMagick.spec index d7a41d6..010da94 100644 --- a/ImageMagick.spec +++ b/ImageMagick.spec @@ -99,6 +99,9 @@ Source2: xtp-%{xtp_version}.tar.bz2 Source3: baselibs.conf Patch1: ImageMagick-6.6.8.9-examples.patch Patch2: ImageMagick-6.6.8.9-doc.patch +# remove inc-struct.diff as soon as it will be not comfortable to port +# see http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=18435&hilit=include +# for upstream progress Patch3: ImageMagick-6.6.9.1-inc-struct.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: imagemag = %{version} @@ -202,6 +205,10 @@ rm -rf xtp-%{xtp_version} %patch1 %patch2 %patch3 -p1 +# remove together with inc-struct.diff ---- +echo>header-test.c '#include "wand.h"' # +echo>wand.h '#include "wand/MagickWand.h"' # +%{__make} header-test.o # %build %define CFLAGS ${RPM_OPT_FLAGS} -fstack-protector-all