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

29 lines
859 B
Diff

--- examples/ThirdPartyLibs/Gwen/Gwen.cpp.orig 2015-08-05 11:31:24.936137203 +0200
+++ examples/ThirdPartyLibs/Gwen/Gwen.cpp 2015-08-05 11:31:33.447238474 +0200
@@ -5,6 +5,7 @@
*/
+#include <stdio.h>
#include "Gwen/Gwen.h"
--- examples/ExampleBrowser/GwenGUISupport/GwenParameterInterface.cpp.orig 2015-08-05 11:34:15.185162987 +0200
+++ 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"
--- Extras/VHACD/inc/vhacdMutex.h 2021-05-07 20:04:02.000000000 +0200
+++ - 2021-05-26 20:28:52.836634329 +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