summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-13 12:56:24 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-13 12:56:24 +0000
commit67bed256ad20ad02f48cd50e47a7e6030187715c (patch)
tree038f4bd674ef104013b91a933db383adc524674d /dev-libs/opensc/files
parentChange x86 keywording to work better (diff)
downloadhistorical-67bed256ad20ad02f48cd50e47a7e6030187715c.tar.gz
historical-67bed256ad20ad02f48cd50e47a7e6030187715c.tar.bz2
historical-67bed256ad20ad02f48cd50e47a7e6030187715c.zip
64bit lovin !
Diffstat (limited to 'dev-libs/opensc/files')
-rw-r--r--dev-libs/opensc/files/0.8.1-64bit.patch20
-rw-r--r--dev-libs/opensc/files/digest-opensc-0.8.1-r1 (renamed from dev-libs/opensc/files/digest-opensc-0.8.1)0
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/opensc/files/0.8.1-64bit.patch b/dev-libs/opensc/files/0.8.1-64bit.patch
new file mode 100644
index 000000000000..91b18496443e
--- /dev/null
+++ b/dev-libs/opensc/files/0.8.1-64bit.patch
@@ -0,0 +1,20 @@
+--- 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;
+
diff --git a/dev-libs/opensc/files/digest-opensc-0.8.1 b/dev-libs/opensc/files/digest-opensc-0.8.1-r1
index 4a8463064b25..4a8463064b25 100644
--- a/dev-libs/opensc/files/digest-opensc-0.8.1
+++ b/dev-libs/opensc/files/digest-opensc-0.8.1-r1