From: Dirk Lemstra <dirk@git.imagemagick.org>
Date: Thu, 10 May 2018 18:25:40 +0000 (+0200)
Subject: Enable LIBRAW_USE_CALLOC_INSTEAD_OF_MALLOC for libraw.
X-Git-Tag: 7.0.7-32~19
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9485f1640ad040fd9ef662f8842cda7a29fde3fb;p=imagemagick

Enable LIBRAW_USE_CALLOC_INSTEAD_OF_MALLOC for libraw.
---

diff --git a/Magick++/fuzz/build.sh b/Magick++/fuzz/build.sh
index 73c4911ae..fb49e5e90 100644
--- a/Magick++/fuzz/build.sh
+++ b/Magick++/fuzz/build.sh
@@ -47,7 +47,7 @@ popd
 # build libraw
 pushd "$SRC/libraw"
 autoreconf -fiv
-./configure --prefix="$WORK" --disable-shared --with-pic=yes --disable-examples PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
+./configure --prefix="$WORK" --disable-shared --with-pic=yes --disable-examples PKG_CONFIG_PATH="$WORK/lib/pkgconfig" -DLIBRAW_USE_CALLOC_INSTEAD_OF_MALLOC=on
 make -j$(nproc)
 make install
 popd