Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 856 by [email protected]: ibus-pinyin portability fix (strnlen and uuid_* functions)
http://code.google.com/p/ibus/issues/detail?id=856 What version of the product are you using? On what operating system? OS (Linux distributions, UNIX or ...): NetBSD-5.0.2, SSD/Linux-0.4 Architecture (i386, x86_64): i386 IBus version: 1.3.1 Input method name and version: ibus-pinyin-1.3.2 Python version: 2.6.4 dbus version: 1.2.4.6 dbus-python version: 0.83.0 gtk version (if bug is about gtk applications): N/A qt version (if bug is about qt applications): N/A What steps will reproduce the problem? 1. strnlen(3) is GNU extension (NetBSD does not have it) 2. SSD/Linux-0.4 (and MacOS X 10.4) have uuid, but not uuid.pc. 3. NetBSD have other uuid functions implementation, usable with ibus- pinyin. What is the expected output? What do you see instead? Currently, failed to configure on NetBSD-5.0.2 and SSD/Linux-0.4 due to lack of uuid.pc, and failed to build on NetBSD-5.0.2 because of lack of strnlen(3). Please provide any additional information below. Attached patches are proposed for ibus-pinyin-1.3.2. Build fine for me on NetBSD-5.0.2 and SSD/Linux-0.4. Attachments: patch-ab 1.1 KB patch-ad 503 bytes patch-ae 867 bytes -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "ibus-devel" group. iBus project web page: http://code.google.com/p/ibus/ iBus dev group: http://groups.google.com/group/ibus-devel?hl=en To unsubscribe, reply using "remove me" as the subject.
