[Buildroot] [PATCH v4 1/2] package/lua-lunix: force no sysctl
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Aug 7 10:38:00 UTC 2021
François, All,
On 2021-08-07 10:57 +0200, Francois Perrad spake thusly:
> Fixes: http://autobuild.buildroot.net/results/749a11d5289c6fec3b2f236b9073fc1ab730d090/
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
> package/lua-lunix/0003-force-no-sysctl.patch | 32 ++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 package/lua-lunix/0003-force-no-sysctl.patch
>
> diff --git a/package/lua-lunix/0003-force-no-sysctl.patch b/package/lua-lunix/0003-force-no-sysctl.patch
> new file mode 100644
> index 000000000..3467e2713
> --- /dev/null
> +++ b/package/lua-lunix/0003-force-no-sysctl.patch
> @@ -0,0 +1,32 @@
> +From d9b65e306478f5d2356ef90eab8191984534238a Mon Sep 17 00:00:00 2001
> +From: Francois Perrad <francois.perrad at gadz.org>
> +Date: Wed, 4 Aug 2021 15:27:05 +0200
> +Subject: [PATCH] force no sysctl
> +
> +Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> +---
> + lunix-rel-20170920/lunix-20170920-1.rockspec | 9 +++++++++
> + 1 file changed, 9 insertions(+)
> +
> +diff --git a/lunix-rel-20170920/lunix-20170920-1.rockspec b/lunix-rel-20170920/lunix-20170920-1.rockspec
> +index 76cafeb..e42fd34 100644
> +--- a/lunix-rel-20170920/lunix-20170920-1.rockspec
> ++++ b/lunix-rel-20170920/lunix-20170920-1.rockspec
> +@@ -35,5 +35,14 @@ build = {
> + };
> + };
> + };
> ++ linux = {
> ++ modules = {
> ++ ["unix"] = {
> ++ defines = {nil, nil, nil;
> ++ "HAVE_SYS_SYSCTL_H=0";
> ++ };
> ++ };
> ++ };
> ++ };
So, this looks like the exact same patch as v3. There is no needed to
repsin in such a case, except to provide more info in the commit log
(which is not the case).
Bersides, I think the solution suggested by Arnout and I, that packages
can provide extra CFLAGS, is better.
Also, when er-sending a new iteration, can you please mark the previous
one as superseded in Patchwork (I did it this time):
https://patchwork.ozlabs.org/project/buildroot/list/
Regards,
Yann E. MORIN.
> + };
> + }
> +--
> +2.30.2
> +
> --
> 2.30.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list