aboutsummaryrefslogtreecommitdiffstats
path: root/russian/gd
diff options
context:
space:
mode:
Diffstat (limited to 'russian/gd')
-rw-r--r--russian/gd/Makefile9
-rw-r--r--russian/gd/distinfo2
2 files changed, 9 insertions, 2 deletions
diff --git a/russian/gd/Makefile b/russian/gd/Makefile
index 2bf073dd279c..52c07511093d 100644
--- a/russian/gd/Makefile
+++ b/russian/gd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gd
-PORTVERSION= 1.8.2
+PORTVERSION= 1.8.3
CATEGORIES= russian graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/
@@ -16,6 +16,13 @@ MAINTAINER= gsm@infosite.ru
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
+ ${WRKSRC}/gdcache.h \
+ ${WRKSRC}/gd.c
+
pre-install:
${MKDIR} ${PREFIX}/include/gd
diff --git a/russian/gd/distinfo b/russian/gd/distinfo
index 7cd70fe502d6..c49649bae22f 100644
--- a/russian/gd/distinfo
+++ b/russian/gd/distinfo
@@ -1 +1 @@
-MD5 (gd-1.8.2.tar.gz) = 92d69d3d70d9b29da74dd79f9c7e10ff
+MD5 (gd-1.8.3.tar.gz) = ad0e7dd1dda2812dbaeaa9706c4be536