git: 854c9c663066 - main - net-im/telegram-desktop: fix build after glib20 bump
Dima Panov
fluffy at FreeBSD.org
Thu Aug 5 12:46:56 UTC 2021
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=854c9c663066688be39b2c3bbb4d5a131f828f44
commit 854c9c663066688be39b2c3bbb4d5a131f828f44
Author: Dima Panov <fluffy at FreeBSD.org>
AuthorDate: 2021-08-05 12:45:17 +0000
Commit: Dima Panov <fluffy at FreeBSD.org>
CommitDate: 2021-08-05 12:45:17 +0000
net-im/telegram-desktop: fix build after glib20 bump
PR: 256200
Pointy hat: nc
---
net-im/telegram-desktop/Makefile | 1 +
...ebview_webview_platform_linux_webview__linux__webkit__gtk.h | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 989f34f35dbb..394ed1af7223 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,6 @@
PORTNAME= telegram-desktop
DISTVERSION= 2.8.11
+PORTREVISION= 1
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/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h b/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h
new file mode 100644
index 000000000000..4d3abc07b7be
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h
@@ -0,0 +1,10 @@
+--- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h.orig 2021-07-07 09:00:15 UTC
++++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h
+@@ -6,6 +6,7 @@
+ //
+ #pragma once
+
++#include <type_traits> // Required for glib/gatomic.h
+ extern "C" {
+ #include <JavaScriptCore/JavaScript.h>
+ #include <gtk/gtk.h>
More information about the dev-commits-ports-all
mailing list