summaryrefslogtreecommitdiff
path: root/x11-wm/phoc/files/patch-tools_tracing_meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/phoc/files/patch-tools_tracing_meson.build')
-rw-r--r--x11-wm/phoc/files/patch-tools_tracing_meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/phoc/files/patch-tools_tracing_meson.build b/x11-wm/phoc/files/patch-tools_tracing_meson.build
new file mode 100644
index 000000000000..0bb1a894a079
--- /dev/null
+++ b/x11-wm/phoc/files/patch-tools_tracing_meson.build
@@ -0,0 +1,12 @@
+Error: Orphaned: %%DATADIR%%/systemtap/activation.stp
+Error: Orphaned: %%DATADIR%%/systemtap/direct-scanout.stp
+Error: Orphaned: %%DATADIR%%/systemtap/render-loop.stp
+
+--- tools/tracing/meson.build.orig 2025-06-30 06:54:56 UTC
++++ tools/tracing/meson.build
+@@ -1,3 +1,5 @@ stp_scripts = ['activation.stp', 'direct-scanout.stp',
+ stp_scripts = ['activation.stp', 'direct-scanout.stp', 'render-loop.stp']
+
++if not get_option('dtrace').disabled()
+ install_data(stp_scripts, install_dir: pkgdatadir / 'systemtap')
++endif