Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 799577 Details for
Bug 739474
media-gfx/blender: Fails to build with musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The __linux__ check is causing the HAVE_MALLOC_STATS to be evaluated as true
blender-3.2.2-malloc_stats-musl.patch (text/plain), 634 bytes, created by
Brahmajit Das
on 2022-08-14 09:17:27 UTC
(
hide
)
Description:
The __linux__ check is causing the HAVE_MALLOC_STATS to be evaluated as true
Filename:
MIME Type:
Creator:
Brahmajit Das
Created:
2022-08-14 09:17:27 UTC
Size:
634 bytes
patch
obsolete
>diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h >index f8b16ff..a5783d1 100644 >--- a/intern/guardedalloc/intern/mallocn_intern.h >+++ b/intern/guardedalloc/intern/mallocn_intern.h >@@ -17,8 +17,7 @@ > #undef HAVE_MALLOC_STATS > #define USE_MALLOC_USABLE_SIZE /* internal, when we have malloc_usable_size() */ > >-#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || \ >- defined(__GLIBC__) >+#if (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || defined(__GLIBC__) > # include <malloc.h> > # define HAVE_MALLOC_STATS > #elif defined(__FreeBSD__)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 739474
: 799577