mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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>
This commit is contained in:
committed by
Arthur Zamarin
parent
08b9268150
commit
e543afc2c1
@@ -28,10 +28,6 @@ kde-misc/krunner-vscodeprojects
|
||||
# would require a patch to get past the configure step
|
||||
net-fs/openafs
|
||||
|
||||
# Sam James <sam@gentoo.org> (2024-11-19)
|
||||
# Not ported to musl (bug #717252, bug #938613)
|
||||
sys-apps/dog
|
||||
|
||||
# Robert Siebeck <gentoo.2019@r123.de> (2024-10-30)
|
||||
# musl not supported by upstream
|
||||
app-editors/zed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -18,6 +18,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PV}-manpage-touchup.patch
|
||||
"${FILESDIR}"/${P}-64bit-goodness.patch
|
||||
"${FILESDIR}"/${P}-strfry.patch
|
||||
"${FILESDIR}"/${P}-musl-strfry-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
15
sys-apps/dog/files/dog-1.7-musl-strfry-fix.patch
Normal file
15
sys-apps/dog/files/dog-1.7-musl-strfry-fix.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user