diff --git a/buildout/software-profiles/imagemagick.cfg b/buildout/software-profiles/imagemagick.cfg
index 7b75d0ef9a5bf3471a869df2a67c2090f1de1ade..1b87fe28875262522dd6d6ed387a3afab4bc868f 100644
--- a/buildout/software-profiles/imagemagick.cfg
+++ b/buildout/software-profiles/imagemagick.cfg
@@ -15,6 +15,14 @@ extends =
   ../software-profiles/jbigkit.cfg
   ../software-profiles/zlib.cfg
 
+[imagemagick-6.6.6-1-no-gsx-gsc-probe.patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+path = ${:filename}
+md5sum = 3f28ecd9f6722cf2c3238ce6ec3d7a68
+download-only = true
+filename = imagemagick-6.6.6-1-no-gsx-gsc-probe.patch
+
 [imagemagick]
 recipe = hexagonit.recipe.cmmi
 url = http://ftp.nluug.nl/ImageMagick/ImageMagick-6.6.6-1.tar.bz2
@@ -31,6 +39,9 @@ configure-options =
   --with-ltdl-include=${libtool:location}/include
   --with-ltdl-lib=${libtool:location}/lib
   --with-frozenpaths
+patch-options = -p1
+patches =
+  ${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:location}/${imagemagick-6.6.6-1-no-gsx-gsc-probe.patch:filename}
 environment =
   PATH=${freetype:location}/bin:${ghostscript:location}/bin:%(PATH)s
   CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include -I${jbigkit:location}/include -I${libjpeg:location}/include -I${libtiff:location}/include -I${libpng:location}/include -I${jasper:location}/include -I${freetype:location}/include