summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch')
-rw-r--r--media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch b/media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch
new file mode 100644
index 000000000000..c34f733f69f3
--- /dev/null
+++ b/media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch
@@ -0,0 +1,24 @@
+diff -Naur qmpdclient-1.0.8.old/src/qmpdclient.cpp qmpdclient-1.0.8/src/qmpdclient.cpp
+--- qmpdclient-1.0.8.old/src/qmpdclient.cpp 2007-07-05 03:03:11.000000000 +0200
++++ qmpdclient-1.0.8/src/qmpdclient.cpp 2007-07-05 03:03:50.000000000 +0200
+@@ -34,7 +34,7 @@
+ #include <QTranslator>
+ #include <QWheelEvent>
+
+-QMPDClient::QMPDClient(int argc, char **argv) : QApplication(argc, argv), m_translator(0), m_qtTranslator(0) {
++QMPDClient::QMPDClient(int &argc, char **argv) : QApplication(argc, argv), m_translator(0), m_qtTranslator(0) {
+ setObjectName("qmpdclient");
+ setApplicationName("QMPDClient");
+ setOrganizationName("QMPDClient");
+diff -Naur qmpdclient-1.0.8.old/src/qmpdclient.h qmpdclient-1.0.8/src/qmpdclient.h
+--- qmpdclient-1.0.8.old/src/qmpdclient.h 2007-07-05 03:03:11.000000000 +0200
++++ qmpdclient-1.0.8/src/qmpdclient.h 2007-07-05 03:03:35.000000000 +0200
+@@ -32,7 +32,7 @@
+ class QMPDClient : public QApplication {
+ Q_OBJECT
+ public:
+- QMPDClient(int, char **);
++ QMPDClient(int &, char **);
+ ~QMPDClient();
+ bool eventFilter(QObject *, QEvent *);
+ #ifdef Q_WS_X11