# ChangeLog for dev-libs/opensc
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.8 2004/08/31 22:10:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/ChangeLog,v 1.9 2004/10/13 12:56:24 vapier Exp $
+
+*opensc-0.8.1-r1 (13 Oct 2004)
+
+ 13 Oct 2004; Mike Frysinger <vapier@gentoo.org> +files/0.8.1-64bit.patch,
+ +opensc-0.8.1-r1.ebuild, -opensc-0.8.1.ebuild, opensc-0.9.2.ebuild:
+ Version bump to fix 64bit problems. Patch by Andreas Steffen.
*opensc-0.9.2 (31 Aug 2004)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 09173a2e68f31f5546c5c1ac0a4ebf7e opensc-0.8.1.ebuild 1224
-MD5 0caf09595cc6fefd6259d7addbda8c60 ChangeLog 1258
-MD5 0ae67158bcd1828ac8ce0c76ae0c22e9 opensc-0.9.2.ebuild 1242
-MD5 f86c0f261be1b0dfc62c930134c05a42 files/digest-opensc-0.8.1 64
+MD5 247fb27e04ff89fd468bf19742185281 ChangeLog 1502
+MD5 d0461d63751f8b5943108238b55d73fa opensc-0.8.1-r1.ebuild 1285
+MD5 4a6b44e8c4b8196caa054da208fab945 opensc-0.9.2.ebuild 1300
+MD5 074aae91efbecf981a1e8ed73d5d1681 files/0.8.1-64bit.patch 577
MD5 7e385f133c96ce2511b8dbed242c2959 files/digest-opensc-0.9.2 64
+MD5 f86c0f261be1b0dfc62c930134c05a42 files/digest-opensc-0.8.1-r1 64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBa0ntHTu7gpaalycRAlSOAKCMiSy8lqikjEuSHRRG+hD4KvMgygCeP0nf
-uksVE+qkbOwIDVLyQzO7pRs=
-=XD0E
+iD8DBQFBbSYJHTu7gpaalycRAp9AAJ99r3i9maUfL+v1DAZ0sVZOMxHlUwCfQ6VK
+TyrlEyORAFr5idMU52sg9E0=
+=g/wG
-----END PGP SIGNATURE-----
--- /dev/null
+--- opensc-0.8.1/src/libopensc/asn1.c.ori Wed Oct 13 12:38:24 2004
++++ opensc-0.8.1/src/libopensc/asn1.c Wed Oct 13 12:39:15 2004
+@@ -474,7 +474,7 @@
+ */
+ static int decode_bit_field(const u8 * inbuf, size_t inlen, void *outbuf, size_t outlen)
+ {
+- u8 data[sizeof(unsigned int)];
++ u8 data[sizeof(size_t)];
+ unsigned int field = 0;
+ int i, n;
+
+@@ -495,7 +495,7 @@
+ static int encode_bit_field(const u8 *inbuf, size_t inlen,
+ u8 **outbuf, size_t *outlen)
+ {
+- u8 data[sizeof(unsigned int)];
++ u8 data[sizeof(size_t)];
+ unsigned int field = 0;
+ int i, bits;
+
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.8.1.ebuild,v 1.8 2004/10/12 03:05:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.8.1-r1.ebuild,v 1.1 2004/10/13 12:56:24 vapier Exp $
+
+inherit eutils
DESCRIPTION="SmartCard library and applications"
HOMEPAGE="http://www.opensc.org/"
src_unpack() {
unpack ${A}
- use X || echo 'all:'$'\n''install:' > ${S}/src/signer/Makefile.in
+ cd ${S}
+ use X || echo 'all:'$'\n''install:' > src/signer/Makefile.in
+ epatch ${FILESDIR}/${PV}-64bit.patch
}
src_compile() {
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.9.2.ebuild,v 1.2 2004/10/12 03:05:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.9.2.ebuild,v 1.3 2004/10/13 12:56:24 vapier Exp $
+
+inherit eutils
MY_P=${P/_/-}
DESCRIPTION="SmartCard library and applications"
src_unpack() {
unpack ${A}
- use X || echo 'all:'$'\n''install:' > ${S}/src/signer/Makefile.in
+ cd ${S}
+ use X || echo 'all:'$'\n''install:' > src/signer/Makefile.in
+ epatch ${FILESDIR}/0.8.1-64bit.patch
}
src_compile() {