[MacPorts] #57516: py-pyscard @1.9.7: error: ‘SCARD_PROTOCOL_UNDEFINED’ undeclared

MacPorts noreply at macports.org
Tue Nov 6 08:58:23 UTC 2018


#57516: py-pyscard @1.9.7: error: ‘SCARD_PROTOCOL_UNDEFINED’ undeclared
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  amake
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-pyscard
------------------------+------------------------
 [https://build.macports.org/builders/ports-10.6_i386_legacy-
 builder/builds/55198/steps/install-port/logs/stdio py-pyscard fails to
 build], at least on Snow Leopard:

 {{{
 In file included from smartcard/scard/scard_wrap.c:3064:
 smartcard/scard/winscarddll.h:280: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/winscarddll.h:286: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/winscarddll.h:304: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/scard_wrap.c: In function ‘_ListReaders’:
 smartcard/scard/scard_wrap.c:3443: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/scard_wrap.c: In function ‘_ListReaderGroups’:
 smartcard/scard/scard_wrap.c:3472: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/scard_wrap.c:3489: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/scard_wrap.c: In function ‘_Status’:
 smartcard/scard/scard_wrap.c:3550: warning: ‘LPTSTR’ is deprecated
 smartcard/scard/scard_wrap.c: In function ‘_Transmit’:
 smartcard/scard/scard_wrap.c:3588: error: ‘SCARD_PROTOCOL_UNDEFINED’
 undeclared (first use in this function)
 smartcard/scard/scard_wrap.c:3588: error: (Each undeclared identifier is
 reported only once
 smartcard/scard/scard_wrap.c:3588: error: for each function it appears
 in.)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57516>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list