diff --git a/0001-feat-add-include-QPainterPath.patch b/0001-feat-add-include-QPainterPath.patch new file mode 100644 index 0000000000000000000000000000000000000000..3b2fd58b6ab3b439fd83391a4013bb5662ff54ac --- /dev/null +++ b/0001-feat-add-include-QPainterPath.patch @@ -0,0 +1,39 @@ +From 95f2520afea8ec1f27cfb96b95fa4d67bcb93a5e Mon Sep 17 00:00:00 2001 +From: leeffo +Date: Fri, 10 Feb 2023 10:55:23 +0800 +Subject: [PATCH] feat: add include QPainterPath + +--- + src/view/widget/search_button.cpp | 2 ++ + src/view/widget/search_completion_delegate.cpp | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/src/view/widget/search_button.cpp b/src/view/widget/search_button.cpp +index 94081d4..4f64755 100644 +--- a/src/view/widget/search_button.cpp ++++ b/src/view/widget/search_button.cpp +@@ -29,6 +29,8 @@ + + #include + ++#include ++ + DWIDGET_USE_NAMESPACE + + namespace dman { +diff --git a/src/view/widget/search_completion_delegate.cpp b/src/view/widget/search_completion_delegate.cpp +index 2cdd0ac..d2ae1d9 100644 +--- a/src/view/widget/search_completion_delegate.cpp ++++ b/src/view/widget/search_completion_delegate.cpp +@@ -8,6 +8,8 @@ + #include + #include + ++#include ++ + SearchCompletionDelegate::SearchCompletionDelegate(QAbstractItemView *parent) + :DStyledItemDelegate(parent) + , m_parentView(parent) +-- +2.20.1 + diff --git a/deepin-manual.spec b/deepin-manual.spec index 7e4869c7ca25f84f6e51541738e93bd73699329e..e880817e85683e776a063f3185c0bf1a935e21cc 100644 --- a/deepin-manual.spec +++ b/deepin-manual.spec @@ -3,12 +3,14 @@ %global _unpackaged_files_terminate_build 0 Name: deepin-manual Version: 5.6.7 -Release: 6 +Release: 7 Summary: Manual is designed to help users learn the operating system and its applications, providing specific instructions and function descriptions. License: GPLv3 URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-manual/ Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch9000: 0001-feat-add-include-QPainterPath.patch + BuildRequires: cmake BuildRequires: dtkcore-devel BuildRequires: dtkwidget-devel @@ -26,7 +28,8 @@ Manual is designed to help users learn the operating system and its applications %prep -%setup +%setup -q +%patch9000 -p1 %build export PATH=$PATH:/usr/lib64/qt5/bin @@ -56,6 +59,9 @@ export PATH=$PATH:/usr/lib64/qt5/bin %changelog +* Fri Feb 10 2023 liweiganga - 5.6.7-7 +- feat: fix compile fail + * Thu Sep 3 2020 weidong - 5.6.7-6 - fix source url in spec