Files
termux-packages/packages/mesa/0016-define-reallocarray.patch
termux-pacman-bot 438ce596ba enhance(main/mesa): enable build rusticl
Also add patches for on device build
2025-06-24 01:34:55 +00:00

12 lines
270 B
Diff

--- a/src/util/reallocarray.h
+++ b/src/util/reallocarray.h
@@ -24,7 +24,7 @@
#ifndef REALLOCARRAY_H
#define REALLOCARRAY_H
-#if !defined(HAVE_REALLOCARRAY)
+#if !defined(HAVE_REALLOCARRAY) || defined(__TERMUX__)
#include <stdlib.h> // size_t
#include <errno.h>