diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-02 21:58:33 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-06-28 10:27:52 -0400 |
commit | 91d77d978fc6ad83777ed077d6acbb8b59a949ba (patch) | |
tree | 4ccc8c2ba87970e609a29c7e6af2038f348ac34b /meta-networking/recipes-connectivity/samba/samba/glibc_only.patch | |
parent | de124b8dba0deee37b03708743ade9b8f0ab43be (diff) | |
download | meta-openembedded-contrib-91d77d978fc6ad83777ed077d6acbb8b59a949ba.tar.gz |
samba: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba/glibc_only.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba/glibc_only.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch b/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch new file mode 100644 index 0000000000..894bc8bb2c --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch @@ -0,0 +1,15 @@ +Index: samba-4.6.2/ctdb/tests/src/test_mutex_raw.c +=================================================================== +--- samba-4.6.2.orig/ctdb/tests/src/test_mutex_raw.c ++++ samba-4.6.2/ctdb/tests/src/test_mutex_raw.c +@@ -166,8 +166,10 @@ int main(int argc, const char **argv) + if (ret == 0) { + pthread_mutex_unlock(mutex); + } ++#ifdef __GLIBC__ + } else if (ret == EBUSY) { + printf("pid=%u\n", mutex->__data.__owner); ++#endif + } else if (ret == 0) { + pthread_mutex_unlock(mutex); + } |