[Pkg-gnupg-commit] [libassuan] 328/437: Prepare for a gpg-error change

Eric Dorland eric at moszumanska.debian.org
Fri May 22 05:33:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libassuan.

commit 1fa59a0a720115b2dcc515bc8d01cc041107d02b
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Aug 19 13:19:56 2010 +0000

    Prepare for a gpg-error change
---
 ChangeLog       |  5 +++++
 configure.ac    | 13 +++++++++++++
 src/assuan.h.in |  2 +-
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index cb847bd..6c42443 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-19  Werner Koch  <wk at g10code.com>
+
+	* configure.ac (AH_TOP, AH_BOTTOM): New.  Define
+	GPG_ERR_ENABLE_ERRNO_MACROS.
+
 2010-08-09  Werner Koch  <wk at g10code.com>
 
 	Release 2.0.1
diff --git a/configure.ac b/configure.ac
index 81de1b8..c1bdfc2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,6 +96,19 @@ esac
 
 AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
 
+AH_TOP([
+#ifndef _ASSUAN_CONFIG_H_INCLUDED
+#define _ASSUAN_CONFIG_H_INCLUDED
+
+/* Enable gpg-error's strerror macro under W32CE.  */
+#define GPG_ERR_ENABLE_ERRNO_MACROS 1
+])
+
+AH_BOTTOM([
+
+#endif /*_ASSUAN_CONFIG_H_INCLUDED*/
+])
+
 
 # Checks for programs.
 missing_dir=`cd $ac_aux_dir && pwd`
diff --git a/src/assuan.h.in b/src/assuan.h.in
index 86733a3..8e1982d 100644
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -352,7 +352,7 @@ gpg_error_t assuan_pipe_connect (assuan_context_t ctx,
 gpg_error_t assuan_socket_connect (assuan_context_t ctx, const char *name,
 				   pid_t server_pid, unsigned int flags);
 
-/*-- assuan-connect.c --*/
+/*-- context.c --*/
 pid_t assuan_get_pid (assuan_context_t ctx);
 struct _assuan_peercred
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libassuan.git



More information about the Pkg-gnupg-commit mailing list