[mythtv-commits] Ticket #9426: MacOS X symbols missing

MythTV noreply at mythtv.org
Wed Jan 19 20:23:47 UTC 2011


#9426: MacOS X symbols missing
-------------------------+----------------------------
 Reporter:  nigel        |          Owner:  stuarta
     Type:  Bug Report   |         Status:  closed
 Priority:  minor        |      Milestone:  0.25
Component:  Ports - OSX  |        Version:  Trunk Head
 Severity:  medium       |     Resolution:  Fixed
 Keywords:               |  Ticket locked:  0
-------------------------+----------------------------

Comment (by dave@…):

 This might have been closed a little prematurely.  A bit later in the
 build this same problem pops up again.  Classes or structs contained in
 other classes are in a nested scope and need to have their symbols
 declared global too.  I hope the diff below is the right way to fix this.
 Works for me.


 {{{
 diff --git a/mythtv/libs/libmythmetadata/dbaccess.h
 b/mythtv/libs/libmythmetadata/dbaccess.h
 index f653b9e..d738d8a 100644
 --- a/mythtv/libs/libmythmetadata/dbaccess.h
 +++ b/mythtv/libs/libmythmetadata/dbaccess.h
 @@ -135,7 +135,7 @@ class MPUBLIC VideoCastMap : public MultiValue
  class MPUBLIC FileAssociations
  {
    public:
 -    struct file_association
 +    struct MPUBLIC file_association
      {
          unsigned int id;
          QString extension;
 diff --git a/mythtv/libs/libmythmetadata/videometadata.h
 b/mythtv/libs/libmythmetadata/videometadata.h
 index 72f2ce2..8e44315 100644
 --- a/mythtv/libs/libmythmetadata/videometadata.h
 +++ b/mythtv/libs/libmythmetadata/videometadata.h
 @@ -31,7 +31,7 @@ class MPUBLIC VideoMetadata
      typedef std::vector<cast_entry> cast_list;

    public:
 -    class SortKey
 +    class MPUBLIC SortKey
      {
        public:
          SortKey();

 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9426#comment:11>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list