[packages/telepathy-qt4] - updated to 0.9.6.1 - added warnings patch (avoid warnings as -Werror is used)
qboosh
qboosh at pld-linux.org
Fri May 29 20:56:35 CEST 2015
commit aecbea1fbb2d0b96366443a3babf524bc822c837
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri May 29 20:57:54 2015 +0200
- updated to 0.9.6.1
- added warnings patch (avoid warnings as -Werror is used)
telepathy-qt-warnings.patch | 21 +++++++++++++++++++++
telepathy-qt4.spec | 8 +++++---
2 files changed, 26 insertions(+), 3 deletions(-)
---
diff --git a/telepathy-qt4.spec b/telepathy-qt4.spec
index 99b119d..da91ac6 100644
--- a/telepathy-qt4.spec
+++ b/telepathy-qt4.spec
@@ -12,12 +12,13 @@
Summary: Library for Qt4-based Telepathy clients
Summary(pl.UTF-8): Biblioteka dla klientów Telepathy opartych na Qt4
Name: telepathy-qt4
-Version: 0.9.5
-Release: 2
+Version: 0.9.6.1
+Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://telepathy.freedesktop.org/releases/telepathy-qt/%{orgname}-%{version}.tar.gz
-# Source0-md5: 22c0daa7e4f7e48e779f703c9b27b816
+# Source0-md5: bebebfbe29d194a9ba00b4f422a44f74
+Patch0: telepathy-qt-warnings.patch
URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4
BuildRequires: cmake >= 2.6
BuildRequires: dbus-devel
@@ -132,6 +133,7 @@ Pliki nagłówkowe biblioteki telepathy-qt5.
%prep
%setup -q -n %{orgname}-%{version}
+%patch0 -p1
%build
%if %{with qt4}
diff --git a/telepathy-qt-warnings.patch b/telepathy-qt-warnings.patch
new file mode 100644
index 0000000..990aa65
--- /dev/null
+++ b/telepathy-qt-warnings.patch
@@ -0,0 +1,21 @@
+--- telepathy-qt-0.9.6.1/cmake/modules/TelepathyDefaults.cmake.orig 2015-05-24 21:33:18.000000000 +0200
++++ telepathy-qt-0.9.6.1/cmake/modules/TelepathyDefaults.cmake 2015-05-29 18:06:23.916014194 +0200
+@@ -108,7 +108,7 @@
+ endif(${NOT_RELEASE} EQUAL 1)
+
+ if(CMAKE_SYSTEM_NAME MATCHES Linux)
+- add_definitions(-D_BSD_SOURCE)
++ add_definitions(-D_DEFAULT_SOURCE)
+ endif(CMAKE_SYSTEM_NAME MATCHES Linux)
+
+ # Compiler coverage
+--- telepathy-qt-0.9.6.1/tests/dbus/stream-tube-chan.cpp.orig 2015-05-24 21:33:18.000000000 +0200
++++ telepathy-qt-0.9.6.1/tests/dbus/stream-tube-chan.cpp 2015-05-29 18:55:05.122558269 +0200
+@@ -118,6 +118,7 @@
+ g_object_unref(localAddress);
+
+ Q_ASSERT(success);
++ (void)success;
+ }
+
+ return clientSocket;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/telepathy-qt4.git/commitdiff/aecbea1fbb2d0b96366443a3babf524bc822c837
More information about the pld-cvs-commit
mailing list