Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/conmon: fix compile when using a static build
@ 2023-08-12 11:15 Waldemar Brodkorb
  2023-08-12 12:36 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2023-08-12 11:15 UTC (permalink / raw)
  To: buildroot

This is a new Buildroot package and this is the first build error
the autobuild servers found. It is not part of any Buildroot release
so no need to backport.

Patch removes dlfcn.h, because it is unused.

Fixes:
 - http://autobuild.buildroot.net/results/db3/db301e9f556592828800fa663f2549f430adb58f

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 ...01-remove-unused-dlfcn.h-header-file.patch | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/conmon/0001-remove-unused-dlfcn.h-header-file.patch

diff --git a/package/conmon/0001-remove-unused-dlfcn.h-header-file.patch b/package/conmon/0001-remove-unused-dlfcn.h-header-file.patch
new file mode 100644
index 0000000000..14f817942e
--- /dev/null
+++ b/package/conmon/0001-remove-unused-dlfcn.h-header-file.patch
@@ -0,0 +1,26 @@
+From e28634a0e847a14c58482f962bc9b1d69937387f Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Sat, 12 Aug 2023 12:53:37 +0200
+Subject: [PATCH] remove unused dlfcn.h header file
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+Upstream: https://github.com/containers/conmon/issues/443
+---
+ src/seccomp_notify.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/seccomp_notify.c b/src/seccomp_notify.c
+index 8d34d9d..2a8371d 100644
+--- a/src/seccomp_notify.c
++++ b/src/seccomp_notify.c
+@@ -7,7 +7,6 @@
+ 
+ #include <errno.h>
+ #include <sys/ioctl.h>
+-#include <dlfcn.h>
+ #include <sys/wait.h>
+ #include <sys/mount.h>
+ #include <signal.h>
+-- 
+2.39.2
+
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/conmon: fix compile when using a static build
  2023-08-12 11:15 [Buildroot] [PATCH] package/conmon: fix compile when using a static build Waldemar Brodkorb
@ 2023-08-12 12:36 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-12 12:36 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On Sat, 12 Aug 2023 13:15:03 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> This is a new Buildroot package and this is the first build error
> the autobuild servers found. It is not part of any Buildroot release
> so no need to backport.
> 
> Patch removes dlfcn.h, because it is unused.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/db3/db301e9f556592828800fa663f2549f430adb58f
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  ...01-remove-unused-dlfcn.h-header-file.patch | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/conmon/0001-remove-unused-dlfcn.h-header-file.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-12 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 11:15 [Buildroot] [PATCH] package/conmon: fix compile when using a static build Waldemar Brodkorb
2023-08-12 12:36 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox