Opened 12 years ago
Closed 11 years ago
Last modified 11 years ago
#11136 closed Patch - Bug Fix (fixed)
[Patch] Fix build on big endian systems
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27.2 |
Component: | Ports - OSX | Version: | 0.25.2 |
Severity: | medium | Keywords: | big endian PPC byteswap |
Cc: | Ticket locked: | no |
Description
Myth does not build on big endian systems such as PPC (OS X) as /libs/libmythtv tries to conditionally include the file byteswap.h that is no longer in Git. Attached patches put inline code in the two affected programs that allows the build to finish.
Attachments (3)
Change History (12)
Changed 12 years ago by
Attachment: | patch-mythtv-libs-libmythtv-avformatwriter.cpp.diff added |
---|
Changed 12 years ago by
Attachment: | patch-mythtv-libs-libmythtv-NuppelVideoRecorder.cpp.diff added |
---|
comment:1 Changed 11 years ago by
Status: | new → infoneeded_new |
---|
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | infoneeded_new → closed |
comment:5 Changed 11 years ago by
Milestone: | unknown → 0.27.2 |
---|
comment:8 Changed 11 years ago by
The fix in tis bug break build for Linux powerpc and sparc arches.
The best is to check if you build for OS X (with maybe MACOS) or Linux.
comment:9 Changed 11 years ago by
Please provide compilation output and error.
Would be great if you could provide a shell access so I could try things... Or please provide a patch.
Changed 11 years ago by
Attachment: | mythtv-bswap.diff added |
---|
comment:10 Changed 11 years ago by
Build log file (mythtv 0.27.2 Debian unstable powerpc)
http://ping.esiee.fr/logs/mythtv-dmo_0.27.2-dmo1-powerpc-20140701-0252
Compile fine with the attached patch for i386 and sparc arches, mythtv 0.27.3, Debian unstable.
Basic patch attached. (I don't know if __MACOS__
is the rigth OS X macro).
is this still required?