summaryrefslogtreecommitdiff
path: root/libtracefs-use-same-subdir-with-Makefile.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-06 18:07:39 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-06 18:07:39 +0000
commit2a00dae2600cf3188faf018f57c2a14309797c73 (patch)
treeea8c6aff64d1950d9704a5f6494e0ea5737eb734 /libtracefs-use-same-subdir-with-Makefile.patch
parent897a939f72d795c318b811d3a334a6a893e32cbe (diff)
automatic import of libtracefsopeneuler24.03_LTS
Diffstat (limited to 'libtracefs-use-same-subdir-with-Makefile.patch')
-rw-r--r--libtracefs-use-same-subdir-with-Makefile.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/libtracefs-use-same-subdir-with-Makefile.patch b/libtracefs-use-same-subdir-with-Makefile.patch
new file mode 100644
index 0000000..d2dc877
--- /dev/null
+++ b/libtracefs-use-same-subdir-with-Makefile.patch
@@ -0,0 +1,37 @@
+From 7860e362e2a47ed9caecf848378a6e2e605badef Mon Sep 17 00:00:00 2001
+From: Funda Wang <fundawang@yeah.net>
+Date: Tue, 7 Jan 2025 02:05:02 +0800
+Subject: [PATCH] use same subdir with Makefile
+
+---
+ include/meson.build | 2 +-
+ src/meson.build | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/meson.build b/include/meson.build
+index 52db432..3a9f140 100644
+--- a/include/meson.build
++++ b/include/meson.build
+@@ -7,5 +7,5 @@ headers = [
+ ]
+
+ foreach h : headers
+- install_headers(h, subdir : 'libtracefs')
++ install_headers(h, subdir : 'tracefs')
+ endforeach
+diff --git a/src/meson.build b/src/meson.build
+index 31fd9ed..4853912 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -53,7 +53,7 @@ pkg = import('pkgconfig')
+ pkg.generate(
+ libtracefs,
+ libraries: [libtraceevent_dep],
+- subdirs: 'libtracefs',
++ subdirs: 'tracefs',
+ filebase: meson.project_name(),
+ name: meson.project_name(),
+ version: meson.project_version(),
+--
+2.46.0
+