zint: 2.11.1 -> 2.12.0

This commit is contained in:
Azat Bahawi 2023-02-08 22:15:29 +03:00
parent 09d38c4d14
commit 9a5395c476
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B
2 changed files with 2 additions and 16 deletions

View file

@ -12,17 +12,15 @@
stdenv.mkDerivation rec {
pname = "zint";
version = "2.11.1";
version = "2.12.0";
src = fetchFromGitHub {
owner = "zint";
repo = "zint";
rev = version;
sha256 = "sha256-ozhXy7ftmGz1XvmF8AS1ifWJ3Q5hLSsysB8qLUP60n8=";
hash = "sha256-Ay6smir6zUpadmw1WpU+F7e9t7Gk3JNVtf2VVu92bDk=";
};
patches = [ ./qobject.patch ];
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake wrapQtAppsHook ];

View file

@ -1,12 +0,0 @@
diff --git a/backend_qt/qzint.h b/backend_qt/qzint.h
index d57ab6a..62fb0a4 100644
--- a/backend_qt/qzint.h
+++ b/backend_qt/qzint.h
@@ -19,6 +19,7 @@
#ifndef QZINT_H
#define QZINT_H
+#include <QObject>
#include <QColor>
#include <QPainter>
#include "zint.h"