0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/x11-packages/thunderbird/0021-no-redefine-realloc.patch
2024-09-17 12:26:11 +08:00

12 lines
257 B
Diff

--- a/gfx/graphite2/src/MozGrMalloc.h
+++ b/gfx/graphite2/src/MozGrMalloc.h
@@ -12,7 +12,7 @@
#include "mozilla/mozalloc.h"
-#if defined(XP_LINUX)
+#if defined(XP_LINUX) && !defined(__TERMUX__)
#define malloc moz_xmalloc
#define calloc moz_xcalloc