net-im/telegram-desktop: Find datafiles in ESYSROOT instead of EPREFIX

This will aid cross-compilation.

No revbump, if it compiled correctly before it'll compile the same now.

Closes: https://github.com/gentoo/gentoo/pull/43975
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2025-09-27 18:00:57 +02:00
committed by Yixun Lan
parent d7fb9592dc
commit 2add51ee0c
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ src_configure() {
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
# - bug 909038: can't read from flatpak directories (fixed upstream)
# - bug 920819: system-wide directories ignored when variable is set
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
# Evil flag (bug #919201)
filter-flags -fno-delete-null-pointer-checks

View File

@@ -142,7 +142,7 @@ src_configure() {
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
# - bug 909038: can't read from flatpak directories (fixed upstream)
# - bug 920819: system-wide directories ignored when variable is set
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
# Evil flag (bug #919201)
filter-flags -fno-delete-null-pointer-checks

View File

@@ -142,7 +142,7 @@ src_configure() {
# XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
# - bug 909038: can't read from flatpak directories (fixed upstream)
# - bug 920819: system-wide directories ignored when variable is set
export XDG_DATA_DIRS="${EPREFIX}/usr/share"
export XDG_DATA_DIRS="${ESYSROOT}/usr/share"
# Evil flag (bug #919201)
filter-flags -fno-delete-null-pointer-checks