summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/pcp/pcp.inc1
-rw-r--r--meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch36
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pcp/pcp.inc b/meta-oe/recipes-support/pcp/pcp.inc
index 276be7ffaa..b2d6e130b4 100644
--- a/meta-oe/recipes-support/pcp/pcp.inc
+++ b/meta-oe/recipes-support/pcp/pcp.inc
@@ -9,6 +9,7 @@ COMPATIBLE_HOST:libc-musl = "null"
9 9
10SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \ 10SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
11 file://0001-configure-Limit-the-header-search-to-sysroot.patch \ 11 file://0001-configure-Limit-the-header-search-to-sysroot.patch \
12 file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
12 file://config.linux \ 13 file://config.linux \
13 " 14 "
14SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee" 15SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee"
diff --git a/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch b/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch
new file mode 100644
index 0000000000..009dfe2d04
--- /dev/null
+++ b/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch
@@ -0,0 +1,36 @@
1From c123980d6bf1bc2bf93ee0dd0d7f8fee3d4ddc96 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 5 Jul 2023 08:45:14 -0700
4Subject: [PATCH] htop: Change dependency order of header and sourcefiles
5
6Fixes build race
7| pcp/Platform.h:29:10: fatal error: DiskIOMeter.h: No such file or directory
8| 29 | #include "DiskIOMeter.h"
9| | ^~~~~~~~~~~~~~~
10| compilation terminated.
11| make[3]: *** [<builtin>: pcp-htop.o] Error 1
12
13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 src/pcp/htop/GNUmakefile | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile
20index 6b7c0c5..5153c63 100644
21--- a/src/pcp/htop/GNUmakefile
22+++ b/src/pcp/htop/GNUmakefile
23@@ -186,8 +186,8 @@ CFGMETERS = $(patsubst %,pcp/meters/%,$(METERS))
24 CFGCOLUMNS = $(patsubst %,pcp/columns/%,$(COLUMNS))
25
26 CFGXFILES = $(CFGMETERS) $(CFGCOLUMNS)
27-TOPXFILES = $(TOPCFILES) $(TOPHFILES) $(DOCFILES)
28-SUBXFILES = $(SUBCFILES) $(SUBHFILES)
29+TOPXFILES = $(TOPHFILES) $(TOPCFILES) $(DOCFILES)
30+SUBXFILES = $(SUBHFILES) $(SUBCFILES)
31 CFILES = $(TOPCFILES) $(SUBCFILES)
32 HFILES = $(TOPHFILES) $(SUBHFILES)
33 LDIRT = $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) \
34--
352.41.0
36