Merge pull request #131080 from sternenseemann/foot-clang-pgo

foot: fix PGO builds with clang

authored by Jörg Thalheim and committed by GitHub 6770be84 1c30480b

+10
+10
pkgs/applications/terminal-emulators/foot/default.nix
··· 2 , lib 3 , fetchzip 4 , fetchurl 5 , runCommandNoCC 6 , fcft 7 , freetype ··· 97 url = "https://codeberg.org/dnkl/${pname}/archive/${version}.tar.gz"; 98 sha256 = "1k0alz991cslls4926c5gq02pdq0vfw9jfpprh2a1vb59xgikv7h"; 99 }; 100 101 depsBuildBuild = [ 102 pkg-config
··· 2 , lib 3 , fetchzip 4 , fetchurl 5 + , fetchpatch 6 , runCommandNoCC 7 , fcft 8 , freetype ··· 98 url = "https://codeberg.org/dnkl/${pname}/archive/${version}.tar.gz"; 99 sha256 = "1k0alz991cslls4926c5gq02pdq0vfw9jfpprh2a1vb59xgikv7h"; 100 }; 101 + 102 + patches = [ 103 + # Fixes PGO builds with clang 104 + (fetchpatch { 105 + url = "https://codeberg.org/dnkl/foot/commit/2acd4b34c57659d86dca76c58e4363de9b0a1f17.patch"; 106 + sha256 = "13xi9ppaqx2p88cxbh6801ry9ral70ylh40agn6ij7pklybs4d7s"; 107 + includes = [ "pgo/pgo.c" ]; 108 + }) 109 + ]; 110 111 depsBuildBuild = [ 112 pkg-config