Comment 5 for bug 1775673

Revision history for this message
Iain Parris (ipv2) wrote : Re: ruby-ncurses is broken in ubuntu 18.04

This is a debdiff for Ubuntu 18.04 (bionic) applicable to ruby-ncurses 1.4.9-1build3. I built this in pbuilder and it builds successfully. I installed it, the patch works as intended.

To reproduce the bug (100% reproducible), install package ruby-ncurses on bionic, then:
    ruby -e 'require "ncurses"'
    # Original 1.4.9-1build3: LoadError (... "ncursesw_bin.so: undefined symbol: set_menu_win" ...)
    # After this debdiff: success

Bug is only present in bionic (i.e., no patch required on xenial, eoan, focal; no patch required on Debian).

Credit to Georg Müller for key idea in the patch (link against libmenuw). (Comment above, <https://bugs.launchpad.net/ubuntu/+source/ruby-ncurses/+bug/1775673/comments/2>)