diff options
Diffstat (limited to 'security/pcsc-lite/patches/patch-aa')
-rw-r--r-- | security/pcsc-lite/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/pcsc-lite/patches/patch-aa b/security/pcsc-lite/patches/patch-aa new file mode 100644 index 00000000000..815b850cc4c --- /dev/null +++ b/security/pcsc-lite/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $ + +--- src/PCSC/reader.h.in.orig 2007-11-23 09:47:44.000000000 -0700 ++++ src/PCSC/reader.h.in +@@ -119,7 +119,7 @@ + + /* Set structure elements aligment on bytes + * http://gcc.gnu.org/onlinedocs/gcc/Structure_002dPacking-Pragmas.html */ +-#if defined(__APPLE__) | defined(sun) ++#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__) + #pragma pack(1) + #else + #pragma pack(push, 1) +@@ -197,7 +197,7 @@ typedef struct + } PIN_MODIFY_STRUCTURE; + + /* restore default structure elements alignment */ +-#if defined(__APPLE__) | defined(sun) ++#if defined(__APPLE__) | defined(sun) | defined(__NetBSD__) + #pragma pack() + #else + #pragma pack(pop) |