commit: 2e32d32fe99e441a785f0399daf4f23651587310 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Mon Mar 31 07:36:32 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Mar 31 07:39:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e32d32f
net-misc/nextcloud-client: define _LARGEFILE64_SOURCE on musl As per musl porting [1], we now define _LARGEFILE64_SOURCE to fix a compilation error when using musl. 1: https://wiki.gentoo.org/wiki/Musl_porting_notes#error:_LFS64_interfaces_.28.2A64_undeclared_here.2C_ex._pread64.29 Closes: https://bugs.gentoo.org/924503 Link: https://github.com/nextcloud/desktop/issues/6536 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> net-misc/nextcloud-client/nextcloud-client-3.16.2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-misc/nextcloud-client/nextcloud-client-3.16.2.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.16.2.ebuild index f63380293af0..01ae2d85639d 100644 --- a/net-misc/nextcloud-client/nextcloud-client-3.16.2.ebuild +++ b/net-misc/nextcloud-client/nextcloud-client-3.16.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake qmake-utils virtualx xdg +inherit cmake flag-o-matic qmake-utils virtualx xdg DESCRIPTION="Desktop Syncing Client for Nextcloud" HOMEPAGE="https://github.com/nextcloud/desktop" @@ -79,6 +79,12 @@ src_prepare() { } src_configure() { + # Temporary workaround for musl-1.2.4 + # upstream bug: https://github.com/nextcloud/desktop/issues/6536 + # gentoo bug #924503 + # XXX: This will stop working with future musl releases! + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + local mycmakeargs=( -DPLUGINDIR=$(qt6_get_plugindir) -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
