0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/firefox/0027-fix-compile-with-libcxx.patch
2024-09-15 00:32:00 +08:00

12 lines
283 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) && !defined(ANDROID)
+#if defined(XP_LINUX) && !defined(_LIBCPP_VERSION)
#define malloc moz_xmalloc
#define calloc moz_xcalloc