package/libid3tag: needs autoreconf
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 25 Nov 2018 14:45:14 +0000 (15:45 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 27 Nov 2018 22:27:46 +0000 (23:27 +0100)
commit43274dd3e0daa3de09d32828e63e6608e8db1e5b
tree0779e9347648a2865dfe3184c2ea2a9a592ec710
parent83d19028126ffcad91913dd62d862809f743fd64
package/libid3tag: needs autoreconf

libid3tag uses a very old configure script.

When the toolchain lacks C++ and the build machine lacks /lib/cpp, this
old configure script fails because it can't find a C++ preprocessor that
is valid:

    checking for arm-buildroot-linux-uclibcgnueabi-g++... no
    checking whether we are using the GNU C++ compiler... no
    checking whether no accepts -g... no
    checking dependency style of no... none
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

This is yet another case that was tentatively fixed by bd39d11d2e
(core/infra: fix build on toolchain without C++), further amended by
4cd1ab15886 (core: alternate solution to disable C++).

However, this only works on libtool scripts that are recent enough, and
thus we need to autoreconf to get it.

We also need to patch configure.ac so that it does not fail on the
missing, GNU-specific files: NEWS, AUTHORS, and Changelog.

Fixes:
    http://autobuild.buildroot.org/results/ac3/ac3870208aab6001db6b790b6c5dde64d08f7669/
    http://autobuild.buildroot.org/results/cc1/cc18397f38dfd4f1e6605f7a6f58edab49b396ac/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libid3tag/0001-configure-automake-foreign.patch [new file with mode: 0644]
package/libid3tag/libid3tag.mk