[packages/clementine] fix build with libimobiledevice-1.1.5; patch from fedora

glen glen at pld-linux.org
Sat Sep 7 19:58:32 CEST 2013


commit 4a572e41d3f1bfd0439a53c72b4d8ae883d9e5ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 7 20:58:17 2013 +0300

    fix build with libimobiledevice-1.1.5; patch from fedora

 clementine-1.1.1-libimobiledevice-fix.patch | 12 ++++++++++++
 clementine.spec                             |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/clementine.spec b/clementine.spec
index bdf4dc4..17376ce 100644
--- a/clementine.spec
+++ b/clementine.spec
@@ -19,7 +19,7 @@ Summary:	A music player and library organiser
 Summary(hu.UTF-8):	Egy zenelejátszó és gyűjtemény-kezelő
 Name:		clementine
 Version:	1.1.1
-Release:	5
+Release:	6
 License:	GPL v3 and GPL v2+
 Group:		Applications/Multimedia
 URL:		http://www.clementine-player.org/
@@ -27,6 +27,7 @@ Source0:	http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5:	28e4afb822388bd337a761db8f86febf
 Patch0:		desktop-install.patch
 Patch1:		unbundle-po.patch
+Patch2:		%{name}-1.1.1-libimobiledevice-fix.patch
 BuildRequires:	QtCore-devel >= %{qtver}
 BuildRequires:	QtDBus-devel >= %{qtver}
 BuildRequires:	QtGui-devel >= %{qtver}
@@ -98,6 +99,7 @@ a Qt4 előnyeit.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 # We already don't use these but just to make sure
 rm -rf 3rdparty/gmock
diff --git a/clementine-1.1.1-libimobiledevice-fix.patch b/clementine-1.1.1-libimobiledevice-fix.patch
new file mode 100644
index 0000000..da7722f
--- /dev/null
+++ b/clementine-1.1.1-libimobiledevice-fix.patch
@@ -0,0 +1,12 @@
+diff -up clementine-1.1.1/src/devices/imobiledeviceconnection.h.fix clementine-1.1.1/src/devices/imobiledeviceconnection.h
+--- clementine-1.1.1/src/devices/imobiledeviceconnection.h.fix	2013-04-23 14:44:56.932661018 -0400
++++ clementine-1.1.1/src/devices/imobiledeviceconnection.h	2013-04-23 14:46:44.033657190 -0400
+@@ -51,7 +51,7 @@ private:
+   idevice_t device_;
+   afc_client_t afc_;
+ 
+-  uint16_t afc_port_;
++  lockdownd_service_descriptor_t afc_port_;
+ };
+ 
+ #endif // IMOBILEDEVICECONNECTION_H
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clementine.git/commitdiff/4a572e41d3f1bfd0439a53c72b4d8ae883d9e5ed



More information about the pld-cvs-commit mailing list