gentoo-ebuilds/sys-apps/dog/files/dog-1.7-musl-strfry-fix.patch
Brahmajit Das e543afc2c1
sys-apps/dog: Fix implicit declaration of function strfry
[arthurzam]: undo revbump since this is build only issue

Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Bug: https://bugs.gentoo.org/717252
Bug: https://bugs.gentoo.org/938613
Closes: https://github.com/gentoo/gentoo/pull/38355
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-03-29 20:44:43 +03:00

15 lines
243 B
Diff

See bug #938613
--- a/dog.c
+++ b/dog.c
@@ -77,9 +77,11 @@
#endif
#if ALLOW_LINUX_EXTENSIONS
+#if defined(__GLIBC__)
#define ALLOW_STRFRY 1
extern char *strfry __P ((char *__string));
#else
+#endif
#define ALLOW_STRFRY 0
#endif