summaryrefslogtreecommitdiffstats
path: root/russian/gd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'russian/gd/Makefile')
-rw-r--r--russian/gd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/russian/gd/Makefile b/russian/gd/Makefile
index 2bf073d..52c0751 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
OpenPOWER on IntegriCloud