[Buildroot] [PATCH 1/1] package/nfs-utils: fix static build

Giulio Benetti giulio.benetti at benettiengineering.com
Sun Jun 11 13:25:33 UTC 2023


Hi Bernd,

> Il giorno 11 giu 2023, alle ore 09:52, Bernd Kuhls <bernd.kuhls at t-online.de> ha scritto:
> 
> Fixes:
> http://autobuild.buildroot.net/results/f17/f17a554c86f0b24327b49fdc75612cc133f129ed/
> 
> f9dc4bab9f4576eed3a22ca7517bfc88d9812c34 bumped nfs-utils to version
> 2.6.3 which includes the addition of the two files patched here.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
> After trying for an hour to register an account upstream I gave up
> because all my public mail accounts were rejected. So I was unable to
> send the patch upstream.

Thanks a lot for providing such patch. I will send it to their Mailing List after giving a try.
Last days I’ve seen their git repo down too and in general it’s unstable.

Giulio

> 
> ...-guard-dlfcn.h-include-with-HAVE_DLF.patch | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 package/nfs-utils/0002-support-reexport-guard-dlfcn.h-include-with-HAVE_DLF.patch
> 
> diff --git a/package/nfs-utils/0002-support-reexport-guard-dlfcn.h-include-with-HAVE_DLF.patch b/package/nfs-utils/0002-support-reexport-guard-dlfcn.h-include-with-HAVE_DLF.patch
> new file mode 100644
> index 0000000000..3af4b75623
> --- /dev/null
> +++ b/package/nfs-utils/0002-support-reexport-guard-dlfcn.h-include-with-HAVE_DLF.patch
> @@ -0,0 +1,44 @@
> +From 274e4d212c30183242e48b639889865819f3ac33 Mon Sep 17 00:00:00 2001
> +From: Bernd Kuhls <bernd.kuhls at t-online.de>
> +Date: Sun, 11 Jun 2023 08:57:11 +0200
> +Subject: [PATCH] support/reexport: guard dlfcn.h include with HAVE_DLFCN_H
> +
> +Upstream: pending upload
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> +---
> + support/reexport/fsidd.c    | 2 ++
> + support/reexport/reexport.c | 2 ++
> + 2 files changed, 4 insertions(+)
> +
> +diff --git a/support/reexport/fsidd.c b/support/reexport/fsidd.c
> +index 37649d06..d4b245e8 100644
> +--- a/support/reexport/fsidd.c
> ++++ b/support/reexport/fsidd.c
> +@@ -3,7 +3,9 @@
> + #endif
> + 
> + #include <assert.h>
> ++#ifdef HAVE_DLFCN_H
> + #include <dlfcn.h>
> ++#endif
> + #include <event2/event.h>
> + #include <limits.h>
> + #include <stdint.h>
> +diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c
> +index d597a2f7..d9a700af 100644
> +--- a/support/reexport/reexport.c
> ++++ b/support/reexport/reexport.c
> +@@ -2,7 +2,9 @@
> + #include <config.h>
> + #endif
> + 
> ++#ifdef HAVE_DLFCN_H
> + #include <dlfcn.h>
> ++#endif
> + #include <stdint.h>
> + #include <stdio.h>
> + #include <sys/random.h>
> +-- 
> +2.39.2
> +
> -- 
> 2.39.2
> 




More information about the buildroot mailing list