[mythtv-commits] Ticket #9653: [PATCH] MacOSX fixes for cross compilation

MythTV noreply at mythtv.org
Thu Mar 10 09:28:37 UTC 2011


#9653: [PATCH] MacOSX fixes for cross compilation
-------------------------------------+-------------------------------------
     Reporter:  Lawrence Rust        |      Owner:  nigel
  <lvr@…>                            |     Status:  new
         Type:  Patch - Bug Fix      |  Milestone:  unknown
     Priority:  minor                |    Version:  Trunk Head
    Component:  Ports - OSX          |   Keywords:  mythbuild cross compile
     Severity:  medium               |  10.4
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 This set of patches enables mythbuild.sh to cross compile mythtv and
 mythplugins to older versions of the MacOSX SDK i.e. 10.3 (ppc) and 10.4
 (universal) on both Linux and MacOSX.

 ffmpeg.diff
 - #define _BSD_SOURCE instead of _XOPEN_SOURCE to enable unistd.h to
 include definitions of struct rusage.ru_maxrss which were detected by
 configure and added to config.h

 libmythtv.diff
 - Conditionally import QuartzCore when detected by configure.
 - Add support for big-endian Apple systems to bswap.h

 libmytui.diff
 - Remove some unuserd CoreGraphics imports
 - Fix some opengl types
 - Add a simple cast in util-osx-cocoa.mm

 mythmusic:
 - Convert std::vector to QVector, which is functionally identical, to work
 around missing vector::data() function in 10.3 & 10.4 STL headers.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9653>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list