diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-23 23:34:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-25 11:07:33 +0100 |
commit | 095024552cafd2aa926b968a876cecb08e63df18 (patch) | |
tree | e13bc03548e05f4b87e32c42a3de0fc9c640aa12 /meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | |
parent | a53722b962e79e0831c0fba24ef7c1cfda24971a (diff) | |
download | openembedded-core-095024552cafd2aa926b968a876cecb08e63df18.tar.gz |
libcgroup: Use GNU strerror_r only when its available
This patch ensures that a fallback to use XSI compliant strerror_r when
GNU extention is not implemented, which fixes the case when building
with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libcgroup/libcgroup_3.0.0.bb')
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup_3.0.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb index efd887844d..f3e841246f 100644 --- a/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb +++ b/meta/recipes-core/libcgroup/libcgroup_3.0.0.bb @@ -11,7 +11,9 @@ inherit autotools pkgconfig DEPENDS = "bison-native flex-native" -SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v3.0/${BP}.tar.gz" +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v3.0/${BP}.tar.gz \ + file://0001-api-Use-GNU-strerror_r-when-available.patch \ +" SRC_URI[sha256sum] = "8d284d896fca1c981b55850e92acd3ad9648a69227c028dda7ae3402af878edd" UPSTREAM_CHECK_URI = "https://github.com/libcgroup/libcgroup/releases/" |