Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 788096 Details for
Bug 836705
net-libs/libssh-0.9.6 fails to compile: cmdline.c:(.text+0x55): undefined reference to argp_parse
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
net-libs/libssh: fix musl build with USE="test"
libssh-0.9.6.ebuild.patch (text/plain), 1.42 KB, created by
CFuga
on 2022-06-27 19:30:45 UTC
(
hide
)
Description:
net-libs/libssh: fix musl build with USE="test"
Filename:
MIME Type:
Creator:
CFuga
Created:
2022-06-27 19:30:45 UTC
Size:
1.42 KB
patch
obsolete
>From 10754a1c08130457f1c6ce9c4cfd040ace2c2a5c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Cristian=20Oth=C3=B3n=20Mart=C3=ADnez=20Vera?= > <cfuga@cfuga.mx> >Date: Mon, 27 Jun 2022 14:23:26 -0500 >Subject: [PATCH] net-libs/libssh: fix musl build with USE="test" >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >* add sys-libs/argp-standalone as dependency >* force cmake to lookup for the argp library > >Signed-off-by: Cristian Othón MartÃnez Vera <cfuga@cfuga.mx> >Bug: https://bugs.gentoo.org/836705 >--- > net-libs/libssh/libssh-0.9.6.ebuild | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/net-libs/libssh/libssh-0.9.6.ebuild b/net-libs/libssh/libssh-0.9.6.ebuild >index 5bfd45be2d1..69687cdb9a4 100644 >--- a/net-libs/libssh/libssh-0.9.6.ebuild >+++ b/net-libs/libssh/libssh-0.9.6.ebuild >@@ -39,7 +39,9 @@ RDEPEND=" > zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) > " > DEPEND="${RDEPEND} >- test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] ) >+ test? ( >+ >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] >+ elibc_musl? ( sys-libs/argp-standalone ) ) > " > > DOCS=( AUTHORS README ChangeLog ) >@@ -66,6 +68,11 @@ src_prepare() { > > sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \ > -i ConfigureChecks.cmake || die >+ >+ if use test && use elibc_musl; then >+ sed -e "/SOLARIS/d" \ >+ -i tests/CMakeLists.txt || die >+ fi > } > > multilib_src_configure() { >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 836705
:
768613
| 788096