summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Camera <dennis.camera+gentoo@riiengineering.ch>2024-03-27 12:02:13 +0100
committerSam James <sam@gentoo.org>2024-04-30 07:39:07 +0100
commitd02831a4eede99aa68e1ee7dc73e2e5adbb9a143 (patch)
treedbda1a1687c0db37de5dd23a33f145e936995c7b /sys-libs/tevent/tevent-0.13.0.ebuild
parentnet-firewall/ipset: enforce safe chars in set names & suffix (diff)
downloadgentoo-d02831a4eede99aa68e1ee7dc73e2e5adbb9a143.tar.gz
gentoo-d02831a4eede99aa68e1ee7dc73e2e5adbb9a143.tar.bz2
gentoo-d02831a4eede99aa68e1ee7dc73e2e5adbb9a143.zip
sys-libs/tevent: fix redefinition of uintptr_t in bundled cmocka library
Build failed with musl libc: In file included from ../../third_party/cmocka/cmocka.c:61: ../../third_party/cmocka/cmocka.h:127:28: error: conflicting types for 'uintptr_t'; have 'unsigned int' 127 | typedef unsigned int uintptr_t; | ^~~~~~~~~ In file included from /usr/include/stdint.h:20, from /usr/include/inttypes.h:9, from ../../third_party/cmocka/cmocka.c:27: /usr/include/bits/alltypes.h:47:24: note: previous declaration of 'uintptr_t' with type 'uintptr_t' {aka 'long unsigned int'} 47 | typedef unsigned _Addr uintptr_t; | ^~~~~~~~~ Signed-off-by: Dennis Camera <dennis.camera+gentoo@riiengineering.ch> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/tevent/tevent-0.13.0.ebuild')
-rw-r--r--sys-libs/tevent/tevent-0.13.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-libs/tevent/tevent-0.13.0.ebuild b/sys-libs/tevent/tevent-0.13.0.ebuild
index d13c4c06ea0b..87b2f050f147 100644
--- a/sys-libs/tevent/tevent-0.13.0.ebuild
+++ b/sys-libs/tevent/tevent-0.13.0.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/cmocka-config_h.patch
+)
+
WAF_BINARY="${S}/buildtools/bin/waf"
pkg_setup() {