Opened 15 years ago

Closed 15 years ago

#1782 closed defect (fixed)

replex.c in mythreplex uses O_LARGEFILE which MacOS X doesn't have

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


replex.c in the mythtranscode program makes liberal use of O_LARGEFILE which doesn't exist on MacOS X. From my, admittedly limited, recollection MacOS X utilizes large files be default and doesn't need a flag to do so. I've surrounded the instances of O_LARGEFILE with #ifdef CONFIG_DARWIN. In order for this to work, I've also had to pull in config.h, and make changes to the .pro file such that it actually gets found. I'm attaching a patch to the appropriate files.

Attachments (1)

replex.patch (2.6 KB) - added by mcdermj@… 15 years ago.
Patch for replex to fix compile issues on MacOS X

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by mcdermj@…

Attachment: replex.patch added

Patch for replex to fix compile issues on MacOS X

comment:1 Changed 15 years ago by mcdermj@…

It should be noted that I haven't actually *RAN* mythreplex, this only will allow it to compile...

comment:2 Changed 15 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [9876]) Define O_LARGEFILE if it's not.

Closes #1782.

Note: See TracTickets for help on using tickets.