new/yocto/meta-browser/meta-chromium/recipes-browser/chromium/files/musl/0006-fontconfig-Musl-does-not-have-rand_r-API.patch

28 lines
866 B
Diff
Raw Permalink Normal View History

2025-05-10 21:58:58 +08:00
From d7c522426984f33d650a5b1ec97a9239510783d0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 13 Feb 2019 09:51:14 -0800
Subject: [PATCH] fontconfig: Musl does not have random_r() API
Mark it to be glibc specific
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
third_party/fontconfig/include/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/fontconfig/include/config.h b/third_party/fontconfig/include/config.h
index 9087ca0c15..3e4c56a519 100644
--- a/third_party/fontconfig/include/config.h
+++ b/third_party/fontconfig/include/config.h
@@ -157,7 +157,7 @@
#define HAVE_RANDOM 1
/* Define to 1 if you have the `random_r' function. */
-#define HAVE_RANDOM_R 1
+/* #undef HAVE_RANDOM_R */
/* Define to 1 if you have the `rand_r' function. */
#define HAVE_RAND_R 1