diff options
author | Eric Hameleers <alien@slackware.com> | 2015-10-12 00:21:03 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-10-12 00:21:03 +0200 |
commit | f31d934a55c6aab9c37cc9bc5f4c84e6a7df2c35 (patch) | |
tree | 8680ee2a72ab64ad3c3a73f99be753ffc5409538 /deps/telepathy/telepathy-qt5/patches | |
parent | e621e1b7ecc65c2310ad156df97373668c29d5bd (diff) | |
download | ktown-f31d934a55c6aab9c37cc9bc5f4c84e6a7df2c35.tar.gz ktown-f31d934a55c6aab9c37cc9bc5f4c84e6a7df2c35.tar.xz |
kde/applications: enable KDE Telepathy and add all required dependencies.
Diffstat (limited to 'deps/telepathy/telepathy-qt5/patches')
-rw-r--r-- | deps/telepathy/telepathy-qt5/patches/glibc-2.20.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/deps/telepathy/telepathy-qt5/patches/glibc-2.20.patch b/deps/telepathy/telepathy-qt5/patches/glibc-2.20.patch new file mode 100644 index 0000000..0366b0f --- /dev/null +++ b/deps/telepathy/telepathy-qt5/patches/glibc-2.20.patch @@ -0,0 +1,25 @@ +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 + |