diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-16 20:31:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-16 20:31:05 +0100 |
commit | ae99f3df3fb5c7ebb085d4a198c1854a4c9a1bee (patch) | |
tree | 63845e7d405c04516103b1cee33911cea9a63b0e /dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch | |
parent | 2cb26483945211e812d7a0351ae472a676cd9592 (diff) |
gentoo auto-resync : 16:08:2022 - 20:31:05
Diffstat (limited to 'dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch')
-rw-r--r-- | dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch b/dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch new file mode 100644 index 000000000000..0f909111150d --- /dev/null +++ b/dev-libs/libtracefs/files/libtracefs-1.3.1-musl-pthread.patch @@ -0,0 +1,16 @@ +# On musl it is necessary to include pthread header else the compiler cannot +# identify pthread_mutex_t as a known type +# Closes: https://bugs.gentoo.org/855893 +diff --git a/include/tracefs-local.h b/include/tracefs-local.h +index 926fd02..779e853 100644 +--- a/include/tracefs-local.h ++++ b/include/tracefs-local.h +@@ -6,6 +6,8 @@ + #ifndef _TRACE_FS_LOCAL_H + #define _TRACE_FS_LOCAL_H + ++#include <pthread.h> ++ + #define __hidden __attribute__((visibility ("hidden"))) + #define __weak __attribute__((weak)) + |