Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830180 - net-im/telegram-desktop-3.3.0[enchant]: error: could not convert ‘& word’ from ‘const QString*’ to ‘QStringView’
Summary: net-im/telegram-desktop-3.3.0[enchant]: error: could not convert ‘& word’ fro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-28 18:10 UTC by yongxiang
Modified: 2022-01-06 23:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.tar.bz2,19.08 KB, application/x-bzip2)
2021-12-28 18:14 UTC, yongxiang
Details
emerge --info (emerge-info.txt,7.16 KB, text/plain)
2021-12-28 18:15 UTC, yongxiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2021-12-28 18:10:31 UTC
After enable enchant useflag, build faild:/tmp/portage/net-im/telegram-desktop-3.3.0/work/tdesktop-3.3.0-full/Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp:37:43: error: could not convert ‘& word’ from ‘const QString*’ to ‘QStringView’


Reproducible: Always
Comment 1 yongxiang 2021-12-28 18:14:30 UTC
Created attachment 760681 [details]
build.log
Comment 2 yongxiang 2021-12-28 18:15:06 UTC
Created attachment 760682 [details]
emerge --info
Comment 3 Esteve Varela Colominas 2021-12-28 18:53:24 UTC
I'm not home for this week; I'll check this out next week.
Consider disabling spell checking for now.
Comment 4 Larry the Git Cow gentoo-dev 2022-01-06 23:47:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8466d07e680b8d7245fbe352bbd261933b232309

commit 8466d07e680b8d7245fbe352bbd261933b232309
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2022-01-06 20:25:59 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-01-06 23:34:25 +0000

    net-im/telegram-desktop: Fix USE=enchant
    
    The patched file isn't compiled without this USE flag.
    No revbump.
    
    Closes: https://bugs.gentoo.org/830180
    Thanks-to: yongxiang <tanekliang@gmail.com>
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../files/tdesktop-3.3.0-fix-enchant.patch           | 20 ++++++++++++++++++++
 .../telegram-desktop/telegram-desktop-3.3.0.ebuild   |  1 +
 2 files changed, 21 insertions(+)