[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898131: fbb: xfbbC lost ncurses support after rebuild



Control: tags -1 + patch

On 2018-05-10 15:04 +0200, Daniele Forsi wrote:

> Package: fbb
> Version: 7.07-3
> Followup-For: Bug #898131
>
> That did not fix the problem because the macro doesn't search for
> ncurses if it has found ncursesw before.

Interesting that fbb is so far the only package in which this problem
has shown up, while there are quite a few users of the AX_WITH_CURSES
macro in Debian.  Do you have an explanation for that?

> A fix is simply passing --without-ncursesw to dh_auto_configure
> however AFAICT this package only includes curses.h, so look at the
> attached diff instead.
> The resulting binary is linked against libncurses, is that correct?

Yes.  And ncurses is _the_ curses implementation in Debian anyway, so I
would prefer to just pass --without-ncursesw to configure and leave the
rest alone.  Patch attached for completeness.

Thanks,
       Sven

diff -Nru fbb-7.07/debian/rules fbb-7.07/debian/rules
--- fbb-7.07/debian/rules	2015-05-09 15:53:21.000000000 +0200
+++ fbb-7.07/debian/rules	2018-05-11 16:22:47.000000000 +0200
@@ -2,3 +2,6 @@
 
 %:
 	dh $@ --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- --without-ncursesw

Reply to: