Ticket #12410: myth-qt5-setuid.patch

File myth-qt5-setuid.patch, 746 bytes (added by Mark Spieth, 5 years ago)

allow setuid patch

  • mythtv/programs/mythfrontend/main.cpp

    commit 1680861715b366d5d71b488f0ad4ded22ac8a44f
    Author: Mark Spieth <mspieth@digivation.com.au>
    Date:   Tue Mar 10 22:39:46 2015 +1100
    
        qt5 fixes
    
    diff --git a/mythtv/programs/mythfrontend/main.cpp b/mythtv/programs/mythfrontend/main.cpp
    index d657f28..ddbef58 100644
    a b int main(int argc, char **argv) 
    16371637    // accelerated Flash playback to work without causing mythfrontend to abort.
    16381638    QApplication::setAttribute(Qt::AA_X11InitThreads);
    16391639#endif
     1640#if QT_VERSION >= 0x050300
     1641    QApplication::setSetuidAllowed(true);
     1642#endif
    16401643    new QApplication(argc, argv);
    16411644    QCoreApplication::setApplicationName(MYTH_APPNAME_MYTHFRONTEND);
    16421645