--- /dev/null
+--- 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;
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
%prep
%setup -q -n %{orgname}-%{version}
+%patch0 -p1
%build
%if %{with qt4}