aboutsummaryrefslogtreecommitdiff
path: root/textproc/pecl-ctemplate
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2011-09-05 03:32:21 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2011-09-05 03:32:21 +0000
commit3921a1c2c068444abeee4f4674bddd3a7b800f83 (patch)
tree86ce5a112d4c016a1467f8ec28f9016c89d9e4ba /textproc/pecl-ctemplate
parentd606532befade7521177b60f328c320d30575090 (diff)
downloadports-3921a1c2c068444abeee4f4674bddd3a7b800f83.tar.gz
ports-3921a1c2c068444abeee4f4674bddd3a7b800f83.zip
Notes
Diffstat (limited to 'textproc/pecl-ctemplate')
-rw-r--r--textproc/pecl-ctemplate/Makefile2
-rw-r--r--textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt15
2 files changed, 16 insertions, 1 deletions
diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile
index 447ac76c148c..85e57458cdee 100644
--- a/textproc/pecl-ctemplate/Makefile
+++ b/textproc/pecl-ctemplate/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cTemplate
PORTVERSION= 1.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc pear
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= vanilla
diff --git a/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt b/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt
new file mode 100644
index 000000000000..63813321348b
--- /dev/null
+++ b/textproc/pecl-ctemplate/files/patch-template_WriteHeaderEntries.phpt
@@ -0,0 +1,15 @@
+--- tests/template_WriteHeaderEntries.phpt.orig 2011-09-05 11:27:46.000000000 +0800
++++ tests/template_WriteHeaderEntries.phpt 2011-09-05 11:28:15.000000000 +0800
+@@ -10,8 +10,8 @@ echo $tpl->WriteHeaderEntries();
+ ===DONE===
+ --EXPECTF--
+ #include <ctemplate/template_string.h>
+-static const StaticTemplateString ke_NAME = STS_INIT_WITH_HASH(ke_NAME, "NAME", 11433977280339851189LLU);
+-static const StaticTemplateString ke_VALUE = STS_INIT_WITH_HASH(ke_VALUE, "VALUE", 3571384048577261229LLU);
+-static const StaticTemplateString ke_IN_CA = STS_INIT_WITH_HASH(ke_IN_CA, "IN_CA", 15931064057564334051LLU);
+-static const StaticTemplateString ke_TAXED_VALUE = STS_INIT_WITH_HASH(ke_TAXED_VALUE, "TAXED_VALUE", 10685086013714446631LLU);
++static const ::ctemplate::StaticTemplateString ke_NAME = STS_INIT_WITH_HASH(ke_NAME, "NAME", 11433977280339851189LLU);
++static const ::ctemplate::StaticTemplateString ke_VALUE = STS_INIT_WITH_HASH(ke_VALUE, "VALUE", 3571384048577261229LLU);
++static const ::ctemplate::StaticTemplateString ke_IN_CA = STS_INIT_WITH_HASH(ke_IN_CA, "IN_CA", 15931064057564334051LLU);
++static const ::ctemplate::StaticTemplateString ke_TAXED_VALUE = STS_INIT_WITH_HASH(ke_TAXED_VALUE, "TAXED_VALUE", 10685086013714446631LLU);
+ ===DONE===