Added fix for build error with malloc flag

Signed-off-by: ormorph <roma251078@mail.ru>
pull/281/head
ormorph 2 years ago
parent 38130ab9ba
commit 2eacb9e12a

@ -0,0 +1,11 @@
--- a/tdecore/malloc/malloc.c
+++ b/tdecore/malloc/malloc.c
@@ -4306,7 +4306,7 @@
remainder_size = chunksize(p);
if (opts & 0x2) { /* optionally clear the elements */
- memset(mem, 0, remainder_size - SIZE_SZ - array_size)
+ memset(mem, 0, remainder_size - SIZE_SZ - array_size);
}
/* If not provided, allocate the pointer array as final part of chunk */

@ -78,7 +78,8 @@ RDEPEND="${DEPEND}
"
PATCHES=(
"${FILESDIR}/tdelibs-backtrace.patch"
"${FILESDIR}/${PN}-backtrace.patch"
"${FILESDIR}/${PN}-malloc.patch"
)
src_configure() {

Loading…
Cancel
Save