uClibc++: Fix three bugs
authorRosen Penev <rosenp@gmail.com>
Mon, 7 Oct 2019 22:59:52 +0000 (15:59 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Oct 2019 21:43:08 +0000 (23:43 +0200)
commit6ab386c9bc23420816fbcefc84b62cf5438b2c66
treefa009cdf75a4dc6a0165d5d950f2948a2db5604e
parentc5829788c955efc9c52f8a740987e362cacd95d8
uClibc++: Fix three bugs

The first allows usage of several functions in the std namespace, which
broke compilation of gddrescue specifically with uClibc-ng and uClibc++.

The second allows usage of long long with normal C++11, which is part of
the standard. Before, std=gnu++11 needed to be passsed to work around it.

As a result of the second patch, the pedantic patch can safely be removed.

Both patches are upstream backports.

Added -std=c++11 to CFLAGS to guarentee proper inclusion of long long.

Added another patch that fixes a typo with the long long support. Sent to
upstream.

Fixed up license information according to SPDX.

Small cleanups for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/libs/uclibc++/Makefile
package/libs/uclibc++/patches/002-undef-functions.patch [new file with mode: 0644]
package/libs/uclibc++/patches/003-no-fPIC.patch
package/libs/uclibc++/patches/004-no-pedantic.patch [deleted file]
package/libs/uclibc++/patches/004-uClibc-Make-long-long-available-to-C-11.patch [new file with mode: 0644]
package/libs/uclibc++/patches/005-istream_helpers-Fix-sscanf-typo.patch [new file with mode: 0644]