From 456d077e738db62d764d5f460451f863f4219d3e Mon Sep 17 00:00:00 2001 From: Hanno Böck Date: Fri, 20 Apr 2007 19:04:52 +0000 Subject: libchipcard path fix for ccid xml (Portage version: 2.1.2.4) --- sys-libs/libchipcard/ChangeLog | 6 +++++- sys-libs/libchipcard/files/libchipcard-ccid-dir.diff | 11 +++++++++++ sys-libs/libchipcard/libchipcard-3.0.2.ebuild | 8 +++++++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 sys-libs/libchipcard/files/libchipcard-ccid-dir.diff (limited to 'sys-libs/libchipcard') diff --git a/sys-libs/libchipcard/ChangeLog b/sys-libs/libchipcard/ChangeLog index ac7a9fc10df4..827a7e18b3f9 100644 --- a/sys-libs/libchipcard/ChangeLog +++ b/sys-libs/libchipcard/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libchipcard # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.51 2007/04/05 16:43:17 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/ChangeLog,v 1.52 2007/04/20 19:04:52 hanno Exp $ + + 20 Apr 2007; Hanno Boeck + +files/libchipcard-ccid-dir.diff, libchipcard-3.0.2.ebuild: + Fix paths for ccid driver. 05 Apr 2007; Hanno Boeck libchipcard-3.0.2.ebuild: Re-slot to 2, can't be installed parallel. diff --git a/sys-libs/libchipcard/files/libchipcard-ccid-dir.diff b/sys-libs/libchipcard/files/libchipcard-ccid-dir.diff new file mode 100644 index 000000000000..c69918236fcf --- /dev/null +++ b/sys-libs/libchipcard/files/libchipcard-ccid-dir.diff @@ -0,0 +1,11 @@ +--- libchipcard3-3.0.2/data/drivers/ccid_ifd/ccid_ifd.xml.orig 2007-04-20 18:58:48.000000000 +0200 ++++ libchipcard3-3.0.2/data/drivers/ccid_ifd/ccid_ifd.xml 2007-04-20 18:59:57.000000000 +0200 +@@ -32,6 +32,8 @@ + /usr/local/lib64 + /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux + /usr/local/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux ++ /usr/lib/readers/usb/ifd-ccid.bundle/Contents/Linux/ ++ /usr/lib64/readers/usb/ifd-ccid.bundle/Contents/Linux/ + + + diff --git a/sys-libs/libchipcard/libchipcard-3.0.2.ebuild b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild index 048946e99ee3..450b73c51ff6 100644 --- a/sys-libs/libchipcard/libchipcard-3.0.2.ebuild +++ b/sys-libs/libchipcard/libchipcard-3.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-3.0.2.ebuild,v 1.3 2007/04/05 16:43:17 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libchipcard/libchipcard-3.0.2.ebuild,v 1.4 2007/04/20 19:04:52 hanno Exp $ MY_P="${PN}3-${PV}" DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)." @@ -20,6 +20,12 @@ DEPEND=">=sys-libs/gwenhywfar-2.5.1 S=${WORKDIR}/${MY_P} +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/libchipcard-ccid-dir.diff" +} + src_compile() { econf \ `use_enable ssl` \ -- cgit v1.2.3-65-gdbad