aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2009-08-16 22:42:45 +0800
committeraraujo <araujo@FreeBSD.org>2009-08-16 22:42:45 +0800
commit44e049fe80fed1cb77e52af923a24b24327e1220 (patch)
tree564600716630290c59e1910c420198549dd71463
parentdd371fbb79b4e6d7b2a1139f6c99da48acbf5689 (diff)
downloadfreebsd-ports-gnome-44e049fe80fed1cb77e52af923a24b24327e1220.tar.gz
freebsd-ports-gnome-44e049fe80fed1cb77e52af923a24b24327e1220.tar.zst
freebsd-ports-gnome-44e049fe80fed1cb77e52af923a24b24327e1220.zip
- Fix build on AMD64 based on the latest patch that was sent by
maintainer. - Bump PORTREVISION. PR: ports/137577 (based on) Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> Reported by: itetcu (QAT) Approved by: maintainer implicit
-rw-r--r--math/GiNaC/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index 3c8abf9f62ad..fd6c6eab2840 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -8,6 +8,7 @@
PORTNAME= GiNaC
PORTVERSION= 1.5.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
@@ -40,4 +41,8 @@ BROKEN= Does not build on alpha
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
+.if ${ARCH} != "i386"
+ @${REINPLACE_CMD} -e 's|unsigned|size_t|g' ${WRKSRC}/ginac/parser/parser.cpp
+.endif
+
.include <bsd.port.post.mk>