Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2025 20:47:28 GMT
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b3709a1b1a97 - main - net-im/telegram-desktop: update from 5.9.0 to 5.10.0
Message-ID:  <202501042047.504KlSkx019343@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3709a1b1a9701a1188f46ff00eefdae44ee8f94

commit b3709a1b1a9701a1188f46ff00eefdae44ee8f94
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-01-04 20:39:20 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-01-04 20:47:23 +0000

    net-im/telegram-desktop: update from 5.9.0 to 5.10.0
    
    Add new patch.                                  (*)
    Obtained from:  OpenBSD net/tdesktop port       (*)
---
 net-im/telegram-desktop/Makefile                              |  2 +-
 net-im/telegram-desktop/distinfo                              |  6 +++---
 ...__base_base_platform_linux_base__linux__xcb__utilities.cpp | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 9719a1540b4a..3eee56da7904 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	telegram-desktop
-DISTVERSION=	5.9.0
+DISTVERSION=	5.10.0
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index b7f4b5b857eb..fcb3b0d74cbc 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733334137
-SHA256 (tdesktop-5.9.0-full.tar.gz) = c9e74a9b49284c0d4197f0be7e02415e14c4f8bf46403d0663d39f44d7ac2fbc
-SIZE (tdesktop-5.9.0-full.tar.gz) = 72447849
+TIMESTAMP = 1735938794
+SHA256 (tdesktop-5.10.0-full.tar.gz) = ce21d0e71e5b5b318edf56778d47756a4db2e175bfa41314832f03a50a9be420
+SIZE (tdesktop-5.10.0-full.tar.gz) = 72526377
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__xcb__utilities.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__xcb__utilities.cpp
new file mode 100644
index 000000000000..cd3197e832a3
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__linux__xcb__utilities.cpp
@@ -0,0 +1,11 @@
+--- Telegram/lib_base/base/platform/linux/base_linux_xcb_utilities.cpp.orig	2025-01-04 14:57:59 UTC
++++ Telegram/lib_base/base/platform/linux/base_linux_xcb_utilities.cpp
+@@ -139,7 +139,7 @@ rpl::lifetime InstallEventHandler(
+ 		}
+ 	}
+ 
+-	const auto ptr = it->second.second.emplace_back(new Fn(handler)).get();
++	const auto ptr = it->second.second.emplace_back(new std::function(handler)).get();
+ 	return rpl::lifetime([=] {
+ 		const auto it = EventHandlers.find(connection);
+ 		it->second.second.erase(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501042047.504KlSkx019343>