mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
imgbrd-grabber: Fix build error with current Qt6 (#413051)
This commit is contained in:
commit
d3d2d80a21
2 changed files with 15 additions and 0 deletions
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
|
patchShebangs ../scripts/package.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./fix-for-qt6.patch
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
||||||
# ensure the script uses the rsync package from nixpkgs
|
# ensure the script uses the rsync package from nixpkgs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue