[Webkit-unassigned] [Bug 176877] New: [webkitgtk-2.18.0] Build failure with enchant-2.1.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 13 15:19:36 PDT 2017


            Bug ID: 176877
           Summary: [webkitgtk-2.18.0] Build failure with enchant-2.1.1
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: krejzi at email.com
                CC: bugs-noreply at webkitgtk.org

Enchant-2.1.1 was recently released and it removed some deprecated APIs which WebKitGtk is still using. Trying to build WebKitGtk-2.18.0 against Enchant-2.1.1 results in following error:

/home/armin/src/pacman/pkgbuild/webkitgtk/src/webkitgtk-2.18.0/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp:132:9: error: use of undeclared identifier 'enchant_dict_free_suggestions'
        enchant_dict_free_suggestions(dictionary, suggestions);

Refer to commit [1] for details.

Easy bug fix (taken from [1]):

sed -i "s#enchant_dict_free_suggestions#enchant_dict_free_string_list#g" Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp

[1] https://github.com/AbiWord/enchant/commit/744a1a19c1d0a5c3e1359fa994cf60a4d98ee12e

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170913/ec101260/attachment-0001.html>

More information about the webkit-unassigned mailing list