[mythtv] Ticket #3062: Freebsd compatibility patches
Nigel Pearson
nigel at ind.tansu.com.au
Fri Feb 9 04:05:04 UTC 2007
>>> videoout_xv.cpp - I suspect NetBSD also lacks malloc.h. It
>>> should probably
>>> be:
>>> {{{
>>> #ifdef _linux_
>>> #include <malloc.h>
>>> #endif
>>> }}}
>> malloc.h is deprecated on FreeBSD. do i need to resubmit the patch
>> with this changed?
>
> I don't need "malloc.h" on my Linux system. Does anyone know
> what OS "malloc.h" is needed for?
I am all for dropping it, but maybe for
really old compilers or header sets,
something like this would be more portable:
#if !defined(_MALLOC_H) && !defined(_MALLOC_MALLOC_H_) && !defined
(_SYS_MALLOC_H_)
>>> version.pro - Curious. What is the behavior without the sh -c ?
>>> [[BR]]
>> command fails. doesn't produce version.cpp, build fails.
>
> Nigel, "sh -c" should be ok on Linux, what about Darwin?
It does, but that sh make rule is getting a little unweildy.
The subshell part of it - (svnversion ...) || echo Unknown-
in particular.
Mr usleep, I don't suppose you could revert
that and mail us the relevant make output?
--
Nigel Pearson, nigel at ind.tansu.com.au|"Reality is that which,
Telstra Net. Eng., Sydney, Australia | when you stop believing
Office: 9202 3900 Fax: 9261 3912 | in it, doesn't go away."
Mobile: 0408 664435 Home: 9792 6998 | Philip K. Dick - 'Valis'
More information about the mythtv-dev
mailing list