void-packages/srcpkgs/avidemux/patches/musl-memcpy.patch

12 lines
349 B
Diff

--- a/avidemux_core/ADM_core/include/ADM_assert.h 2015-06-10 07:42:47.000000000 +0200
+++ b/avidemux_core/ADM_core/include/ADM_assert.h 2015-09-28 08:08:55.729367070 +0200
@@ -69,7 +69,7 @@
#define ADM_dealloc(x) ADM_dezalloc( (void *)x)
-#ifndef __APPLE__
+#if !defined(__APPLE__) && defined(__GLIBC__)
#define memcpy myAdmMemcpy
#endif