Import libglobalplatform-6.0.0 as wip/libglobalplatform.

The GlobalPlatform Library is a C library for managing the contents of
a GlobalPlatform smart card.
Import gpshell-1.4.4 as wip/gpshell

GPShell is a script interpreter which talks to a smart card which
complies to the GlobalPlatform Card Specification.  It is written on
top of the GlobalPlatform Library.  It uses the PC-SC Connection
Plugin for accessing smart cards.  It can establish a secure channel
with a smart card, load, instantiate, delete and list applications on
supported smart cards.  These applications are practically always
JavaCard applets.
add patch to fix initialization of locked smart cards

Add a patch to prevent gpshell from exiting with an error if the smart
card is locked.  See:
http://sourceforge.net/mailarchive/forum.php?thread_name=CADr12F1tV04Atz-n5f43%2BenQNYF09HXMextZsLF-2QpomQAJWw%40mail.gmail.com&forum_name=opensc-devel