[mythtv-commits] Ticket #3062: Freebsd compatibility patches
MythTV
mythtv at cvs.mythtv.org
Thu Feb 8 12:34:34 UTC 2007
#3062: Freebsd compatibility patches
----------------------------------+-----------------------------------------
Reporter: usleepless at gmail.com | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
----------------------------------+-----------------------------------------
Comment (by nigel):
videodev_myth.h - Patch is good on OS X 10.4. (although I am curious as to
why it is needed. Yes the current code is non-portable, but are long longs
not 64bit on FreeBSD?)
[[BR]]
mpegrecorder.cpp - Doesn't FreeBSD have select() ? (I thought if OS X
does, FreeBSD would too?)
[[BR]]
mainserver.cpp - What is the problem with the lock?
[[BR]]
videoout_xv.cpp - I suspect NetBSD also lacks malloc.h. It should probably
be:
{{{
#ifdef _linux_
#include <malloc.h>
#endif
}}}
[[BR]]
yuv2rgb.cpp - Don't see the need. The values should all be small positives
(''e.g.'' UCHAR_MAX is 255)
[[BR]]
httprequest.cpp - Could you use the sendfile64() that I wrote for Darwin
instead?
[[BR]]
upnputil.h - How about this instead:
{{{
#ifdef __FreeBSD__
#define __suseconds_t_defined
#endif
}}}
[[BR]]
version.pro - Curious. What is the behavior without the sh -c ?
[[BR]]
Sorry if I seem picky here. I just want to understand these, and make sure
it all works for Linux, *BSD, Darwin, and maybe even Windows.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3062#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list