Ticket #12408: mythtv-0.27.5-visibility.patch

File mythtv-0.27.5-visibility.patch, 1.0 KB (added by anonymous, 8 years ago)

Patch fixing symbol visibility in shared object file for gcc-4.9. The patch was tested on my Gentoo system, but might not work with other compilers.

  • mythtv/libs/libmythtv/videobuffers.h

    old new class YUVInfo 
    5858    uint offsets[3];
    5959};
    6060
    61 class VideoBuffers
     61class __attribute__(( visibility( "default" ) )) VideoBuffers
    6262{
    6363  public:
    6464    VideoBuffers();
  • mythtv/libs/libmythtv/dtvmultiplex.h

    old new  
    1919
    2020class MPEGDescriptor;
    2121
    22 class DTVMultiplex
     22class __attribute__(( visibility( "default" ) )) DTVMultiplex
    2323{
    2424  public:
    2525    DTVMultiplex()
    class DTVMultiplex 
    9292    QString          sistandard;
    9393};
    9494
    95 class ScanDTVTransport : public DTVMultiplex
     95class __attribute__(( visibility( "default" ) )) ScanDTVTransport : public DTVMultiplex
    9696{
    9797  public:
    9898    ScanDTVTransport() :