diff options
Diffstat (limited to 'inputmethod/scim-python/patches/patch-ac')
-rw-r--r-- | inputmethod/scim-python/patches/patch-ac | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/inputmethod/scim-python/patches/patch-ac b/inputmethod/scim-python/patches/patch-ac deleted file mode 100644 index 05e3c0554e8..00000000000 --- a/inputmethod/scim-python/patches/patch-ac +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2013/03/22 13:29:42 obache Exp $ - -* let to cast with appropriate type. - ---- src/scim-python-factory.cpp.orig 2008-07-11 04:16:15.000000000 +0000 -+++ src/scim-python-factory.cpp -@@ -130,18 +130,18 @@ PyIMEngineFactory::get_attr_unicode (cha - if (pValue) { - if (PyUnicode_Check (pValue)) { - #if Py_UNICODE_SIZE == 4 -- result = (wchar_t *)PyUnicode_AS_UNICODE (pValue); -+ result = (scim::ucs4_t *)PyUnicode_AS_UNICODE (pValue); - #else - gunichar *unistr = g_utf16_to_ucs4 (PyUnicode_AS_UNICODE (pValue), - PyUnicode_GET_SIZE (pValue), NULL, NULL, NULL); -- result = (wchar_t *) unistr; -+ result = WideString((scim::ucs4_t *)unistr); - g_free (unistr); - #endif - } - else if (PyString_Check (pValue)) { - gunichar *unistr = g_utf8_to_ucs4 (PyString_AsString (pValue), - PyString_GET_SIZE (pValue), NULL, NULL, NULL); -- result = (wchar_t *)unistr; -+ result = WideString((scim::ucs4_t *)unistr); - g_free (unistr); - } - Py_DECREF (pValue); |