mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
imgbrd-grabber: Fix build error with current Qt6 (#413051)
This commit is contained in:
11
pkgs/by-name/im/imgbrd-grabber/fix-for-qt6.patch
Normal file
11
pkgs/by-name/im/imgbrd-grabber/fix-for-qt6.patch
Normal 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();
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user