From: Baruch Siach via buildroot <buildroot@buildroot.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: "Mahyar Koshkouei" <mahyar.koshkouei@gmail.com>,
"Sergey Matyukevich" <geomatsi@gmail.com>,
"Romain Naour" <romain.naour@gmail.com>,
"Bernd Kuhls" <bernd@kuhls.net>,
"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Michał Łyszczek" <michal.lyszczek@bofc.pl>,
buildroot@buildroot.org,
"Giulio Benetti" <giulio.benetti@benettiengineering.com>,
michael@amarulasolutions.com, linux-amarula@amarulasolutions.com,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
"Julien Corjon" <corjon.j@ecagroup.com>
Subject: Re: [Buildroot] [PATCH v2 11/18] package/libnl: update the patch to be applied with fuzz 0
Date: Wed, 22 May 2024 11:15:58 +0300 [thread overview]
Message-ID: <87bk4yntxd.fsf@tarshish> (raw)
In-Reply-To: <20240522070238.3282121-12-dario.binacchi@amarulasolutions.com> (Dario Binacchi's message of "Wed, 22 May 2024 09:02:30 +0200")
Hi Dario,
On Wed, May 22 2024, Dario Binacchi wrote:
> This commit allows the package patch to be applied with fuzz factor 0.
> The fuzz factor specifies how many lines of the patch can be inexactly
> matched, so the value 0 requires all lines to be exactly matched.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> ...l-workaround-to-the-libc-compat.h-copy.patch | 17 ++++++++---------
> 1 file changed, 8 insertions(+), 9 deletions(-)
>
> diff --git a/package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch b/package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch
> index 57d1c8747dea..4c833cfb22bc 100644
> --- a/package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch
> +++ b/package/libnl/0001-Add-musl-workaround-to-the-libc-compat.h-copy.patch
> @@ -1,4 +1,4 @@
> -From be07fdbc9658de19304defa7538f219cd3f21ec0 Mon Sep 17 00:00:00 2001
> +From 5c984c942e2f9dca4a8380ed782519d9cb0f554d Mon Sep 17 00:00:00 2001
> From: Baruch Siach <baruch@tkos.co.il>
> Date: Sun, 12 Mar 2017 08:52:20 +0200
> Subject: [PATCH] Add musl workaround to the libc-compat.h copy
> @@ -12,26 +12,25 @@ definitions will be needed. See the Buildroot iproute2 patch
> package/iproute2/0001-Add-the-musl-workaround-to-the-libc-compat.h-copy.patch.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ----
> -Upstream status: libc-compat.h is a local copy of a kernel headers. A proper
> -musl fix must go to the kernel first.
> +[Dario: make the patch to be applied with fuzz factor 0]
> +Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
I think this patch is not needed anymore since libnl version 3.5.0.
I have not tested though.
baruch
> ---
> include/linux-private/linux/libc-compat.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux-private/linux/libc-compat.h b/include/linux-private/linux/libc-compat.h
> -index 9bed5b6ae4d9..e2562a819464 100644
> +index a1599911e7a9..f6df7193b8b4 100644
> --- a/include/linux-private/linux/libc-compat.h
> +++ b/include/linux-private/linux/libc-compat.h
> -@@ -49,7 +49,7 @@
> +@@ -50,7 +50,7 @@
> #define _LIBC_COMPAT_H
>
> /* We have included glibc headers... */
> -#if defined(__GLIBC__)
> +#if 1
>
> - /* Coordinate with glibc netinet/in.h header. */
> - #if defined(_NETINET_IN_H)
> + /* Coordinate with glibc net/if.h header. */
> + #if defined(_NET_IF_H) && defined(__USE_MISC)
> --
> -2.11.0
> +2.43.0
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-05-22 8:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 7:02 [Buildroot] [PATCH v2 00/18] apply patches with fuzz factor 0 Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 01/18] board/orangepi/orangepi-zero: make the patches to be applied with fuzz 0 Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 02/18] board/pine64/rock64: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 03/18] boot/syslinux: update " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 04/18] package/alsa-lib: update the patch " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 05/18] package/bzip2: update the patches " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 06/18] package/elfutils: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 07/18] package/ffmpeg: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 08/18] package/giflib: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 09/18] package/libabseil-cpp: update the patch " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 10/18] package/libglib2: update the patches " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 11/18] package/libnl: update the patch " Dario Binacchi
2024-05-22 8:15 ` Baruch Siach via buildroot [this message]
2024-06-24 20:00 ` Arnout Vandecappelle via buildroot
2024-05-22 7:02 ` [Buildroot] [PATCH v2 12/18] package/libopenssl: update the patches " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 13/18] package/openocd: update the patch " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 14/18] package/patchelf: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 15/18] package/qemu: update the patches " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 16/18] package/qt5/qt5base: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 17/18] package/vboot-utils: " Dario Binacchi
2024-05-22 7:02 ` [Buildroot] [PATCH v2 18/18] support/scripts/apply-patches.sh: set the maximum fuzz factor to 0 Dario Binacchi
2024-06-24 20:01 ` [Buildroot] [PATCH v2 00/18] apply patches with fuzz factor 0 Arnout Vandecappelle via buildroot
2024-06-25 20:58 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bk4yntxd.fsf@tarshish \
--to=buildroot@buildroot.org \
--cc=baruch@tkos.co.il \
--cc=bernd@kuhls.net \
--cc=corjon.j@ecagroup.com \
--cc=dario.binacchi@amarulasolutions.com \
--cc=fontaine.fabrice@gmail.com \
--cc=geomatsi@gmail.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=jagan@amarulasolutions.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=mahyar.koshkouei@gmail.com \
--cc=michael@amarulasolutions.com \
--cc=michal.lyszczek@bofc.pl \
--cc=romain.naour@gmail.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox