Received: from [140.186.70.92] (port=47661 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRojU-0000wO-0G for qemu-devel@nongnu.org; Sun, 12 Dec 2010 11:25:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRojS-0006gn-B6 for qemu-devel@nongnu.org; Sun, 12 Dec 2010 11:25:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRojS-0006gU-2h for qemu-devel@nongnu.org; Sun, 12 Dec 2010 11:25:06 -0500 Date: Sun, 12 Dec 2010 18:24:58 +0200 From: Alon Levy Subject: Re: [Qemu-devel] [PATCH 0/6] usb-ccid (v8) Message-ID: <20101212162457.GB6935@playa.tlv.redhat.com> References: <1290955607-25821-1-git-send-email-alevy@redhat.com> <20101207102019.GC31414@playa.tlv.redhat.com> <4D0399DB.4090008@redhat.com> <20101212113513.GA2017@playa.tlv.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Hans de Goede , qemu-devel@nongnu.org On Sun, Dec 12, 2010 at 03:07:52PM +0000, Blue Swirl wrote: > > There is a typo in configure: > diff --git a/configure b/configure > index 4b55904..7288b09 100755 > --- a/configure > +++ b/configure > @@ -2142,7 +2142,7 @@ if test "$smartcard" != "no" ; then > QEMU_CFLAGS="$QEMU_CFLAGS $smartcard_cflags $libcaccard_cflags" > LIBS="$libcaccard_libs $LIBS" > else > - if test "smartcard" = "yes" ; then > + if test "$smartcard" = "yes" ; then > feature_not_found "smartcard" > fi > smartcard="no" > > Build also fails when compiling in an object directory: > make: *** libcaccard: No such file or directory. Stop. > make: *** [subdir-libcaccard] Error 2 > ok, will fix. > I'd even remove the configure option and build the card by default if > the dependencies are found. > ok, good idea. > There were also whitespace problems when applying: > Applying ccid: add ccid-card-emulated device (v2) > .dotest/patch:37: trailing whitespace. > * for i in 1 2 3; do certutil -d /etc/pki/nssdb -x -t "CT,CT,CT" -S > -s "CN=user$i" -n user$i; done > warning: 1 line applied after fixing whitespace errors. > Applying ccid: add docs > .dotest/patch:121: trailing whitespace. > [APDU<->APDU repeats several times] > warning: 1 line applied after fixing whitespace errors. > will fix as well.