gnupg 2.0.20 on osx

Werner Koch wk at gnupg.org
Sat May 11 21:49:38 CEST 2013


On Sat, 11 May 2013 20:05, sonic at dersonic.org said:

> any suggestions?

Yes, please apply the patch below.  Seems nobody tried to build the beta
on an Apple.


Salam-Shalom,

   Werner


>From 8ddf604659b93754ffa6dea295678a8adc293f90 Mon Sep 17 00:00:00 2001
From: Werner Koch <wk at gnupg.org>
Date: Thu, 25 Apr 2013 12:00:16 +0100
Subject: [PATCH] Fix syntax error for building on APPLE.

* scd/pcsc-wrapper.c [__APPLE__]: Fix syntax error.
--

For W32 and probably for Cygwin we don't need the wrapper, thus the
problems does not exhibit itself.
---
 scd/pcsc-wrapper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scd/pcsc-wrapper.c b/scd/pcsc-wrapper.c
index 7d9415a..f3d92ff 100644
--- a/scd/pcsc-wrapper.c
+++ b/scd/pcsc-wrapper.c
@@ -66,7 +66,7 @@
 static int verbose;
 
 #if defined(__APPLE__) || defined(_WIN32) || defined(__CYGWIN__)
-typedef unsinged int pcsc_dword_t;
+typedef unsigned int pcsc_dword_t;
 #else
 typedef unsigned long pcsc_dword_t;
 #endif
-- 
1.7.7.1


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list