| Message ID | 20240522070238.3282121-12-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBJ5RW2ZAMGQE4E25QRI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 43C7640F8A for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 22 May 2024 09:03:04 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-57824f3e6absf519091a12.1 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 22 May 2024 00:03:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716361384; cv=pass; d=google.com; s=arc-20160816; b=Mbw8FWk0CckjBSNG9gQMn/YoVjX7yMIoHxzhj/vg7LJKoigl+tXaoFisPyBS2wyAMb 18CA4idTGA+rxg0GNns75P//Mk33GNT6JYtPTn0QDXcNjvnYGPpnpdBEeMx9YjgoI+Zb bNRdkj+tdWq01qE7/g1/dKQYEruJopL393R2gE570dqoImuzkVnBfNpJZ4GJv+TXn2ga 4NQMpdUD4BAnpIxfa0Q5khqf01IkrZ8utWhPPMNKen98cL4eeJT4JSvzAfOWMrMaikun STWCjnhZ2GXThyv+vU9c5LCD+7WgbAlw0Bu5D3788FHHgWLaQhVUNNcY0K5tDeMOGV/5 zdtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=oVVPYjGC7B0Ek59k1CRCgYwwplbsF4csQIxbHpLZKcs=; fh=8jlgK+zvRK6wBTAYXK/qHL6SjHNXox0oeimxZfE2L5k=; b=a74bKN/slEpQDr/3qKUMxrz7TVULh9QI0ggDSJQn1biJnZshrKYCfenRI/4mLKxXrL T0Tddmo60FCD4Qlcr5yLjsRWJ1H8BVbuX+4sprU2EgRQ09XqJRVlwWFLJbs9dyzaRTw9 tFub+1YBWnB4C7uYzkctHiuHamqdPNHQh0t5b8m4j8L+wrR2ao98I6TafNxJcujYbY0s vKYGbUecUCwIwmEZ0xJsHAeYsCgOgqumvgvYoW7l+RaFS2TTReg70fEa03BJLDJS99Es gpDnF21POZrR0/lXv8vEU0S4WX8Y9ni9p96qXyhmWr6GSY9ND/i2Ahrhc08N8tRnzfPw dIBQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mDKwsQYr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1716361384; x=1716966184; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=oVVPYjGC7B0Ek59k1CRCgYwwplbsF4csQIxbHpLZKcs=; b=EqGKPOyM5daamOPI5YKMLH7Nfa22h8TOiXrTVcG8cw8qC0fp6bJW1m7rtgqc3F3yJK pVEprzI84mW/tAKO2jPNas6es0+w3F93+faskm960a8rWwwmpJEmOHAUCGkPmvXJRu7k sZ0nlPl1/efBbnQrkABH2IwgRdWzVWrkTc5No= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716361384; x=1716966184; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oVVPYjGC7B0Ek59k1CRCgYwwplbsF4csQIxbHpLZKcs=; b=WJhK2rRMLMfC4qulHSYDGj+KJWu8I2CDzmw5F/c5duG7UH6d/LZtf7bFwfD1Y2hz9P NBWK5aonodybh1eT6LxbySYJ9ROWqoECsicUIB9vAJmid8S37WJiS0l4Z5yicbXOQlkP PeGZya69bNaGp922MVD0M0zbIDRPbD4KaiAigN6ilqSl8nK/uE/QgpPdjhvpEiB1vqUI YkQbyu/XBqAfHDkwFoo/Z7zsAZLk6nLDEMW8vtwEi7oZEtoCdMnjVGUz6EHlm5cR/RWD eFAcXbCc0xiREkMhbfzZNQrKqG/vOpehsA/PRp4xnKo+Rbfo7fJA65oHS3/j8b2mqqWi bXMw== X-Forwarded-Encrypted: i=2; AJvYcCW5sOtUq9vhBooOj/rZzsoA0DE6M98T8VGm330aNh1ISjtxTB3/7P2zNHKJyDdL9CSWh1TlCsobfr0UVroPCQ8xP5CYnI1yhWbBO1QhSqf6F9rUVdFcpNR5LNpNyw== X-Gm-Message-State: AOJu0YwOEXY2GLD6OIBZMYQodkwLn7qHDGB2nF1CxbRZVnLR4Zq40u/V XK1T2cMt3np8W5tQM1XsVUuPdMLkzaZWe/uUCVWwpsFDA+7y2fIXKp+xxeKN/5Ih1w== X-Google-Smtp-Source: AGHT+IHhjvOYni0hLBKMHWfk0QWTf8HBzfWxFEOe0tCxSrSgk0kjEfQuFH35EcZcq3XgMG7oyF4Gfg== X-Received: by 2002:a50:ccd9:0:b0:574:ecf3:f7d1 with SMTP id 4fb4d7f45d1cf-57830ce38e3mr1116379a12.0.1716361384069; Wed, 22 May 2024 00:03:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:3710:b0:574:f706:7c59 with SMTP id 4fb4d7f45d1cf-57831b56d0els198344a12.1.-pod-prod-00-eu; Wed, 22 May 2024 00:03:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUFbPCIibN643b3DwtN3zrpzaRUEpJAGML7nnonuRwhEks7yvMQnzhFi4sdQQ9JTLOgXmww85OdigtzODDFiQso1hWn7fDKEo5ymn2NHe6A5Mjh X-Received: by 2002:a50:cd19:0:b0:572:a049:c797 with SMTP id 4fb4d7f45d1cf-5783107a1bfmr961139a12.12.1716361382393; Wed, 22 May 2024 00:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716361382; cv=none; d=google.com; s=arc-20160816; b=CSYND0EfkjR7cFU4b6hMQGloNf36xIxHtQKuRIIy1nw7J6CIFLYX+ZY8mzyjohXrMv i+ZnHIJnKqKZwGOqwVpfTtEL8QvhE4W0XNWrB89Ek6xKK84cnym4Kxz63qhtTn94DLZF tI5r5LI40g/fcP/1FwLLdOk6fU18aApmDZIs71P5xVduem43R+n8nZKfL/3+AifBHQTu RxWfc2caPYfOgiP36AgSAQFmhEZKcHvRFm8+Vjl/CMovF1AkcBVnNFI3nCKF+RdNBTkE pw/MvwWXcTbkq53EowBtpsctL5ZHc0xPiRkEqIKow86rgE3b1ZFWBi/yuDuC9obj+6ig BJqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Knzh50U2AgYswLEttwi3n/maA4bbST6NeArnVRxdWHw=; fh=r7Ez8KsFl1Dve281Ei3B1CvuPUxuM9adKcbLPzh1uwA=; b=S43etdxfa/CC2X6X/eT3G5ybBGeBiR5r/92NxhmLdiUHMd5O1lOT9c0GsbHimd9265 7NVj9ZjdZwRLzMxyc0HNkNiINZc4qk+81SxMsfAzvF7J2I+nxEuUjhJ1sQ72HofPyyY8 ZmCKAj7NQuTGtbYpLAlujTc/tBUQG0nQJcQ3GkqoSpkviFYDm7ny6Wem80uOhV+sLGau hVr56QaHPOey8s5S03R+WZSZm0jcFf+jwWJ1bRw9aXzamEVJa9HpOGNhrlU3WgSoauw1 e3MQAS5spnRjWTB4bfCrtiOngTcLt6CfE2FMjAoxbJBQ1URLawbDt/DbpWNx1ebeC3dV qk1A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mDKwsQYr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-5733ba9635esor11559039a12.1.2024.05.22.00.03.02 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 22 May 2024 00:03:02 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCV1YbIrKYHnzoijZtt2RK6b2ttpXRmPoKhsOn1PwaGfGjoWG5gGoA4KV+3V8cuaSHFlJ5NoZIg2YRth21phKQmz1G6gZwJ8kvwMTWb4Wj80syie X-Received: by 2002:a50:9f45:0:b0:56b:d013:a67e with SMTP id 4fb4d7f45d1cf-5783117a404mr1003518a12.18.1716361382083; Wed, 22 May 2024 00:03:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.40.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-574d738c80csm12028365a12.81.2024.05.22.00.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 00:03:01 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: buildroot@buildroot.org Cc: "Yann E . MORIN" <yann.morin.1998@free.fr>, Jagan Teki <jagan@amarulasolutions.com>, Romain Naour <romain.naour@gmail.com>, Fabrice Fontaine <fontaine.fabrice@gmail.com>, Mahyar Koshkouei <mahyar.koshkouei@gmail.com>, Giulio Benetti <giulio.benetti@benettiengineering.com>, Michael Nosthoff <buildroot@heine.tech>, Alex Suykov <alex.suykov@gmail.com>, =?utf-8?b?TWljaGHFgiDFgXlzemN6?= =?utf-8?q?ek?= <michal.lyszczek@bofc.pl>, Bernd Kuhls <bernd@kuhls.net>, Peter Korsgaard <peter@korsgaard.com>, Julien Corjon <corjon.j@ecagroup.com>, Sergey Matyukevich <geomatsi@gmail.com>, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com> Subject: [PATCH v2 11/18] package/libnl: update the patch to be applied with fuzz 0 Date: Wed, 22 May 2024 09:02:30 +0200 Message-ID: <20240522070238.3282121-12-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> References: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mDKwsQYr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
apply patches with fuzz factor 0
|
|
Commit Message
Dario Binacchi
May 22, 2024, 7:02 a.m. UTC
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(-)
Comments
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
On 22/05/2024 10:15, Baruch Siach via buildroot wrote: > 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. This shouldn't have been removed. Instead, I converted it to a proper Upstream: tag (and updated .checkpackageignore accordingly). >> +[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. Since it's not sure, I've kept the patch. Regards, Arnout > > 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 > To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
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> --- 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