0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-21 15:16:41 +00:00
termux-packages/x11-packages/firefox/0026-fix-compile-with-libcxx.patch

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