diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:05:27 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-11-07 12:05:27 +0000 |
commit | 7612f38ced29eb14aa8c63480da1733c56d714aa (patch) | |
tree | a5c28dd8af068213f99b7b54305fd93dac4eb106 /security/trousers/files/patch-src-include-tcs_tsp.h | |
parent | - Update to 0.87. (diff) |
Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack. It is mostly compliant with the TSS 1.2
specification.
Obtained from: http://bsssd.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=264182
Diffstat (limited to 'security/trousers/files/patch-src-include-tcs_tsp.h')
-rw-r--r-- | security/trousers/files/patch-src-include-tcs_tsp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src-include-tcs_tsp.h b/security/trousers/files/patch-src-include-tcs_tsp.h new file mode 100644 index 000000000000..675769ac4960 --- /dev/null +++ b/security/trousers/files/patch-src-include-tcs_tsp.h @@ -0,0 +1,16 @@ +--- src/include/tcs_tsp.h.orig 2010-01-29 01:27:51.000000000 +0900 ++++ src/include/tcs_tsp.h 2010-10-24 21:04:04.822560729 +0900 +@@ -79,7 +79,13 @@ + /* XXX Get rid of this, there's no reason to set an arbitrary limit */ + #define MAX_KEY_CHILDREN 10 + ++#ifndef STRUCTURE_PACKING_ATTRIBUTE ++#ifdef __GCC + #define STRUCTURE_PACKING_ATTRIBUTE __attribute__((packed)) ++#else ++#define STRUCTURE_PACKING_ATTRIBUTE /* */ ++#endif ++#endif + + #ifdef TSS_DEBUG + #define DBG_ASSERT(x) assert(x) |