Package: btop / 1.4.6-2

Metadata

Package Version Patches format
btop 1.4.6-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ftbfs printf string error in info target.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix printf format string error in info target

The build fails on Launchpad because the Makefile's info target uses
`printf` with unescaped `%` characters from the OLDCXX and OLDLD
variables. These are interpreted as invalid format specifiers.

Change the printf calls to use `%s` format specifiers for the variables
instead of embedding them directly in the format string.

Fixes:

    DGPU_SUPPORT
    CXXFLAGS     | (REQFLAGS...
    /bin/sh: 13: printf: %7B: invalid directive
    LDFLAGS      | (LDCXXFLAGS...
    make[1]: *** [Makefile:229: info] Error 2