[MacPorts] #38951: rdesktop +smartcard errors on 10.6.8 64bit
MacPorts
noreply at macports.org
Thu May 2 03:53:59 PDT 2013
#38951: rdesktop +smartcard errors on 10.6.8 64bit
---------------------------+--------------------------------
Reporter: ian.cheong@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Comment (by ian.cheong@…):
Minimal fix to get rdesktop 1.7.1 + smartcard to build. Seems to still
recognise smart card at least partially for SafeSign token administration
utility
1. fudge to non-existent lib64 problem with:
{{{
$ sudo ln -s /opt/local/lib /opt/local/lib64
}}}
2. comment out part with missing symbols in scard.o. diff file content
{{{
--- 1.7.1-src/scard.c 2011-12-07 19:49:44.000000000 +1000
+++ irc-1.7.1-works/scard.c 2013-05-02 20:22:05.000000000 +1000
@@ -2152,7 +2152,9 @@
{
/* Translate to local encoding */
dwControlCode = (dwControlCode & 0x3ffc) >> 2;
- dwControlCode = SCARD_CTL_CODE(dwControlCode);
+/*IRC try rid of this
+dwControlCode = SCARD_CTL_CODE(dwControlCode);
+*/
}
else
{
@@ -2197,6 +2199,7 @@
DEBUG_SCARD(("SCARD: -> Success (out: %d bytes)\n", (int)
nBytesReturned));
}
+/* IRC try rid of this
#ifdef PCSCLITE_VERSION_NUMBER
if (dwControlCode == SCARD_CTL_CODE(3400))
{
@@ -2214,6 +2217,7 @@
}
}
#endif
+*/
out_uint32_le(out, nBytesReturned);
out_uint32_le(out, 0x00000004);
}}}
There is a reference to removing definition of SCARD_CTL_CODE in 2005
revisions of MacOS Smart Card Services.
[http://smartcardservices.macosforge.org/trac/browser/releases/Apple/OSX-10.7.0/SmartcardCCID-55000/ccid/ccid/ChangeLog]
--
Ticket URL: <https://trac.macports.org/ticket/38951#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list