gentoo-ebuilds/app-misc/bfr/files/bfr-1.6-musl-include.patch
NHOrus 4b45d6b26e
app-misc/bfr: Fix build issues on musl, with modern C
Corrects bool, adds missing include

Closes: https://bugs.gentoo.org/942415
Closes: https://bugs.gentoo.org/944302
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40696
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-22 23:47:23 +00:00

12 lines
311 B
Diff

Missing include for strcmp
https://bugs.gentoo.org/942415
--- a/getopt.c
+++ b/getopt.c
@@ -52,6 +52,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C