commit e40238de1b423062aa694b57b2bf12f6919404f6
Author: Jan Rękorajski <[email protected]>
Date:   Sun Jul 14 16:23:23 2013 +0200

    - fix ambiguity of a c++ method call
    - rel 1

 cxx.patch        | 11 +++++++++++
 qbittorrent.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/qbittorrent.spec b/qbittorrent.spec
index 8b4d56d..ed1e854 100644
--- a/qbittorrent.spec
+++ b/qbittorrent.spec
@@ -8,12 +8,13 @@ Summary(hu.UTF-8):    qbittorrent - Qt4-alapú torrent kliens
 Summary(pl.UTF-8):     qbittorrent - graficzny klient torrenta oparty na Qt4
 Name:          qbittorrent
 Version:       3.0.10
-Release:       0.1
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       
http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
 # Source0-md5: f13c9416524fce8297b41caeadb04f1e
 Patch0:                lang-hu-2.3.0.patch
+Patch1:                cxx.patch
 URL:           http://qbittorrent.sourceforge.net/
 BuildRequires: GeoIP-devel
 BuildRequires: QtCore-devel >= %{qtver}
@@ -48,6 +49,7 @@ qTorrent - graficzny klient torrenta oparty na Qt4.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %if %{with qsa}
 %{__rm} -r src/qtsingleapp
diff --git a/cxx.patch b/cxx.patch
new file mode 100644
index 0000000..204b80a
--- /dev/null
+++ b/cxx.patch
@@ -0,0 +1,11 @@
+--- qbittorrent-3.0.10/src/main.cpp.orig       2013-07-14 16:17:31.884993352 
+0200
++++ qbittorrent-3.0.10/src/main.cpp    2013-07-14 16:17:49.891818931 +0200
+@@ -207,7 +207,7 @@
+       qDebug("Message: %s", qPrintable(message));
+       app.sendMessage(message);
+     } else { // Raise main window
+-      app.sendMessage("qbt://show");
++      app.sendMessage(QString("qbt://show"));
+     }
+     return 0;
+   }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qbittorrent.git/commitdiff/e40238de1b423062aa694b57b2bf12f6919404f6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to