summaryrefslogtreecommitdiff
path: root/dev-libs/kreport/files/kreport-3.2.0-gcc12.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-libs/kreport/files/kreport-3.2.0-gcc12.patch
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-libs/kreport/files/kreport-3.2.0-gcc12.patch')
-rw-r--r--dev-libs/kreport/files/kreport-3.2.0-gcc12.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/kreport/files/kreport-3.2.0-gcc12.patch b/dev-libs/kreport/files/kreport-3.2.0-gcc12.patch
new file mode 100644
index 000000000000..ce48a27f1dc3
--- /dev/null
+++ b/dev-libs/kreport/files/kreport-3.2.0-gcc12.patch
@@ -0,0 +1,26 @@
+From 4b4b94f0bafcb49cefb1e453edd04a46d6ceacce Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= <omerusta@gmail.com>
+Date: Thu, 12 May 2022 05:01:48 +0000
+Subject: [PATCH] Fix build with GCC 12 (standard attributes in middle of
+ decl-specifiers)
+
+---
+ src/common/KReportDataSource.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/common/KReportDataSource.h b/src/common/KReportDataSource.h
+index 89490b47..0e45b644 100644
+--- a/src/common/KReportDataSource.h
++++ b/src/common/KReportDataSource.h
+@@ -124,7 +124,7 @@ public:
+ //! Creates a new instance with data source. Default implementation returns @c nullptr.
+ //! @a source is implementation-specific identifier.
+ //! Owner of the returned pointer is the caller.
+- virtual Q_REQUIRED_RESULT KReportDataSource* create(const QString &source) const;
++ Q_REQUIRED_RESULT virtual KReportDataSource* create(const QString &source) const;
+
+ private:
+ Q_DISABLE_COPY(KReportDataSource)
+--
+GitLab
+