Opened 20 years ago
Closed 20 years ago
#1782 closed defect (fixed)
replex.c in mythreplex uses O_LARGEFILE which MacOS X doesn't have
| Reported by: | Owned by: | Nigel | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
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)
Change History (3)
by , 20 years ago
| Attachment: | replex.patch added |
|---|
comment:1 by , 20 years ago
It should be noted that I haven't actually *RAN* mythreplex, this only will allow it to compile...
Note:
See TracTickets
for help on using tickets.

Patch for replex to fix compile issues on MacOS X