[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:44:24 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=3b0404e

The following commit has been merged in the master branch:
commit 3b0404e7b61401c1a193d4d05c76ee57a9d1d83c
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Oct 7 19:55:38 2014 +0000

    #697.  config/ConfigureChecks.cmake: STRERROR_R_CHAR_P revisited
---
 config/CMakeChecks.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/config/CMakeChecks.txt b/config/CMakeChecks.txt
index 5470509..8e40a43 100644
--- a/config/CMakeChecks.txt
+++ b/config/CMakeChecks.txt
@@ -160,12 +160,16 @@ ENDIF( HAVE_SYS_TIME_H )
 #####################################################################################
 # strerror_r returns char*
 
-# NOTE : reverting commit #2041, which break compilation under linux and windows
-
+# NOTE : adding #if _POSIX code for #697
 CHECK_C_SOURCE_COMPILES( "#include <string.h>
 int main() {
 char * c;
+#if  (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
+  int  l = strerror_r(0,c,0);
+  if ( l ) return 0 ;
+#else
 c = strerror_r(0,c,0);
+#endif   
 return 0;
 }" STRERROR_R_CHAR_P )
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list