imgbrd-grabber: Fix build error with current Qt6 (#413051)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-05 19:19:09 +02:00 committed by GitHub
commit d3d2d80a21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diffsrc/cli/vendor/qcommandlinecommandparser/qcommandlinecommandparser.cpp b/src/cli/vendor/qcommandlinecommandparser/qcommandlinecommandparser.cpp
index 0742cac1..da820e94 100644
--- src/cli/vendor/qcommandlinecommandparser/qcommandlinecommandparser.cpp
+++ src/cli/vendor/qcommandlinecommandparser/qcommandlinecommandparser.cpp
@@ -1,5 +1,6 @@
#include "qcommandlinecommandparser.h"
#include <QString>
+#include <QDebug>
#include "vendor.h"
Q_CORE_EXPORT void qt_call_post_routines();

View file

@ -57,6 +57,10 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs ../scripts/package.sh
'';
patches = [
./fix-for-qt6.patch
];
postPatch = ''
# ensure the script uses the rsync package from nixpkgs