commit:     8562ca0a27d5dc2f1e0cab3b6573ea2c48380f48
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Sat Nov 29 17:06:19 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 11:49:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8562ca0a

net-im/telegram-desktop: Remove libc++ suggestion

This message was put into place due to the frequent issues this package
has with the clang/libstdc++ configuration. It came to be from a
misunderstanding about the support status of the libc++ configuration.

Right now, this configuration is working. In the future, if it seems a
message like this is necessary again, it will only suggest building with
gcc.

Closes: https://bugs.gentoo.org/966774
Closes: https://github.com/gentoo/gentoo/pull/44818
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-im/telegram-desktop/telegram-desktop-6.0.2-r1.ebuild | 10 +---------
 net-im/telegram-desktop/telegram-desktop-6.2.4.ebuild    | 10 +---------
 net-im/telegram-desktop/telegram-desktop-6.3.3.ebuild    | 10 +---------
 3 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/net-im/telegram-desktop/telegram-desktop-6.0.2-r1.ebuild 
b/net-im/telegram-desktop/telegram-desktop-6.0.2-r1.ebuild
index 5945e1bcbdf8..6a074cbcff56 100644
--- a/net-im/telegram-desktop/telegram-desktop-6.0.2-r1.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-6.0.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{11..13} )
 
-inherit xdg cmake python-any-r1 optfeature toolchain-funcs flag-o-matic
+inherit xdg cmake python-any-r1 optfeature flag-o-matic
 
 DESCRIPTION="Official desktop client for Telegram"
 HOMEPAGE="https://desktop.telegram.org 
https://github.com/telegramdesktop/tdesktop";
@@ -93,14 +93,6 @@ pkg_pretend() {
                        ewarn "check bug https://bugs.gentoo.org/715114 for 
more info"
                        ewarn
                fi
-               if tc-is-clang && [[ $(tc-get-cxx-stdlib) = libstdc++ ]]; then
-                       ewarn "this package frequently fails to compile with 
clang"
-                       ewarn "in combination with libstdc++."
-                       ewarn "please use libc++, or build this package with 
gcc."
-                       ewarn "(if you have a patch or a fix, please open a"
-                       ewarn "bug report about it)"
-                       ewarn
-               fi
        fi
 }
 

diff --git a/net-im/telegram-desktop/telegram-desktop-6.2.4.ebuild 
b/net-im/telegram-desktop/telegram-desktop-6.2.4.ebuild
index c6d863720b4b..7c5dbf974e97 100644
--- a/net-im/telegram-desktop/telegram-desktop-6.2.4.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-6.2.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
 
-inherit xdg cmake python-any-r1 optfeature toolchain-funcs flag-o-matic
+inherit xdg cmake python-any-r1 optfeature flag-o-matic
 
 DESCRIPTION="Official desktop client for Telegram"
 HOMEPAGE="https://desktop.telegram.org 
https://github.com/telegramdesktop/tdesktop";
@@ -92,14 +92,6 @@ pkg_pretend() {
                        ewarn "check bug https://bugs.gentoo.org/715114 for 
more info"
                        ewarn
                fi
-               if tc-is-clang && [[ $(tc-get-cxx-stdlib) = libstdc++ ]]; then
-                       ewarn "this package frequently fails to compile with 
clang"
-                       ewarn "in combination with libstdc++."
-                       ewarn "please use libc++, or build this package with 
gcc."
-                       ewarn "(if you have a patch or a fix, please open a"
-                       ewarn "bug report about it)"
-                       ewarn
-               fi
        fi
 }
 

diff --git a/net-im/telegram-desktop/telegram-desktop-6.3.3.ebuild 
b/net-im/telegram-desktop/telegram-desktop-6.3.3.ebuild
index eece5e63d838..78e6a95ae569 100644
--- a/net-im/telegram-desktop/telegram-desktop-6.3.3.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-6.3.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{11..14} )
 
-inherit xdg cmake python-any-r1 optfeature toolchain-funcs flag-o-matic
+inherit xdg cmake python-any-r1 optfeature flag-o-matic
 
 DESCRIPTION="Official desktop client for Telegram"
 HOMEPAGE="https://desktop.telegram.org 
https://github.com/telegramdesktop/tdesktop";
@@ -93,14 +93,6 @@ pkg_pretend() {
                        ewarn "check bug https://bugs.gentoo.org/715114 for 
more info"
                        ewarn
                fi
-               if tc-is-clang && [[ $(tc-get-cxx-stdlib) = libstdc++ ]]; then
-                       ewarn "this package frequently fails to compile with 
clang"
-                       ewarn "in combination with libstdc++."
-                       ewarn "please use libc++, or build this package with 
gcc."
-                       ewarn "(if you have a patch or a fix, please open a"
-                       ewarn "bug report about it)"
-                       ewarn
-               fi
        fi
 }
 

Reply via email to