New commits:
commit 98e9a117f8e2d3a4a46e20ac51b2468c4183d97f
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/gd: fixed missing header error
diff --git a/graphics-libs/gd/HISTORY b/graphics-libs/gd/HISTORY
index 7bc538f..8c0d883 100644
--- a/graphics-libs/gd/HISTORY
+++ b/graphics-libs/gd/HISTORY
@@ -1,3 +1,6 @@
+2017-01-28 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD: fixed missing header error
+
2017-01-19 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 2.2.4, SECURITY_PATCH++, fixes CVE-2016-9317 and
CVE-2016-6912
diff --git a/graphics-libs/gd/PRE_BUILD b/graphics-libs/gd/PRE_BUILD
index 54f4dbd..68fcf9b 100755
--- a/graphics-libs/gd/PRE_BUILD
+++ b/graphics-libs/gd/PRE_BUILD
@@ -1,6 +1,8 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
+sed -i '/math\.h/i#include <limits.h>' src/gd_gd2.c &&
+
if ! [ -f configure ]; then
./bootstrap.sh
fi
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (98e9a117f8e2d3a4a46e20ac51b2468c4183d97f),
Pavel Vinogradov, 01/28/2017