[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:05 UTC 2017


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

The following commit has been merged in the master branch:
commit 74461dd370e99dca51668e7e1749bff6f99ece72
Author: Robin Mills <robin at clanmills.com>
Date:   Sat Dec 28 18:20:43 2013 +0000

    Issue: 940.  Simplified (and hopefully final) fix.
---
 src/futils.cpp | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/futils.cpp b/src/futils.cpp
index 2ba8e9d..95da9cc 100644
--- a/src/futils.cpp
+++ b/src/futils.cpp
@@ -89,16 +89,10 @@ namespace Exiv2 {
 
 #define UNUSED(x) (void)(x)
 
-#if     EXV_HAVE_STRERROR_R
-#ifndef STRERROR_R_CHAR_P 
-// man 3 sterror_r
-#if    ( _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ) && ! _GNU_SOURCE
-// XSI-compliant version of strerror_r() is provided
-#else
-#if     defined(__clang__) || defined(__GNUG__)
-#define STRERROR_R_CHAR_P
-#endif
-#endif
+// Linux GCC 4.8 appears to be confused about strerror_r
+#ifndef EXV_STRERROR_R_CHAR_P
+#ifdef  __gnu_linux__
+#define EXV_STRERROR_R_CHAR_P
 #endif
 #endif
 
@@ -111,7 +105,7 @@ namespace Exiv2 {
         char  buff[n];
         std::memset(buff, 0x0, n);
         // _GNU_SOURCE: See Debian bug #485135
-#ifdef  STRERROR_R_CHAR_P
+#ifdef  EXV_STRERROR_R_CHAR_P
         char* buf = strerror_r(error, buff, n);
 #else
         char* buf   = buff;

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list