mame: unbreak musl
This commit is contained in:
parent
7c523d774c
commit
480cd3a6e7
1 changed files with 11 additions and 0 deletions
11
srcpkgs/mame/patches/0001-musl-fix.patch
Normal file
11
srcpkgs/mame/patches/0001-musl-fix.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- 3rdparty/bx/include/bx/thread.h 2016-02-24 08:02:17.000000000 +0100
|
||||||
|
+++ 3rdparty/bx/include/bx/thread.h 2016-02-24 09:19:51.997080688 +0100
|
||||||
|
@@ -153,7 +153,7 @@
|
||||||
|
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
|
||||||
|
pthread_setname_np(_name);
|
||||||
|
#elif BX_PLATFORM_LINUX
|
||||||
|
-# if defined(__GLIBC__) && (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) )
|
||||||
|
+# if defined(__GLIBC__) && ( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) ) )
|
||||||
|
pthread_setname_np(m_handle, _name);
|
||||||
|
# else
|
||||||
|
prctl(PR_SET_NAME,_name, 0, 0, 0);
|
Loading…
Add table
Add a link
Reference in a new issue