diff options
-rw-r--r-- | textproc/pecl-ctemplate/Makefile | 1 | ||||
-rw-r--r-- | textproc/pecl-ctemplate/files/patch-cTemplate.cpp | 10 |
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); |