summaryrefslogtreecommitdiff
path: root/package/krb5/patches/patch-src_include_k5-thread_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:16:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:17:23 +0200
commit6f247375032b7e498c7cbb965ddb7b587aafd15a (patch)
treea31d723386fcd2f5c0d43877baf9a648e4aa8971 /package/krb5/patches/patch-src_include_k5-thread_h
parent4e78bdcbd3272c94e352a360e33c4c0b837adb9f (diff)
use own copy pf libss/libcom_err
Diffstat (limited to 'package/krb5/patches/patch-src_include_k5-thread_h')
-rw-r--r--package/krb5/patches/patch-src_include_k5-thread_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/krb5/patches/patch-src_include_k5-thread_h b/package/krb5/patches/patch-src_include_k5-thread_h
new file mode 100644
index 000000000..71eb656f9
--- /dev/null
+++ b/package/krb5/patches/patch-src_include_k5-thread_h
@@ -0,0 +1,19 @@
+--- krb5-1.12.1.orig/src/include/k5-thread.h 2014-01-16 01:44:15.000000000 +0100
++++ krb5-1.12.1/src/include/k5-thread.h 2014-06-05 20:59:34.000000000 +0200
+@@ -380,14 +380,12 @@ static inline int k5_mutex_finish_init(k
+
+ static inline void k5_mutex_lock(k5_mutex_t *m)
+ {
+- int r = k5_os_mutex_lock(m);
+- assert(r == 0);
++ k5_os_mutex_lock(m);
+ }
+
+ static inline void k5_mutex_unlock(k5_mutex_t *m)
+ {
+- int r = k5_os_mutex_unlock(m);
+- assert(r == 0);
++ k5_os_mutex_unlock(m);
+ }
+
+ #define k5_mutex_assert_locked(M) ((void)(M))