Merge pull request #280596 from OPNA2608/fix/lomiri-api-gcc13

lomiri.lomiri-api: Apply patch for GCC13 support
This commit is contained in:
Nick Cao 2024-01-14 12:18:07 -05:00 committed by GitHub
commit 984f3ecf67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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')