forked from pool/telegram-desktop
Accepting request 1074325 from home:manfred-h:server:messaging
- The new default compiler gcc13 on Tumbleweed is too new for compiling tg_owt-master.zip; e.g. "uint8_t" is now defined in <cstdint> which almost all source files don't include. Stick with gcc12 on Tumbleweed for now and wait for an update of tg_owt-master.zip OBS-URL: https://build.opensuse.org/request/show/1074325 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=251
This commit is contained in:
parent
9c6c29522b
commit
adadabcfae
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 25 11:06:57 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
|
||||||
|
|
||||||
|
- The new default compiler gcc13 on Tumbleweed is too new for
|
||||||
|
compiling tg_owt-master.zip; e.g. "uint8_t" is now defined in
|
||||||
|
<cstdint> which almost all source files don't include. Stick
|
||||||
|
with gcc12 on Tumbleweed for now and wait for an update of
|
||||||
|
tg_owt-master.zip
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 17 09:57:44 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
|
Fri Mar 17 09:57:44 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
|
||||||
|
|
||||||
|
@ -27,8 +27,13 @@
|
|||||||
%if 0%{?suse_version} && ( 0%{?suse_version} < 1500 || ( 0%{?is_opensuse} && 0%{?suse_version} == 1500 && 0%{?sle_version} && 0%{?sle_version} <= 150500 ) )
|
%if 0%{?suse_version} && ( 0%{?suse_version} < 1500 || ( 0%{?is_opensuse} && 0%{?suse_version} == 1500 && 0%{?sle_version} && 0%{?sle_version} <= 150500 ) )
|
||||||
%bcond_without compiler_upgrade
|
%bcond_without compiler_upgrade
|
||||||
%else
|
%else
|
||||||
|
%if 0%{?suse_version} > 01500
|
||||||
|
# gcc13 is too new on Tumbleweed
|
||||||
|
%bcond_without compiler_downgrade
|
||||||
|
%else
|
||||||
%bcond_with compiler_upgrade
|
%bcond_with compiler_upgrade
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%define _dwz_low_mem_die_limit 40000000
|
%define _dwz_low_mem_die_limit 40000000
|
||||||
%define _dwz_max_die_limit 200000000
|
%define _dwz_max_die_limit 200000000
|
||||||
@ -75,10 +80,16 @@ BuildRequires: enchant-devel
|
|||||||
BuildRequires: ffmpeg-devel
|
BuildRequires: ffmpeg-devel
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
%if %{with compiler_upgrade}
|
%if %{with compiler_upgrade}
|
||||||
|
BuildRequires: gcc10
|
||||||
BuildRequires: gcc10-c++
|
BuildRequires: gcc10-c++
|
||||||
%else
|
%else
|
||||||
|
%if %{with compiler_downgrade}
|
||||||
|
BuildRequires: gcc12
|
||||||
|
BuildRequires: gcc12-c++
|
||||||
|
%else
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblz4-devel
|
BuildRequires: liblz4-devel
|
||||||
@ -227,6 +238,11 @@ mv tg_owt-master Libraries/tg_owt
|
|||||||
%if %{with compiler_upgrade}
|
%if %{with compiler_upgrade}
|
||||||
export CC=gcc-10
|
export CC=gcc-10
|
||||||
export CXX=g++-10
|
export CXX=g++-10
|
||||||
|
%else
|
||||||
|
%if %{with compiler_downgrade}
|
||||||
|
export CC=gcc-12
|
||||||
|
export CXX=g++-12
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Fix build failures due to not finding installed headers for xkbcommon and wayland-client
|
# Fix build failures due to not finding installed headers for xkbcommon and wayland-client
|
||||||
|
Loading…
Reference in New Issue
Block a user