From 7612f38ced29eb14aa8c63480da1733c56d714aa Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Sun, 7 Nov 2010 12:05:27 +0000 Subject: 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/ --- security/trousers/files/patch-src-include-threads.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/trousers/files/patch-src-include-threads.h (limited to 'security/trousers/files/patch-src-include-threads.h') diff --git a/security/trousers/files/patch-src-include-threads.h b/security/trousers/files/patch-src-include-threads.h new file mode 100644 index 000000000000..d0c40e55e9e7 --- /dev/null +++ b/security/trousers/files/patch-src-include-threads.h @@ -0,0 +1,11 @@ +--- src/include/threads.h.orig 2010-05-03 11:54:15.000000000 +0900 ++++ src/include/threads.h 2010-10-24 21:04:04.828558009 +0900 +@@ -31,7 +31,7 @@ + #define COND_SIGNAL(c) pthread_cond_signal(c) + + /* thread abstractions */ +-#define THREAD_ID ((THREAD_TYPE)pthread_self()) ++#define THREAD_ID (long int)((THREAD_TYPE)pthread_self()) + #define THREAD_TYPE pthread_t + #define THREAD_JOIN pthread_join + #define THREAD_DETACH pthread_detach -- cgit v1.2.3