lol

Merge pull request #265031 from wegank/qt5-qtlocation-boost

qt5.qtlocation: fix build with clang 16

authored by

Weijia Wang and committed by
GitHub
b1b0b6e3 29efc257

+9
+9
pkgs/development/libraries/qt-5/5.15/default.nix
··· 52 52 # prevent headaches from stale qmlcache data 53 53 ./qtdeclarative-default-disable-qmlcache.patch 54 54 ]; 55 + qtlocation = lib.optionals stdenv.cc.isClang [ 56 + # Fix build with Clang 16 57 + (fetchpatch { 58 + url = "https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a.patch"; 59 + stripLen = 1; 60 + extraPrefix = "src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/"; 61 + hash = "sha256-UEvIXzn387f9BAeBdhheStD/4M7en+rmqX8C6gstl6k="; 62 + }) 63 + ]; 55 64 qtmultimedia = lib.optionals stdenv.isDarwin [ 56 65 # build patch for qtmultimedia with xcode 15 57 66 (fetchpatch {