commit | 300b8ad4235688171f2a91e7aeb14d0ee3561c13 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <[email protected]> | Wed Dec 21 19:21:03 2016 +0100 |
committer | Stephen Smalley <[email protected]> | Wed Dec 21 13:40:11 2016 -0500 |
tree | 442f5cf1b909eaca734ba263d3a50bed1a4f5423 | |
parent | 57a3b1b4b0a50a1d14f825d2933339063ced4fec [diff] |
libsemanage: genhomedircon: drop ustr dependency ustr library uses old (pre-C99) "extern inline" semantic. This makes it incompatible with recent versions of gcc and clang, which default to C99 standard. Distributions have shipped patched versions of this library to fix issues (e.g. Gentoo package uses this patch: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/ustr/files/ustr-1.0.4-gcc_5-check.patch?id=7dea6f8820f36bf389e6315044bea7507553bed0 ) but there is no upstream solution to make ustr compatible with C99 standard. The git tree of ustr (http://www.and.org/ustr/ustr.git) has not been updated since 2008 and the developer of this project did not reply to emails. Therefore update genhomedircon implementation in order to no longer rely on ustr library. Signed-off-by: Nicolas Iooss <[email protected]>