summaryrefslogtreecommitdiff
path: root/graphics/plutovg/files/patch-meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/plutovg/files/patch-meson.build')
-rw-r--r--graphics/plutovg/files/patch-meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/plutovg/files/patch-meson.build b/graphics/plutovg/files/patch-meson.build
new file mode 100644
index 000000000000..b6a321bb1a15
--- /dev/null
+++ b/graphics/plutovg/files/patch-meson.build
@@ -0,0 +1,16 @@
+cherry-picked from https://github.com/sammycage/plutovg/pull/62
+
+--- meson.build.orig 2025-07-22 17:34:24 UTC
++++ meson.build
+@@ -30,6 +30,11 @@ endif
+ plutovg_deps += [math_dep]
+ endif
+
++stdthreads_dep = cc.find_library('stdthreads', required: false)
++if stdthreads_dep.found()
++ plutovg_deps += [stdthreads_dep]
++endif
++
+ plutovg_sources = [
+ 'source/plutovg-blend.c',
+ 'source/plutovg-canvas.c',