summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Camera <dennis.camera+gentoo@riiengineering.ch>2024-03-27 12:08:45 +0100
committerSam James <sam@gentoo.org>2024-04-30 07:39:08 +0100
commit93b5d2f23960fd5b8b1ed13e056383b9a907940f (patch)
tree00fab38413face3d181f704386d58ca97d17bda4 /net-fs/samba/samba-4.18.10.ebuild
parentsys-libs/ldb: fix redefinition of uintptr_t in bundled cmocka library (diff)
downloadgentoo-93b5d2f23960fd5b8b1ed13e056383b9a907940f.tar.gz
gentoo-93b5d2f23960fd5b8b1ed13e056383b9a907940f.tar.bz2
gentoo-93b5d2f23960fd5b8b1ed13e056383b9a907940f.zip
net-fs/samba: 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> Closes: https://github.com/gentoo/gentoo/pull/35945 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-fs/samba/samba-4.18.10.ebuild')
-rw-r--r--net-fs/samba/samba-4.18.10.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-fs/samba/samba-4.18.10.ebuild b/net-fs/samba/samba-4.18.10.ebuild
index aad41632fada..be5091996562 100644
--- a/net-fs/samba/samba-4.18.10.ebuild
+++ b/net-fs/samba/samba-4.18.10.ebuild
@@ -146,6 +146,7 @@ BDEPEND="${PYTHON_DEPS}
PATCHES=(
"${FILESDIR}"/${PN}-4.18.4-pam.patch
"${FILESDIR}"/ldb-2.5.2-skip-wav-tevent-check.patch
+ "${FILESDIR}"/cmocka-config_h.patch
)
CONFDIR="${FILESDIR}/4.4"