Skip to contentSkip to conversation

package/crda: update patches to be applied with fuzz 0

PATCH Applied Bernd Kuhls 2 participants 2 messages Jun 29, 2024 – Jun 30, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/crda: update patches to be applied with fuzz 0

Commit 8f88a644ed "support/scripts/apply-patches.sh: set the maximum fuzz factor to 0" reduced the fuzz factor.

Due to this change, crda fails to build with output:

Applying 0001-crda-support-python-3-in-utils-key2pub.py.patch using patch:
patching file Makefile
Hunk #1 FAILED at 112.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

Rebase patch to fix the problem, problem was not yet caught by autobuilders.

---
 .../crda/0001-crda-support-python-3-in-utils-key2pub.py.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch +3 -1
index f2b9cca2d6..00b5a52ea7 100644
@@ -33,6 +33,8 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
 Signed-off-by: Peter Seiderer <[email protected]>
 [Romain: Use pycryptodomex]
 Signed-off-by: Romain Naour <[email protected]>
+[Bernd: rebased for version 4.15]
+Signed-off-by: Bernd Kuhls <[email protected]>
 ---
  Makefile         |   2 +-
  utils/key2pub.py | 146 ++++++++++++++++++++++++-----------------------
@@ -49,7 +51,7 @@ index a3ead30..8da38d0 100644
 -	$(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
 +	$(Q) python utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
  
- $(LIBREG): regdb.h reglib.h reglib.c
+ $(LIBREG): reglib.c regdb.h reglib.h
  	$(NQ) '  CC  ' $@
 diff --git a/utils/key2pub.py b/utils/key2pub.py
 index 9bb04cd..8a0ba2a 100755
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Bernd, All,

On 2024-06-29 10:27 +0200, Bernd Kuhls spake thusly:

Quoted 10 lines

Commit 8f88a644ed "support/scripts/apply-patches.sh: set the maximum fuzz factor to 0" reduced the fuzz factor.

Due to this change, crda fails to build with output:

Applying 0001-crda-support-python-3-in-utils-key2pub.py.patch using patch:
patching file Makefile
Hunk #1 FAILED at 112.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

Quoted 4 lines

Rebase patch to fix the problem, problem was not yet caught by autobuilders.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 33 lines
---
 .../crda/0001-crda-support-python-3-in-utils-key2pub.py.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch +3 -1
index f2b9cca2d6..00b5a52ea7 100644
@@ -33,6 +33,8 @@ Signed-off-by: Gustavo Zacarias <[email protected]>
 Signed-off-by: Peter Seiderer <[email protected]>
 [Romain: Use pycryptodomex]
 Signed-off-by: Romain Naour <[email protected]>
+[Bernd: rebased for version 4.15]
+Signed-off-by: Bernd Kuhls <[email protected]>
 ---
  Makefile         |   2 +-
  utils/key2pub.py | 146 ++++++++++++++++++++++++-----------------------
@@ -49,7 +51,7 @@ index a3ead30..8da38d0 100644
 -	$(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
 +	$(Q) python utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
 
- $(LIBREG): regdb.h reglib.h reglib.c
+ $(LIBREG): reglib.c regdb.h reglib.h
  	$(NQ) '  CC  ' $@
 diff --git a/utils/key2pub.py b/utils/key2pub.py
 index 9bb04cd..8a0ba2a 100755
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot