Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions srcpkgs/nextcloud-client/patches/cross.patch

This file was deleted.

12 changes: 9 additions & 3 deletions srcpkgs/nextcloud-client/patches/musl.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
--- a/src/common/utility.cpp
+++ b/src/common/utility.cpp
@@ -173,7 +173,7 @@ QByteArray Utility::friendlyUserAgentStr
@@ -173,12 +173,12 @@

qint64 Utility::freeDiskSpace(const QString &path)
{
-#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) || (defined(Q_OS_LINUX) && !defined(__GLIBC__))
-#if defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+#if defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) || (defined(Q_OS_UNIX) && !defined(__GLIBC__))
struct statvfs stat;
if (statvfs(path.toLocal8Bit().data(), &stat) == 0) {
return (qint64)stat.f_bavail * stat.f_frsize;
}
-#elif defined(Q_OS_UNIX)
+#elif defined(Q_OS_UNIX) && defined(__GLIBC__)
struct statvfs64 stat{};
if (statvfs64(path.toLocal8Bit().data(), &stat) == 0) {
return (qint64)stat.f_bavail * stat.f_frsize;
6 changes: 3 additions & 3 deletions srcpkgs/nextcloud-client/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'nextcloud-client'
pkgname=nextcloud-client
version=3.17.2
version=4.0.4
revision=1
build_style=cmake
configure_args="-DBUILD_UPDATER=NO -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
Expand All @@ -19,13 +19,13 @@ license="GPL-2.0-or-later"
homepage="https://nextcloud.com/clients/"
changelog="https://github.com/nextcloud/desktop/releases"
distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz"
checksum=c79c7e05ae3b141e2c4b19da0cde479b63af80eb49164c99af8fa28a38e05aeb
checksum=7254065a49b9a65cee172468624405f2fbbeedfa8c5238891786198f8f458c6c
# https://github.com/void-linux/void-packages/pull/33358#discussion_r724518549
make_check=ci-skip
replaces="nextcloud-client-kwallet>=0 nextcloud-client-dolphin>=0"

if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
[ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
configure_args+=" -DBUILD_WITH_WEBENGINE=ON"
makedepends+=" qt6-webengine-devel"
else
Expand Down
Loading