diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-09-07 08:28:13 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-09-07 08:28:13 +0000 |
commit | 25ec1c992759f2cf0f2f2f135852f52ff6f33f71 (patch) | |
tree | 15ec03df76d8478e2e7b95220ecfdaccce511127 /x11/gpctool | |
parent | f764b7ec744f962acee3e003bf02cb1e8cd25f2b (diff) | |
download | ports-25ec1c992759f2cf0f2f2f135852f52ff6f33f71.tar.gz ports-25ec1c992759f2cf0f2f2f135852f52ff6f33f71.zip |
- Chase x11-toolkits/xforms shlib version bump
Notes
Notes:
svn path=/head/; revision=281360
Diffstat (limited to 'x11/gpctool')
-rw-r--r-- | x11/gpctool/Makefile | 8 | ||||
-rw-r--r-- | x11/gpctool/files/patch-includes | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/x11/gpctool/Makefile b/x11/gpctool/Makefile index cbd037648ebb..47898b8cbe8a 100644 --- a/x11/gpctool/Makefile +++ b/x11/gpctool/Makefile @@ -7,7 +7,7 @@ PORTNAME= gpctool PORTVERSION= 1.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 math graphics MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/toby/gpc/ DISTNAME= gpct${PORTVERSION:S/.//g} @@ -16,7 +16,7 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Evaluation tool for the Generic Polygon Clipper library LIB_DEPENDS= gpc:${PORTSDIR}/devel/libgpc \ - formsGL:${PORTSDIR}/x11-toolkits/xforms + formsGL.2:${PORTSDIR}/x11-toolkits/xforms USE_ZIP= yes USE_GL= yes @@ -29,4 +29,8 @@ MAKEFILE= ${FILESDIR}/BSDmakefile EXTRACT_BEFORE_ARGS=-qoa EXTRACT_AFTER_ARGS=-d ${WRKDIR} -x ${DISTNAME}/gpc.? ${DISTNAME}/gl.c +post-patch: + ${REINPLACE_CMD} -e 's|FALSE|false|g' \ + ${WRKSRC}/callbacks.c ${WRKSRC}/graphics.c + .include <bsd.port.mk> diff --git a/x11/gpctool/files/patch-includes b/x11/gpctool/files/patch-includes index 8935df38be81..3ed8ea7c2c1a 100644 --- a/x11/gpctool/files/patch-includes +++ b/x11/gpctool/files/patch-includes @@ -17,7 +17,7 @@ --- callbacks.c Tue Jul 4 10:28:09 2000 +++ callbacks.c Sat Oct 22 02:51:38 2005 -@@ -30,7 +30,6 @@ +@@ -30,7 +30,7 @@ -#include "forms.h" @@ -25,15 +25,17 @@ -#include "gpctool.h" +#include <forms.h> +#include <stdlib.h> ++#include <stdbool.h> #include "appl.h" /* --- graphics.c Tue Jul 4 10:28:10 2000 +++ graphics.c Sat Oct 22 02:53:08 2005 -@@ -30,5 +30,5 @@ +@@ -30,5 +30,6 @@ -#include "gpc.h" +#include <gpc.h> ++#include <stdbool.h> #include "appl.h" #include <float.h> @@ -37,4 +37,5 @@ |