Index: head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py2.cpp =================================================================== --- head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py2.cpp (nonexistent) +++ head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py2.cpp (revision 462791) @@ -0,0 +1,27 @@ +--- pyctpp2/_pyctpp2_py2.cpp.orig 2012-01-19 08:46:23 UTC ++++ pyctpp2/_pyctpp2_py2.cpp +@@ -4471,7 +4471,7 @@ static void __Pyx_RaiseArgtupleInvalid( + more_or_less = "exactly"; + } + PyErr_Format(PyExc_TypeError, +- "%s() takes %s %"PY_FORMAT_SIZE_T"d positional argument%s (%"PY_FORMAT_SIZE_T"d given)", ++ "%s() takes %s %" PY_FORMAT_SIZE_T "d positional argument%s (%" PY_FORMAT_SIZE_T "d given)", + func_name, more_or_less, num_expected, + (num_expected == 1) ? "" : "s", num_found); + } +@@ -4682,13 +4682,13 @@ bad: + + static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { + PyErr_Format(PyExc_ValueError, +- "need more than %"PY_FORMAT_SIZE_T"d value%s to unpack", ++ "need more than %" PY_FORMAT_SIZE_T "d value%s to unpack", + index, (index == 1) ? "" : "s"); + } + + static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { + PyErr_Format(PyExc_ValueError, +- "too many values to unpack (expected %"PY_FORMAT_SIZE_T"d)", expected); ++ "too many values to unpack (expected %" PY_FORMAT_SIZE_T "d)", expected); + } + + static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { Property changes on: head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py2.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py3.cpp =================================================================== --- head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py3.cpp (nonexistent) +++ head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py3.cpp (revision 462791) @@ -0,0 +1,27 @@ +--- pyctpp2/_pyctpp2_py3.cpp.orig 2012-01-19 08:46:23 UTC ++++ pyctpp2/_pyctpp2_py3.cpp +@@ -4551,7 +4551,7 @@ static void __Pyx_RaiseArgtupleInvalid( + more_or_less = "exactly"; + } + PyErr_Format(PyExc_TypeError, +- "%s() takes %s %"PY_FORMAT_SIZE_T"d positional argument%s (%"PY_FORMAT_SIZE_T"d given)", ++ "%s() takes %s %" PY_FORMAT_SIZE_T "d positional argument%s (%" PY_FORMAT_SIZE_T "d given)", + func_name, more_or_less, num_expected, + (num_expected == 1) ? "" : "s", num_found); + } +@@ -4762,13 +4762,13 @@ bad: + + static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { + PyErr_Format(PyExc_ValueError, +- "need more than %"PY_FORMAT_SIZE_T"d value%s to unpack", ++ "need more than %" PY_FORMAT_SIZE_T "d value%s to unpack", + index, (index == 1) ? "" : "s"); + } + + static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { + PyErr_Format(PyExc_ValueError, +- "too many values to unpack (expected %"PY_FORMAT_SIZE_T"d)", expected); ++ "too many values to unpack (expected %" PY_FORMAT_SIZE_T "d)", expected); + } + + static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { Property changes on: head/textproc/py-pyctpp2/files/patch-pyctpp2___pyctpp2__py3.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/py-pyctpp2/files/patch-pyctpp2_cengine.cc =================================================================== --- head/textproc/py-pyctpp2/files/patch-pyctpp2_cengine.cc (nonexistent) +++ head/textproc/py-pyctpp2/files/patch-pyctpp2_cengine.cc (revision 462791) @@ -0,0 +1,34 @@ +--- pyctpp2/cengine.cc.orig 2012-01-19 08:46:23 UTC ++++ pyctpp2/cengine.cc +@@ -151,13 +151,13 @@ bool CEngine::Parse(const char *filename, CTemplate ** + string line; + string pos; + +- int res = snprintf(buf, len, "%"PRIu32, static_cast(e.GetLine())); ++ int res = snprintf(buf, len, "%" PRIu32, static_cast(e.GetLine())); + if (!(res < 0 || static_cast(res) == len)) { + line = string(buf); + } + + memset(buf, 0, len); +- res = snprintf(buf, len, "%"PRIu32, static_cast(e.GetLinePos())); ++ res = snprintf(buf, len, "%" PRIu32, static_cast(e.GetLinePos())); + if (!(res < 0 || static_cast(res) == len)) { + pos = string(buf); + } +@@ -198,13 +198,13 @@ bool CEngine::ParseText(const char *text, CTemplate ** + string line; + string pos; + +- int res = snprintf(buf, len, "%"PRIu32, static_cast(e.GetLine())); ++ int res = snprintf(buf, len, "%" PRIu32, static_cast(e.GetLine())); + if (!(res < 0 || static_cast(res) == len)) { + line = string(buf); + } + + memset(buf, 0, len); +- res = snprintf(buf, len, "%"PRIu32, static_cast(e.GetLinePos())); ++ res = snprintf(buf, len, "%" PRIu32, static_cast(e.GetLinePos())); + if (!(res < 0 || static_cast(res) == len)) { + pos = string(buf); + } Property changes on: head/textproc/py-pyctpp2/files/patch-pyctpp2_cengine.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property