Opened 14 years ago

Closed 14 years ago

#1267 closed defect (fixed)

MythTV 0.19 doesn't build on FreeBSD

Reported by: carlfongheiser@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

From my posting on mythtv-users:

FreeBSD doesn't have a definition for LONG_LONG_MIN, which is used in a number of places. I'm pretty sure the standard spelling is LLONG_MIN. That works on both FreeBSD and Linux.

FreeBSD doesn't implement memalign(). There's one use of this function in videoout_xv.cpp which doesn't have the MEMALIGN_HACK workaround.

DisplayResX.cpp didn't compile properly due to missing type definitions in <iostream>. Moving the includes of DisplayResX.h and <iostream> above the X11 includes seemed to fix that problem.

Attachments (1)

mythv-freebsd-patch (4.3 KB) - added by carlfongheiser@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by carlfongheiser@…

Attachment: mythv-freebsd-patch added

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [9026]) Freebsd compilation patch.

Closes #1267.

Note: See TracTickets for help on using tickets.