dev-libs/croaring: patch the pkgconfig.pc to include roaring

Otherwise pyroaring (the only reverse dependency) fails to #include:
  fatal error: roaring.h: No such file or directory
``````
Part-off: https://codeberg.org/gentoo/guru/pulls/17
Signed-off-by: zyxhere💭 <zyx@envs.net>
This commit is contained in:
zyxhere💭 committed 2026-07-25 13:18:59 +05:00
1 parent 488428a07e
commit b56a1a3255
1 file changed
+7
+7
View File
@@ -25,6 +25,13 @@ BDEPEND="
test? ( >=dev-util/cmocka-2.0 )
"
src_prepare() {
# Otherwise pyroaring (the only reverse dependency) isn't able to #include
sed -i 's:I${includedir}:I${includedir}/roaring:' roaring.pc.in
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
# messes with `-march=native` but oh well