From fe6d81d24538cd646a472735f9523f11881aad4e Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Tue, 17 Jul 2007 09:51:28 +0000 Subject: [PATCH] Fix build with google-ctemplate 0.7. --- textproc/pecl-ctemplate/files/patch-cTemplate.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 textproc/pecl-ctemplate/files/patch-cTemplate.cpp diff --git a/textproc/pecl-ctemplate/files/patch-cTemplate.cpp b/textproc/pecl-ctemplate/files/patch-cTemplate.cpp new file mode 100644 index 000000000000..c5117936e7c1 --- /dev/null +++ b/textproc/pecl-ctemplate/files/patch-cTemplate.cpp @@ -0,0 +1,10 @@ +--- cTemplate.cpp.orig Tue Jul 17 17:48:38 2007 ++++ cTemplate.cpp Tue Jul 17 17:48:44 2007 +@@ -187,7 +187,6 @@ + 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_RELOAD", TS_RELOAD, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT ("HTML_ESCAPE", 0, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT ("XML_ESCAPE", 1, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT ("JAVASCRIPT_ESCAPE", 2, CONST_CS | CONST_PERSISTENT);