Skip to content

Commit

Permalink
qt5: Some PRE_BUILD adjustments dealing with gcc-13.x and libxml2.
Browse files Browse the repository at this point in the history
  • Loading branch information
stumbles committed Dec 10, 2023
1 parent 721eabf commit de41166
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions system/qt5/PRE_BUILD
Expand Up @@ -25,5 +25,14 @@ if module_installed $MODULE; then
lrm --upgrade $MODULE
fi &&

# libxkbcommon-1.6.0 package removes some definitions that are not used.
sed -i '276,279d' qtbase/src/platformsupport/input/xkbcommon/qxkbcommon.cpp &&

# gcc-13.x issue
sed -e "/pragma once/a#include <cstdint>" \
-i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp \
qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp \
qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp &&

#Needed to accomodate the kf5 patch
mkdir -pv qtbase/.git

0 comments on commit de41166

Please sign in to comment.