diff --git a/debian/changelog b/debian/changelog index aab0b6b..de1aabb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +akonadi-contacts (4:21.08.1-2deepin1) unstable; urgency=medium + + * Fix build problems with GCC 12 + + -- Clansty Wed, 11 Jan 2023 19:42:37 +0800 + akonadi-contacts (4:21.08.1-1-deepin1) unstable; urgency=medium * Rebuild diff --git a/debian/patches/fix-gcc12.patch b/debian/patches/fix-gcc12.patch new file mode 100644 index 0000000..ebabb3b --- /dev/null +++ b/debian/patches/fix-gcc12.patch @@ -0,0 +1,14 @@ +Description: Fix build problems with GCC 12 +Author: Clansty + +--- akonadi-contacts-21.08.1.orig/src/contact-editor/abstractcontacteditorwidget_p.h ++++ akonadi-contacts-21.08.1/src/contact-editor/abstractcontacteditorwidget_p.h +@@ -54,7 +54,7 @@ public: + */ + virtual void setReadOnly(bool readOnly) = 0; + +- virtual Q_REQUIRED_RESULT bool hasNoSavedData() const ++ Q_REQUIRED_RESULT virtual bool hasNoSavedData() const + { + return false; + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..af03f19 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-gcc12.patch