summarylogtreecommitdiffstats
path: root/0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch
diff options
context:
space:
mode:
authorDominic2023-06-10 16:49:31 +0200
committerDominic2023-06-10 16:49:31 +0200
commit5f4792d13c7c48ab345d05b4d91d23e5ea5eb03d (patch)
treedf43cb7a8f83de8fa59b34167bce2c9538e05fbd /0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch
parenta6625e392b2ca5170fbdfba5f9bdf8975ac3b981 (diff)
parent15d58e27212d8695620ec8e97fe36ae9f268bce1 (diff)
downloadaur-5f4792d13c7c48ab345d05b4d91d23e5ea5eb03d.tar.gz
Merge remote-tracking branch 'mingw-w64-freetype2/master'
Diffstat (limited to '0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch')
-rw-r--r--0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch b/0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch
new file mode 100644
index 000000000000..1e7eb4e135e2
--- /dev/null
+++ b/0005-builds-meson-parse_modules_cfg.py-Handle-gxvalid-and.patch
@@ -0,0 +1,30 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
+Date: Thu, 9 Feb 2023 19:22:47 +0000
+Subject: [PATCH] * builds/meson/parse_modules_cfg.py: Handle gxvalid and
+ otvalid
+
+These need a name mapping similar to what was done for other modules,
+or linking will fail.
+---
+ builds/meson/parse_modules_cfg.py | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/builds/meson/parse_modules_cfg.py b/builds/meson/parse_modules_cfg.py
+index 6030bb2098df..d48129fe72e1 100644
+--- a/builds/meson/parse_modules_cfg.py
++++ b/builds/meson/parse_modules_cfg.py
+@@ -97,8 +97,12 @@ def generate_ftmodule(lists):
+
+ for module in lists["AUX_MODULES"]:
+ if module in ("psaux", "psnames", "otvalid", "gxvalid"):
++ name = {
++ "gxvalid": "gxv",
++ "otvalid": "otv",
++ }.get(module, module)
+ result += (
+- "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % module
++ "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % name
+ )
+
+ result += "/* EOF */\n"