diff --git a/debian/changelog b/debian/changelog index b960612..f4d6bde 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ qt6-base (6.2.2+dfsg-4) UNRELEASED; urgency=medium + [ Pino Toscano ] + * Backport upstream commit 06e7b5168e269f913f03ecb9d77fc82db4d9dfd6 to enable + LFS on Hurd; patch upstream_Hurd-enable-XOPEN-largefile-APIs.patch. -- Debian Qt/KDE Maintainers Thu, 10 Feb 2022 07:33:31 +0100 diff --git a/debian/patches/series b/debian/patches/series index dc8eb5b..3b9532d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,6 +4,7 @@ upstream_QStorageInfo-limit-Linux-only-code-with-Q_OS_LINUX.patch # fixed in 4.4 upstream_CMake-add-support-for-GNU-Hurd.patch upstream_QProcess-Unix-fallback-on-_POSIX_PIPE_BUF-w-missing-.patch +upstream_Hurd-enable-XOPEN-largefile-APIs.patch # Debian specific remove_privacy_breaches.diff diff --git a/debian/patches/upstream_Hurd-enable-XOPEN-largefile-APIs.patch b/debian/patches/upstream_Hurd-enable-XOPEN-largefile-APIs.patch new file mode 100644 index 0000000..cb09c3a --- /dev/null +++ b/debian/patches/upstream_Hurd-enable-XOPEN-largefile-APIs.patch @@ -0,0 +1,31 @@ +From 06e7b5168e269f913f03ecb9d77fc82db4d9dfd6 Mon Sep 17 00:00:00 2001 +From: Pino Toscano +Date: Mon, 31 Jan 2022 21:36:59 +0100 +Subject: [PATCH] Hurd: enable XOPEN largefile APIs +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Hurd supports largefile, so enable it also in Qt. + +Change-Id: I8384ca2cb5c6250376916b6a890e1a873c0a0e96 +Reviewed-by: Jörg Bornemann +--- + mkspecs/hurd-g++/qplatformdefs.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h +index b1887aae7f..c6d35e0ac5 100644 +--- a/mkspecs/hurd-g++/qplatformdefs.h ++++ b/mkspecs/hurd-g++/qplatformdefs.h +@@ -78,6 +78,7 @@ + #include + #include + ++#define QT_USE_XOPEN_LFS_EXTENSIONS + #include "../common/posix/qplatformdefs.h" + + #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) +-- +2.34.1 +