summaryrefslogtreecommitdiff
path: root/textproc/pecl-ctemplate
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2010-04-21 07:57:33 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2010-04-21 07:57:33 +0000
commit22da971974dc8d9a22a710b92a6645d134aafb27 (patch)
tree093138e7a1dd50f72326a71dc1b7150eb8755943 /textproc/pecl-ctemplate
parentUpgrade to 0.97. (diff)
Fix building with latest google-ctemplate.
Notes
Notes: svn path=/head/; revision=252991
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);