[gnutls-dev] [opencdk] Compatibility with FreeBSD (malloc.h not usable)

Diego 'Flameeyes' Pettenò flameeyes at gentoo.org
Fri Jun 10 15:26:56 CEST 2005


Hi,
currently opencdk-0.5.5 includes <malloc.h> without checks, but on FreeBSD (at 
least on Gentoo/FreeBSD) that file just trown an #error saying to avoid using 
it.
The attached patch applied over the sources checks in ./configure for malloc.h 
file and then uses it only if needed.

HTH,
-- 
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencdk-0.5.5-fbsd.patch
Type: text/x-diff
Size: 1592 bytes
Desc: not available
Url : /pipermail/attachments/20050610/a7ceefc5/opencdk-0.5.5-fbsd.bin


More information about the Gnutls-dev mailing list