Updated to version 0.9.2.
This commit is contained in:
parent
996cec60e3
commit
d5fbddc97d
@ -1,133 +0,0 @@
|
||||
From 3437440a8aa5322c861cb5d5c38f887114b91763 Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
Date: Wed, 18 Jan 2023 09:52:55 +0100
|
||||
Subject: [PATCH] Added missing headers. Fixed build under GCC 13.
|
||||
|
||||
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
---
|
||||
examples/crypto_bot.cpp | 1 +
|
||||
include/mtx/events/mscs/image_packs.hpp | 1 +
|
||||
include/mtxclient/crypto/objects.hpp | 1 +
|
||||
include/mtxclient/crypto/utils.hpp | 1 +
|
||||
include/mtxclient/utils.hpp | 1 +
|
||||
lib/crypto/client.cpp | 1 +
|
||||
lib/crypto/encoding.cpp | 1 +
|
||||
lib/crypto/utils.cpp | 1 +
|
||||
lib/structs/events/encrypted.cpp | 1 +
|
||||
lib/utils.cpp | 1 +
|
||||
10 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/examples/crypto_bot.cpp b/examples/crypto_bot.cpp
|
||||
index bf6ef5c81..1938330df 100644
|
||||
--- a/examples/crypto_bot.cpp
|
||||
+++ b/examples/crypto_bot.cpp
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
#include <atomic>
|
||||
+#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
diff --git a/include/mtx/events/mscs/image_packs.hpp b/include/mtx/events/mscs/image_packs.hpp
|
||||
index 165587ef2..2c875c559 100644
|
||||
--- a/include/mtx/events/mscs/image_packs.hpp
|
||||
+++ b/include/mtx/events/mscs/image_packs.hpp
|
||||
@@ -4,6 +4,7 @@
|
||||
/// @brief Image packs from [MSC2545](https://github.com/matrix-org/matrix-doc/pull/2545)
|
||||
|
||||
#include <bitset>
|
||||
+#include <cstdint>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
diff --git a/include/mtxclient/crypto/objects.hpp b/include/mtxclient/crypto/objects.hpp
|
||||
index 2bb3ceca4..0ef2a4d1b 100644
|
||||
--- a/include/mtxclient/crypto/objects.hpp
|
||||
+++ b/include/mtxclient/crypto/objects.hpp
|
||||
@@ -5,6 +5,7 @@
|
||||
///
|
||||
/// The wrappers implement RAII semantics, so you don't need to free stuff manually.
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <olm/olm.h>
|
||||
#include <olm/pk.h>
|
||||
diff --git a/include/mtxclient/crypto/utils.hpp b/include/mtxclient/crypto/utils.hpp
|
||||
index 361ffe36f..a145f483f 100644
|
||||
--- a/include/mtxclient/crypto/utils.hpp
|
||||
+++ b/include/mtxclient/crypto/utils.hpp
|
||||
@@ -3,6 +3,7 @@
|
||||
/// @file
|
||||
/// @brief Various crypto functions.
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
diff --git a/include/mtxclient/utils.hpp b/include/mtxclient/utils.hpp
|
||||
index 7e7d4717c..1977caee2 100644
|
||||
--- a/include/mtxclient/utils.hpp
|
||||
+++ b/include/mtxclient/utils.hpp
|
||||
@@ -3,6 +3,7 @@
|
||||
/// @file
|
||||
/// @brief Various utility functions for http requests.
|
||||
|
||||
+#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <string>
|
||||
diff --git a/lib/crypto/client.cpp b/lib/crypto/client.cpp
|
||||
index 5a9bba8cc..ea36eaca3 100644
|
||||
--- a/lib/crypto/client.cpp
|
||||
+++ b/lib/crypto/client.cpp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <cstdint>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <utility>
|
||||
|
||||
diff --git a/lib/crypto/encoding.cpp b/lib/crypto/encoding.cpp
|
||||
index f6b1701c9..6f78fe7d1 100644
|
||||
--- a/lib/crypto/encoding.cpp
|
||||
+++ b/lib/crypto/encoding.cpp
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
diff --git a/lib/crypto/utils.cpp b/lib/crypto/utils.cpp
|
||||
index 9cf202038..444334855 100644
|
||||
--- a/lib/crypto/utils.cpp
|
||||
+++ b/lib/crypto/utils.cpp
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <olm/pk.h>
|
||||
|
||||
#include <algorithm>
|
||||
+#include <cstdint>
|
||||
|
||||
#include "mtx/log.hpp"
|
||||
#include "mtxclient/crypto/client.hpp"
|
||||
diff --git a/lib/structs/events/encrypted.cpp b/lib/structs/events/encrypted.cpp
|
||||
index e8f1323b1..f365e11d1 100644
|
||||
--- a/lib/structs/events/encrypted.cpp
|
||||
+++ b/lib/structs/events/encrypted.cpp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
diff --git a/lib/utils.cpp b/lib/utils.cpp
|
||||
index 6d59227c1..9f7149e53 100644
|
||||
--- a/lib/utils.cpp
|
||||
+++ b/lib/utils.cpp
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "mtxclient/utils.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
+#include <cstdint>
|
||||
#include <iomanip>
|
||||
#include <random>
|
||||
#include <sstream>
|
@ -1,15 +1,12 @@
|
||||
Name: mtxclient
|
||||
Version: 0.9.1
|
||||
Release: 2%{?dist}
|
||||
Version: 0.9.2
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: MIT
|
||||
Summary: Client API library for Matrix, built on top of Boost.Asio
|
||||
URL: https://github.com/Nheko-Reborn/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# https://github.com/Nheko-Reborn/mtxclient/pull/91
|
||||
Patch100: %{name}-gcc13-fixes.patch
|
||||
|
||||
BuildRequires: cmake(mpark_variant)
|
||||
BuildRequires: cmake(nlohmann_json) >= 3.2.0
|
||||
BuildRequires: cmake(Olm) >= 3.2.12
|
||||
@ -76,6 +73,9 @@ ln -s libmatrix_client.so.%{version} %{buildroot}%{_libdir}/libmatrix_client.so.
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Mon Feb 20 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.2-1
|
||||
- Updated to version 0.9.2.
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mtxclient-0.9.1.tar.gz) = 578d18add07aa2bf52fea41f99bcc91fa403a78d6d4d656a9775ae141fa2f6bffc2f1f0dc95740eab1d46bb9ac79a62691192682d06a75a8cee3e94ad93723c1
|
||||
SHA512 (mtxclient-0.9.2.tar.gz) = 87c9cd23ce8a52b2f850e3770eb51d03f40f4a5e45b5e536b2446932fc866b8835212d9364c5890af7404843da2547bdc94bb5d3d1933903fea8374b8900fd73
|
||||
|
Loading…
Reference in New Issue
Block a user