gddrescue: Add uClibc-ng support
authorRosen Penev <rosenp@gmail.com>
Fri, 26 Jul 2019 02:22:31 +0000 (19:22 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 8 Aug 2019 17:27:05 +0000 (10:27 -0700)
commit18a8d8b64e29507bd427b491cab60319ca6c4edf
tree5cdd1ee8ada2cbc8c51721d114a111963ddf97c3
parentd0ef3bfa30c7bef7fb556f2e252e09d2fff46950
gddrescue: Add uClibc-ng support

It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.

libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d6af6a4d75bd520510aaf2ef97b89024b427cac3)
utils/gddrescue/Makefile
utils/gddrescue/patches/010-fix-uclibcxx.patch [new file with mode: 0644]