aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pecl-ctemplate
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2010-04-21 15:57:33 +0800
committervanilla <vanilla@FreeBSD.org>2010-04-21 15:57:33 +0800
commitcd77a687148789b2774230b983973ed475849793 (patch)
treeaeec9c3d178d2dc2e10f995c4ce79ae0782d52f3 /textproc/pecl-ctemplate
parent64dddb59d922d29ebed9ff0e719fce6222d0a8a0 (diff)
downloadfreebsd-ports-gnome-cd77a687148789b2774230b983973ed475849793.tar.gz
freebsd-ports-gnome-cd77a687148789b2774230b983973ed475849793.tar.zst
freebsd-ports-gnome-cd77a687148789b2774230b983973ed475849793.zip
Fix building with latest google-ctemplate.
Diffstat (limited to 'textproc/pecl-ctemplate')
-rw-r--r--textproc/pecl-ctemplate/Makefile1
-rw-r--r--textproc/pecl-ctemplate/files/patch-cTemplate.cpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile
index abd0a92c063c..9cbf86e46263 100644
--- a/textproc/pecl-ctemplate/Makefile
+++ b/textproc/pecl-ctemplate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cTemplate
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= textproc pear
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= vanilla
diff --git a/textproc/pecl-ctemplate/files/patch-cTemplate.cpp b/textproc/pecl-ctemplate/files/patch-cTemplate.cpp
new file mode 100644
index 000000000000..dd138e6473a1
--- /dev/null
+++ b/textproc/pecl-ctemplate/files/patch-cTemplate.cpp
@@ -0,0 +1,10 @@
+--- cTemplate.cpp.orig 2010-04-21 15:54:07.000000000 +0800
++++ cTemplate.cpp 2010-04-21 15:54:14.000000000 +0800
+@@ -171,7 +171,6 @@ PHP_MINIT_FUNCTION(cTemplate)
+ REGISTER_LONG_CONSTANT ("TS_EMPTY", TS_EMPTY, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT ("TS_ERROR", TS_ERROR, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT ("TS_READY", TS_READY, CONST_CS | CONST_PERSISTENT);
+- REGISTER_LONG_CONSTANT ("TS_SHOULD_RELOAD", TS_SHOULD_RELOAD, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT ("TC_HTML", TC_HTML, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT ("TC_JS", TC_JS, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT ("TC_CSS", TC_CSS, CONST_CS | CONST_PERSISTENT);