From 9172e2828f29d1c6de3997ab7b0246bf351d33d7 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 16 Jul 2019 13:54:09 -0700 Subject: [PATCH] gddrescue: Do not build with uClibc-ng From the developer: It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as macros and not including them in std. IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the C++ standard), because even the C functions that are alowed to be defined as macros (putc, getc) should be included in std for consistency. Just imagine the chaos if std::getc were defined or undefined depending on how it is implemented. Signed-off-by: Rosen Penev --- utils/gddrescue/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gddrescue/Makefile b/utils/gddrescue/Makefile index 230a1feeb..527fca23b 100644 --- a/utils/gddrescue/Makefile +++ b/utils/gddrescue/Makefile @@ -27,7 +27,7 @@ define Package/gddrescue CATEGORY:=Utilities TITLE:=Data recovery tool URL:=https://www.gnu.org/software/ddrescue/ - DEPENDS:=$(CXX_DEPENDS) + DEPENDS:=$(CXX_DEPENDS) @!USE_UCLIBC endef define Package/gddrescue/description