diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2015-09-30 02:21:05 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2015-09-30 02:21:05 +0000 |
commit | 8ece8ae51e4d5b70a4efe20f803f96a3497489ab (patch) | |
tree | c392f940242d68f552f9263c7f3e4f557d0ce60e /textproc | |
parent | c37189b95156179b48d5292e6d115dd4ba27bfff (diff) |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ctemplate/files/patch-src__ctemplate__template_string.h.in | 11 | ||||
-rw-r--r-- | textproc/ctemplate/files/patch-src__template_dictionary.cc | 11 | ||||
-rw-r--r-- | textproc/ctemplate/files/patch-src_base_small__map.h (renamed from textproc/ctemplate/files/patch-small_map.h) | 4 |
3 files changed, 2 insertions, 24 deletions
diff --git a/textproc/ctemplate/files/patch-src__ctemplate__template_string.h.in b/textproc/ctemplate/files/patch-src__ctemplate__template_string.h.in deleted file mode 100644 index ac1f89a75d57..000000000000 --- a/textproc/ctemplate/files/patch-src__ctemplate__template_string.h.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/ctemplate/template_string.h.in.orig 2014-08-26 12:35:28.229739993 -0400 -+++ ./src/ctemplate/template_string.h.in 2014-08-26 12:35:50.132984993 -0400 -@@ -337,7 +337,7 @@ - - // Don't use this. This is used only in auto-generated .varnames.h files. - #define STS_INIT_WITH_HASH(name, str, hash) \ -- { { str, sizeof(""str"")-1, hash } }; \ -+ { { str, sizeof("" str "")-1, hash } }; \ - namespace ctemplate_sts_init { \ - static const @ac_google_namespace@::StaticTemplateStringInitializer name##_init(&name); \ - } diff --git a/textproc/ctemplate/files/patch-src__template_dictionary.cc b/textproc/ctemplate/files/patch-src__template_dictionary.cc deleted file mode 100644 index 9f04884d07c6..000000000000 --- a/textproc/ctemplate/files/patch-src__template_dictionary.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/template_dictionary.cc.orig 2014-08-26 12:36:15.829733992 -0400 -+++ ./src/template_dictionary.cc 2014-08-26 12:36:37.238772992 -0400 -@@ -861,7 +861,7 @@ - - string GetDictNum(size_t index, size_t size) const { - char buf[64]; // big enough for two ints -- snprintf(buf, sizeof(buf), "%" PRIuS" of %" PRIuS, index, size); -+ snprintf(buf, sizeof(buf), "%" PRIuS " of %" PRIuS, index, size); - return buf; - } - diff --git a/textproc/ctemplate/files/patch-small_map.h b/textproc/ctemplate/files/patch-src_base_small__map.h index 8bce6353ee72..4f9352bbda37 100644 --- a/textproc/ctemplate/files/patch-small_map.h +++ b/textproc/ctemplate/files/patch-src_base_small__map.h @@ -1,5 +1,5 @@ ---- src/base/small_map.h.orig 2012-02-02 16:18:30.000000000 +0800 -+++ src/base/small_map.h 2012-02-02 16:18:47.000000000 +0800 +--- src/base/small_map.h.orig 2014-03-19 19:34:51 UTC ++++ src/base/small_map.h @@ -52,6 +52,8 @@ #include <assert.h> #include <utility> // for make_pair() |