summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-07-05 18:40:44 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-07-05 18:40:44 +0000
commita6bce14359525a4c86e17644af8394ac533a4dc6 (patch)
treeb5a14a35ce4cf9bdb47cb8b4702781e9c5766573 /media-sound
parentremove inappropriate description (diff)
downloadgentoo-2-a6bce14359525a4c86e17644af8394ac533a4dc6.tar.gz
gentoo-2-a6bce14359525a4c86e17644af8394ac533a4dc6.tar.bz2
gentoo-2-a6bce14359525a4c86e17644af8394ac533a4dc6.zip
Apply patch to fix a crasher bug for amd64 and possibly other arches. Provided by Davide Pesavento <davidepesa at gmail.com> in bug #183593.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qmpdclient/ChangeLog7
-rw-r--r--media-sound/qmpdclient/files/1.0.8-argc-ref-fix.patch24
-rw-r--r--media-sound/qmpdclient/qmpdclient-1.0.8.ebuild5
3 files changed, 34 insertions, 2 deletions
diff --git a/media-sound/qmpdclient/ChangeLog b/media-sound/qmpdclient/ChangeLog
index c6b4ba751492..0b186ce1baf3 100644
--- a/media-sound/qmpdclient/ChangeLog
+++ b/media-sound/qmpdclient/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/qmpdclient
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.16 2007/07/04 21:59:17 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.17 2007/07/05 18:40:44 ticho Exp $
+
+ 05 Jul 2007; Andrej Kacian <ticho@gentoo.org>
+ +files/1.0.8-argc-ref-fix.patch, qmpdclient-1.0.8.ebuild:
+ Apply patch to fix a crasher bug for amd64 and possibly other arches.
+ Provided by Davide Pesavento <davidepesa at gmail.com> in bug #183593.
*qmpdclient-1.0.8 (04 Jul 2007)
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
diff --git a/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild b/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild
index a9b50ae90b3b..e15c1c086630 100644
--- a/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild
+++ b/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild,v 1.1 2007/07/04 21:59:17 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.0.8.ebuild,v 1.2 2007/07/05 18:40:44 ticho Exp $
inherit eutils multilib qt4 toolchain-funcs
@@ -19,6 +19,9 @@ src_unpack() {
unpack "${A}"
cd "${S}"
+ # Fix a crasher for am64 and possibly others. Bug #183593.
+ epatch "${FILESDIR}"/${PV}-argc-ref-fix.patch
+
# Fix the install path
sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:" qmpdclient.pro \
|| die 'sed failed'