]> xenbits.xensource.com Git - unikraft/libs/libcxx.git/commit
patches: Define strtof_l and strtod_l in locale
authorMaria Sfiraiala <maria.sfiraiala@gmail.com>
Sun, 30 Oct 2022 18:22:23 +0000 (20:22 +0200)
committerUnikraft <monkey@unikraft.io>
Fri, 18 Nov 2022 10:19:17 +0000 (10:19 +0000)
commit30e1eb4c9f8a2f87b533058ab1c3cc25fbc3edd4
tree8603ab22d1f72f8387fa0bd552df3a3dfbc1f21e
parent00eb674ef1fb64cd663e4d02dba157d04f77ca1b
patches: Define strtof_l and strtod_l in locale

When compiled for Aarch64, apps using libcxx fail due to strtof_l and
strtod_l not being defined in include/locale.

This commit adds a patch which includes the header that contains
the definitions in include/locale.

It also modifies Makefile.uk to add the file in the build process.

Signed-off-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #10
Makefile.uk
patches/0009-Add-strtof_l-strtod_l-header.patch [new file with mode: 0644]