plasma-browser-integration: update to 6.4.3.

This commit is contained in:
John 2025-06-30 14:48:33 +02:00 committed by John Zimmermann
parent e3b5a5bead
commit b5d1c7877a
2 changed files with 2 additions and 19 deletions

View file

@ -1,17 +0,0 @@
--- a/flatpak-integrator/plugin.cpp
+++ b/flatpak-integrator/plugin.cpp
@@ -143,7 +143,14 @@ private:
{
constexpr auto maxBufferSize = 1024;
thread_local std::array<char, maxBufferSize> buffer;
+#ifdef STRERROR_R_CHAR_P
return strerror_r(error, buffer.data(), buffer.size());
+#else
+ // Won't be changed by strerror_r but not const so compiler doesn't throw an error
+ static char unknown[] = "unknown error";
+
+ return strerror_r(error, buffer.data(), buffer.size()) ? unknown : buffer.data();
+#endif
}
int openNoSymlinks(const std::filesystem::path &path, int flags, mode_t mode = 0)

View file

@ -1,6 +1,6 @@
# Template file for 'plasma-browser-integration'
pkgname=plasma-browser-integration
version=6.3.3
version=6.4.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
@ -15,4 +15,4 @@ maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/plasma-browser-integration"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=947dfdf89bdcde5b859eccba4c1fb45d3b3d59ab7d766c2d7ac5c6b34af4416b
checksum=58cce717ab4ec3ae9418be05e867c2c83d23286d1dc68f2650cea18b3179abcb