[git] GPGME - branch, master, updated. gpgme-1.8.0-60-g60273e8

by Justus Winter cvs at cvs.gnupg.org
Mon Feb 13 15:12:27 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 "GnuPG Made Easy".

The branch, master has been updated
       via  60273e8b2c11d42215a5707bc55e3e0d8f350e07 (commit)
       via  f8db658f8b4c3c7941d0029273fb23fbe1ba74ad (commit)
      from  60064c665ec98a2a994fc6c8ad701e60b963ce7e (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 60273e8b2c11d42215a5707bc55e3e0d8f350e07
Author: Justus Winter <justus at g10code.com>
Date:   Mon Feb 13 14:58:07 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 a5ee77b..ba26901 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,6 +167,8 @@ case "${host}" in
 	have_ld_version_script=yes
         ;;
     *-apple-darwin*)
+        AC_DEFINE(_DARWIN_C_SOURCE, 900000L,
+                  Expose all libc features (__DARWIN_C_FULL).)
         AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X)
         ;;
 esac

commit f8db658f8b4c3c7941d0029273fb23fbe1ba74ad
Author: Justus Winter <justus at g10code.com>
Date:   Mon Feb 13 14:01:32 2017 +0100

    Revert "Disable fd-passing for Apple."
    
    The actual bug has been located, so this can be reverted.
    
    This reverts commit ef5b4ae37d13142e89a051908dc080cda3d24baa.

diff --git a/configure.ac b/configure.ac
index f28480b..a5ee77b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -722,18 +722,7 @@ AC_CHECK_MEMBER(struct cmsghdr.cmsg_len,
 #include <unistd.h>
        ])
 
-
-dnl There seems to be a problem with Apple and decriptor passing.
-dnl Until we found a solution we change the default to no.
-dnl See bug 1483.
-case "${host}" in
-    *-apple-darwin*)
-      use_descriptor_passing=no
-      ;;
-    *)
-      use_descriptor_passing=yes
-      ;;
-esac
+use_descriptor_passing=yes
 AC_ARG_ENABLE(fd-passing,
   AC_HELP_STRING([--disable-fd-passing], [do not use FD passing]),
   use_descriptor_passing=$enableval)

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

Summary of changes:
 configure.ac | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list