Unverified Commit d3d2d80a authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

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

parents 02abef53 6d7e0c08
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
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();
+4 −0
Original line number Diff line number Diff line
@@ -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