Bug#748322: blender: FTBFS on non-Linux

Sebastian Ramacher sramacher at debian.org
Sun May 18 07:31:44 UTC 2014


Control: tags -1 + patch

On 2014-05-16 09:02:34, Rebecca N. Palmer wrote:
> Package: blender
> Version: 2.70-2
> Tags: patch
> 
> blender 2.70 fails to build on kFreeBSD with
> /«PKGBUILDDIR»/intern/guardedalloc/intern/mallocn_intern.h:66:4: error:
> #error "We don't know how to use malloc_usable_size on your platform"
> 
> It appears that this file is checking for Linux ( #if defined(__linux__) at
> line 54) when it should be checking for GNU libc ( __GLIBC__, https://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ?highlight=%28kfreebsd%29#Q._How_do_I_detect_kfreebsd_with_preprocessor_directives_in_a_C_program.3F),
> though I have not tested this fix.

The attached patch should be enough to fix this issue.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd.patch
Type: text/x-diff
Size: 363 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140518/412dd031/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140518/412dd031/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list