lomiri.lomiri-api: Apply patch for GCC13 support

This commit is contained in:
OPNA2608 2024-01-12 22:44:42 +01:00
parent 0e2fe90b67
commit 3c15cf428e

View file

@ -1,6 +1,7 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, gitUpdater , gitUpdater
, makeFontsConf , makeFontsConf
, testers , testers
@ -31,6 +32,14 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" "dev" "doc" ]; outputs = [ "out" "dev" "doc" ];
patches = [
(fetchpatch {
name = "0001-lomiri-api-Add-missing-headers-for-GCC13.patch";
url = "https://gitlab.com/ubports/development/core/lomiri-api/-/commit/029b42a9b4d5467951595dff8bc536eb5a9e3ef7.patch";
hash = "sha256-eWrDQGrwf22X49rtUAVbrd+QN+OwyGacVLCWYFsS02o=";
})
];
postPatch = '' postPatch = ''
patchShebangs $(find test -name '*.py') patchShebangs $(find test -name '*.py')