void-packages/srcpkgs/bullet/patches/musl.patch

29 lines
889 B
Diff

--- a/examples/ThirdPartyLibs/Gwen/Gwen.cpp 2015-08-05 11:31:24.936137203 +0200
+++ b/examples/ThirdPartyLibs/Gwen/Gwen.cpp 2015-08-05 11:31:33.447238474 +0200
@@ -5,6 +5,7 @@
*/
+#include <stdio.h>
#include "Gwen/Gwen.h"
--- a/examples/ExampleBrowser/GwenGUISupport/GwenParameterInterface.cpp 2015-08-05 11:34:15.185162987 +0200
+++ b/examples/ExampleBrowser/GwenGUISupport/GwenParameterInterface.cpp 2015-08-05 11:34:24.896278540 +0200
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include "GwenParameterInterface.h"
#include "gwenInternalData.h"
--- a/Extras/VHACD/inc/vhacdMutex.h 2021-05-07 20:04:02.000000000 +0200
+++ b/Extras/VHACD/inc/vhacdMutex.h 2021-05-07 20:04:02.000000000 +0200
@@ -69,7 +69,7 @@
#include <pthread.h>
#endif
-#if defined(__APPLE__)
+#if defined(__APPLE__) || !defined(__GLIBC__)
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif