diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-08 08:35:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-08 08:35:36 +0700 |
commit | 43a953e2788424ca588ef96dafba41c8c1fee618 (patch) | |
tree | 639040c1f8269f2b96464e0131b7415a23f8d514 /multimedia/telepathy-qt/glibc.patch | |
parent | eda86659c978fcc37425d23ef7c99ff227b27159 (diff) |
multimedia/telepathy-qt: Updated for version 0.9.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/telepathy-qt/glibc.patch')
-rw-r--r-- | multimedia/telepathy-qt/glibc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/telepathy-qt/glibc.patch b/multimedia/telepathy-qt/glibc.patch new file mode 100644 index 0000000000000..ce9af921ec98e --- /dev/null +++ b/multimedia/telepathy-qt/glibc.patch @@ -0,0 +1,26 @@ +From 2a460afdbd0cb39d8dcecaf6cea5ce9ce7d3216b Mon Sep 17 00:00:00 2001 +From: Niels Ole Salscheider <niels_ole@salscheider-online.de> +Date: Fri, 5 Jun 2015 12:47:13 +0200 +Subject: CMake: Fixed deprecated _BSD_SOURCE. + +Since glibc-2.20 _DEFAULT_SOURCE definition is also required. + +Reviewed-by: Alexandr Akulich + +diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake +index d34b24d..dc98697 100644 +--- a/cmake/modules/TelepathyDefaults.cmake ++++ b/cmake/modules/TelepathyDefaults.cmake +@@ -108,7 +108,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) + endif(${NOT_RELEASE} EQUAL 1) + + if(CMAKE_SYSTEM_NAME MATCHES Linux) +- add_definitions(-D_BSD_SOURCE) ++ add_definitions(-D_BSD_SOURCE -D_DEFAULT_SOURCE) + endif(CMAKE_SYSTEM_NAME MATCHES Linux) + + # Compiler coverage +-- +cgit v0.10.2 + + |