blob: 1846b8f445d7d782140b80d4079c40ff966f76de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 358b876830d4e93ab1822681254ba81548d9383b Mon Sep 17 00:00:00 2001
From: Matthew Waters <matthew@centricular.com>
Date: Sun, 27 Mar 2022 14:39:11 +1100
Subject: [PATCH] harfbuzz: disable werror from pragmas
Currently fails building on macOS 12.3 and should actually be controlled
by the build system.
---
src/hb.hh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hb.hh b/src/hb.hh
index 3adca88..aa07101 100644
--- a/src/hb.hh
+++ b/src/hb.hh
@@ -62,6 +62,7 @@
/* Error. Should never happen. */
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR
+#if 0
#pragma GCC diagnostic error "-Wc++11-narrowing"
#pragma GCC diagnostic error "-Wcast-align"
#pragma GCC diagnostic error "-Wcast-function-type"
@@ -93,6 +94,7 @@
#pragma GCC diagnostic error "-Wvla"
#pragma GCC diagnostic error "-Wwrite-strings"
#endif
+#endif
/* Warning. To be investigated if happens. */
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
--
2.32.0 (Apple Git-132)
|