From 11a286887357e1c3bef5256caefc98db4347f435 Mon Sep 17 00:00:00 2001 From: day0n Date: Wed, 7 Dec 2022 03:48:19 +0000 Subject: [PATCH 1/2] fix build error --- debian/changelog | 6 ++++++ debian/patches/fix-build-error.patch | 13 +++++++++++++ debian/patches/series | 1 + 3 files changed, 20 insertions(+) create mode 100644 debian/patches/fix-build-error.patch diff --git a/debian/changelog b/debian/changelog index dddb3fe..71528c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +kmailtransport (21.08.1-1.1-deepin1) unstable; urgency=medium + + * fix-build-error + + -- ZhengJie-Niu- Wed, 07 Dec 2022 03:39:30 +0000 + kmailtransport (21.08.1-1) unstable; urgency=medium [ Norbert Preining ] diff --git a/debian/patches/fix-build-error.patch b/debian/patches/fix-build-error.patch new file mode 100644 index 0000000..ba4207a --- /dev/null +++ b/debian/patches/fix-build-error.patch @@ -0,0 +1,13 @@ +Separate the declaration specifier from the standard property, and the standard attribute must come after the declaration specifier. +--- a/src/kmailtransport/transport.h ++++ b/src/kmailtransport/transport.h +@@ -95,8 +95,7 @@ + + @since 4.5 + */ +- static Q_REQUIRED_RESULT QString authenticationTypeString(int type); +- ++ Q_REQUIRED_RESULT static QString authenticationTypeString(int type); + /** + Returns a deep copy of this Transport object which will no longer be + automatically updated. Use this if you need to store a Transport object diff --git a/debian/patches/series b/debian/patches/series index c2cbeb4..c19e1f6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ make_libgapi_optional.patch +fix-build-error.patch From eacfd105aa61c3ca2b1b083ba43217fd4e1d1dc0 Mon Sep 17 00:00:00 2001 From: niuzj Date: Sat, 10 Dec 2022 00:19:21 +0800 Subject: [PATCH 2/2] chang log version --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 71528c8..0642b71 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -kmailtransport (21.08.1-1.1-deepin1) unstable; urgency=medium +kmailtransport (21.08.1.1-deepin1) unstable; urgency=medium * fix-build-error