[git] Assuan - branch, master, updated. libassuan-2.4.3-3-gb26b73d

by Justus Winter cvs at cvs.gnupg.org
Wed Mar 8 12:30:21 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPC library used by GnuPG".

The branch, master has been updated
       via  b26b73d04bff10852382113ae361ea5726661510 (commit)
      from  8ab3b9273524bd344bdb90dd5d3bc8e5f53ead6e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b26b73d04bff10852382113ae361ea5726661510
Author: Justus Winter <justus at g10code.com>
Date:   Wed Mar 8 12:11:04 2017 +0100

    build: Use macOS' compatibility macros to enable all features.
    
    * configure.ac: On macOS, use the compatibility macros to expose every
    feature of the libc.  This is the equivalent of _GNU_SOURCE on GNU
    libc.
    --
    Not defining this leads to compilation errors or superfluous warnings
    on macOS.
    
    GnuPG-bug-id: 2910
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/configure.ac b/configure.ac
index dc987f7..963a76b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,7 +114,8 @@ case "${host}" in
         ;;
     *-apple-darwin*)
         AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X)
-        AC_DEFINE(_DARWIN_C_SOURCE, 1, Activate CMSG_LEN/CMSG_SPACE on MacOS X)
+        AC_DEFINE(_DARWIN_C_SOURCE, 900000L,
+                  Expose all libc features (__DARWIN_C_FULL))
         ;;
 esac
 

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
IPC library used by GnuPG
http://git.gnupg.org




More information about the Gnupg-commits mailing list