diff options
Diffstat (limited to 'multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp')
-rw-r--r-- | multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp b/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp new file mode 100644 index 00000000000..27a89320588 --- /dev/null +++ b/multimedia/vlc2/patches/patch-modules_gui_qt4_main__interface.hpp @@ -0,0 +1,25 @@ +$NetBSD: patch-modules_gui_qt4_main__interface.hpp,v 1.1 2018/04/25 22:39:02 kamil Exp $ + +Qt's MOC doesn't handle int64_t, so introduce a meaningful type name +so that slot/signal/connection macros work properly. + +--- modules/gui/qt4/main_interface.hpp.orig 2014-12-17 16:53:33.000000000 +0000 ++++ modules/gui/qt4/main_interface.hpp +@@ -36,6 +36,8 @@ + #include <QSystemTrayIcon> + #include <QStackedWidget> + ++typedef int64_t putime_t; ++ + class QSettings; + class QCloseEvent; + class QKeyEvent; +@@ -261,7 +263,7 @@ private slots: + void setBoss(); + void setRaise(); + +- void showResumePanel( int64_t); ++ void showResumePanel( putime_t ); + void hideResumePanel(); + void resumePlayback(); + |