diff -up ImageMagick-6.7.8-9/magick/blob.c.cve-2016-5118 ImageMagick-6.7.8-9/magick/blob.c
--- ImageMagick-6.7.8-9/magick/blob.c.cve-2016-5118 2016-06-02 11:11:35.681242509 +0200
+++ ImageMagick-6.7.8-9/magick/blob.c 2016-06-02 11:34:57.707081030 +0200
@@ -91,6 +91,7 @@
#define _O_BINARY O_BINARY
#endif
+#undef MAGICKCORE_HAVE_POPEN
/*
Typedef declarations.
*/