[neon/backports-jammy/appstream-jammy2/Neon/unstable] debian/patches: patch to #include <optional>

Carlos De Maine null at kde.org
Fri Sep 29 01:19:44 BST 2023


Git commit 68587176ff97d7db6de366bae499303d977e9b16 by Carlos De Maine.
Committed on 29/09/2023 at 02:19.
Pushed by carlosdem into branch 'Neon/unstable'.

patch to #include <optional>

M  +12   -15   debian/patches/0001_qt.diff
M  +1    -1    debian/patches/series

https://invent.kde.org/neon/backports-jammy/appstream-jammy2/-/commit/68587176ff97d7db6de366bae499303d977e9b16

diff --git a/debian/patches/0001_qt.diff b/debian/patches/0001_qt.diff
index 031f152..c0f3b62 100644
--- a/debian/patches/0001_qt.diff
+++ b/debian/patches/0001_qt.diff
@@ -1,15 +1,12 @@
-diff --git a/qt/cmake/AppStreamQt5Config.cmake.in b/qt/cmake/AppStreamQt5Config.cmake.in
-index 0bef7e80..b1b40acc 100644
---- a/qt/cmake/AppStreamQt5Config.cmake.in
-+++ b/qt/cmake/AppStreamQt5Config.cmake.in
-@@ -28,8 +28,8 @@ macro(check_required_components _NAME)
-   endforeach()
- endmacro()
-
--add_library(AppStreamQt SHARED IMPORTED)
--set_target_properties(AppStreamQt PROPERTIES
-+add_library(AppStreamQt5 SHARED IMPORTED)
-+set_target_properties(AppStreamQt5 PROPERTIES
-   INTERFACE_INCLUDE_DIRECTORIES "${PACKAGE_PREFIX_DIR}/include/"
-   INTERFACE_LINK_LIBRARIES "Qt5::Core"
-   IMPORTED_LOCATION "@LIBDIR_FULL@/libAppStreamQt5.so.${AppStreamQt_VERSION}"
+diff --git a/qt/release.h b/qt/release.h
+index e377fa21..db008949 100644
+--- a/qt/release.h
++++ b/qt/release.h
+@@ -25,6 +25,7 @@
+ #include <QString>
+ #include <QObject>
+ #include <QCryptographicHash>
++#include <optional>
+ #include "appstreamqt_export.h"
+ 
+ struct _AsRelease;
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 8b13789..8f28c24 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-
+0001_qt.diff


More information about the Neon-commits mailing list