diff --git a/krita.changes b/krita.changes index 4e16f50..b912552 100644 --- a/krita.changes +++ b/krita.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 11 20:54:45 UTC 2024 - Christophe Marin + +- Use gcc 13 to compile krita on Tumbleweed + ------------------------------------------------------------------- Fri Jun 28 13:40:53 UTC 2024 - Christophe Marin diff --git a/krita.spec b/krita.spec index fe37460..e662633 100644 --- a/krita.spec +++ b/krita.spec @@ -47,6 +47,11 @@ BuildRequires: %{pyver}-sip-devel BuildRequires: OpenEXR-devel BuildRequires: extra-cmake-modules BuildRequires: fftw3-devel +# gcc 14 became the default compiler despite knowing it was causing boost issue. Stick to gcc 13 for the moment +%if 0%{?suse_version} > 1500 +BuildRequires: gcc13-c++ +BuildRequires: gcc13-PIE +%endif BuildRequires: giflib-devel BuildRequires: gsl-devel %if 0%{?suse_version} > 1500 @@ -141,6 +146,9 @@ Development headers and libraries for Krita. %autosetup -p1 %build +%if 0%{?suse_version} > 1500 +export CC=gcc-13 CXX=g++-13 +%endif %cmake_kf5 -d build -- -DKRITA_ENABLE_PCH:BOOL=OFF %cmake_build