[DRE-maint] Bug#898039: ruby-ncurses: should link with -lmenuw, not -lmenu

Sven Joachim svenjoac at gmx.de
Sun May 6 11:03:14 BST 2018


Control: tags -1 + patch

On 2018-05-06 09:44 +0200, Sven Joachim wrote:

> Source: ruby-ncurses
> Version:  1.4.9-1
> Tags: upstream
>
> The configure script for ruby-ncurses apparently does not check for the
> menuw library shipped in libncursesw6, but only for the menu library in
> libncurses6.  This is the relevant excerpt from the build log[1}:
>
> ,----
> | checking for the menu library...
> | checking for menu.h... yes
> | checking for new_menu() in -lmenu... yes
> `----
>
> And later it links with -lmenu, causing ruby-ncurses to depend on both
> libncurses6 and libncursesw6.

The attached patch does the trick, it should be applied upstream as
well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Link-against-menuw.patch
Type: text/x-diff
Size: 617 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20180506/3d6fdff7/attachment.patch>


More information about the Pkg-ruby-extras-maintainers mailing list