Commits

Leonardo Brondani Schenkel authored 40d0ce1f398
opensc: update to 0.20.0

Drop patches fixed upstream.
No tags

security/opensc/files/patch-xcode10.diff

Deleted
1 -diff --git a/src/libopensc/internal-winscard.h b/src/libopensc/internal-winscard.h
2 -index 011167ddc..edc315ca2 100644
3 ---- a/src/libopensc/internal-winscard.h
4 -+++ b/src/libopensc/internal-winscard.h
5 -@@ -138,6 +138,7 @@ typedef const SCARD_IO_REQUEST *LPCSCARD_IO_REQUEST;
6 -
7 - #endif /* HAVE_SCARD_H */
8 -
9 -+#ifndef PCSC_API
10 - #if defined(_WIN32)
11 - #define PCSC_API WINAPI
12 - #elif defined(USE_CYGWIN)
13 -@@ -145,6 +146,12 @@ typedef const SCARD_IO_REQUEST *LPCSCARD_IO_REQUEST;
14 - #else
15 - #define PCSC_API
16 - #endif
17 -+#endif
18 -+
19 -+#ifdef __APPLE__
20 -+#define extern
21 -+#define __attribute__(a)
22 -+#endif
23 -
24 - typedef LONG (PCSC_API *SCardEstablishContext_t)(DWORD dwScope, LPCVOID pvReserved1,
25 - LPCVOID pvReserved2, LPSCARDCONTEXT phContext);
26 -@@ -174,6 +181,11 @@ typedef LONG (PCSC_API *SCardListReaders_t)(SCARDCONTEXT hContext, LPCSTR mszGro
27 - typedef LONG (PCSC_API *SCardGetAttrib_t)(SCARDHANDLE hCard, DWORD dwAttrId,\
28 - LPBYTE pbAttr, LPDWORD pcbAttrLen);
29 -
30 -+#ifdef __APPLE__
31 -+#undef extern
32 -+#undef __attribute__
33 -+#endif
34 -+
35 - /* Copied from pcsc-lite reader.h */
36 -
37 - #ifndef SCARD_CTL_CODE

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut