From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 4 13:40:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 191E31065673 for ; Fri, 4 Jun 2010 13:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3BAD8FC0C for ; Fri, 4 Jun 2010 13:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o54De3Qr027660 for ; Fri, 4 Jun 2010 13:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o54De3mP027658; Fri, 4 Jun 2010 13:40:03 GMT (envelope-from gnats) Date: Fri, 4 Jun 2010 13:40:03 GMT Message-Id: <201006041340.o54De3mP027658@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Guido Falsi Cc: Subject: Re: ports/147288: comms/gnokii does not build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Guido Falsi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 13:40:04 -0000 The following reply was made to PR ports/147288; it has been noted by GNATS. From: Guido Falsi To: bug-followup@FreeBSD.org, anatoly.borodin@gmail.com Cc: Subject: Re: ports/147288: comms/gnokii does not build Date: Fri, 04 Jun 2010 15:33:01 +0200 This is a multi-part message in MIME format. --------------070108050704010509070609 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi! The SCARD_W_INSERTED_CARD define was simply removed with no substitute from the pcsc-lite defines with the update to 1.6.0. [1] [2] I'm attaching a patch which fixes build by not checking for such a return code from pcsc(which reasonably should not return it back anymore not having defined it). This quick fix should be tested by someone using the pcsc gnokii functionality which I'm not able to test. Also already sent information and simple patch upstream. Added file: gnokii/files/patch-common-phones-pcsc.c [1] http://svn.debian.org/viewsvn/pcsclite/trunk/PCSC/src/PCSC/pcsclite.h.in?view=log [2] http://svn.debian.org/viewsvn/pcsclite/trunk/PCSC/src/PCSC/pcsclite.h.in?r1=4544&r2=4574 -- Guido Falsi --------------070108050704010509070609 Content-Type: text/plain; name="gnokii.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gnokii.diff" diff -ruN gnokii.old/files/patch-common-phones-pcsc.c gnokii/files/patch-common-phones-pcsc.c --- gnokii.old/files/patch-common-phones-pcsc.c 1970-01-01 01:00:00.000000000 +0100 +++ gnokii/files/patch-common-phones-pcsc.c 2010-06-04 15:16:29.846724231 +0200 @@ -0,0 +1,10 @@ +--- common/phones/pcsc.c.orig 2010-06-04 15:08:13.000466080 +0200 ++++ common/phones/pcsc.c 2010-06-04 15:15:44.926057193 +0200 +@@ -199,7 +199,6 @@ + case SCARD_W_UNPOWERED_CARD: + case SCARD_W_RESET_CARD: + case SCARD_W_REMOVED_CARD: +- case SCARD_W_INSERTED_CARD: + return GN_ERR_SIMPROBLEM; + case SCARD_E_NO_MEMORY: + return GN_ERR_MEMORYFULL; --------------070108050704010509070609--