From 0ec84a04e4aac546266133fee8313e2619582bae Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Aug 2018 16:06:26 -0700 Subject: atop: Upgrade to 2.3.0 Drop already upstreamed patch Fix build with glibc 2.28+ Signed-off-by: Khem Raj --- ...dd-sys-sysmacros.h-for-major-minor-macros.patch | 26 ++++++ .../atop/0001-include-missing-header-files.patch | 97 ---------------------- 2 files changed, 26 insertions(+), 97 deletions(-) create mode 100644 meta-oe/recipes-support/atop/atop/0001-add-sys-sysmacros.h-for-major-minor-macros.patch delete mode 100644 meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch (limited to 'meta-oe/recipes-support/atop/atop') diff --git a/meta-oe/recipes-support/atop/atop/0001-add-sys-sysmacros.h-for-major-minor-macros.patch b/meta-oe/recipes-support/atop/atop/0001-add-sys-sysmacros.h-for-major-minor-macros.patch new file mode 100644 index 0000000000..5646061971 --- /dev/null +++ b/meta-oe/recipes-support/atop/atop/0001-add-sys-sysmacros.h-for-major-minor-macros.patch @@ -0,0 +1,26 @@ +From 13f3771655f859d5e0332dd65b9c43f572f6359d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 11 Aug 2018 16:02:06 -0700 +Subject: [PATCH] add sys/sysmacros.h for major/minor macros + +photosyst.c:1465:19: error: called object 'major' is not a function or function pointer + dmp->major = major(statbuf.st_rdev); + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + photosyst.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/photosyst.c b/photosyst.c +index 38828ec..caed352 100644 +--- a/photosyst.c ++++ b/photosyst.c +@@ -152,6 +152,7 @@ + static const char rcsid[] = "$Id: photosyst.c,v 1.38 2010/11/19 07:40:40 gerlof Exp $"; + + #include ++#include + #include + #include + #include diff --git a/meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch b/meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch deleted file mode 100644 index 3708f60ba0..0000000000 --- a/meta-oe/recipes-support/atop/atop/0001-include-missing-header-files.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 7b651793269b6b86f12c43c30b751b86def27222 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 18 Mar 2017 17:56:40 -0700 -Subject: [PATCH] include missing header files - -fixes build with musl - -Signed-off-by: Khem Raj ---- - deviate.c | 1 + - procdbase.c | 2 +- - showgeneric.c | 2 +- - showlinux.c | 2 +- - showprocs.c | 2 +- - showsys.c | 2 +- - 6 files changed, 6 insertions(+), 5 deletions(-) - -diff --git a/deviate.c b/deviate.c -index 7cf1b49..8e615af 100644 ---- a/deviate.c -+++ b/deviate.c -@@ -178,6 +178,7 @@ static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Ex - #include - #include - #include -+#include - #include - #include - #include -diff --git a/procdbase.c b/procdbase.c -index 9cab347..0487d26 100644 ---- a/procdbase.c -+++ b/procdbase.c -@@ -67,7 +67,7 @@ static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof E - #include - #include - #include --#include -+#include - - #include "atop.h" - #include "photoproc.h" -diff --git a/showgeneric.c b/showgeneric.c -index 775afa8..3d5be0e 100644 ---- a/showgeneric.c -+++ b/showgeneric.c -@@ -268,7 +268,7 @@ static const char rcsid[] = "$Id: showgeneric.c,v 1.71 2010/10/25 19:08:32 gerlo - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/showlinux.c b/showlinux.c -index 6e60754..aba2ee6 100644 ---- a/showlinux.c -+++ b/showlinux.c -@@ -274,7 +274,7 @@ static const char rcsid[] = "$Id: showlinux.c,v 1.70 2010/10/23 14:04:12 gerlof - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/showprocs.c b/showprocs.c -index 5194524..f0169ad 100644 ---- a/showprocs.c -+++ b/showprocs.c -@@ -94,7 +94,7 @@ static const char rcsid[] = "$Id: showprocs.c,v 1.15 2011/09/05 11:44:16 gerlof - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/showsys.c b/showsys.c -index 26331be..5a05fe5 100644 ---- a/showsys.c -+++ b/showsys.c -@@ -80,7 +80,7 @@ static const char rcsid[] = "XXXXXX"; - #include - #include - #include --#include -+#include - #include - #include - #include --- -2.12.0 - -- cgit 1.2.3-korg