package/libyuv: update patches to be applied with fuzz 0
PATCH 1/1 package/libyuv: 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, libyuv fails to build with output:
Applying 0001-i386-sse2.patch using patch:
patching file include/libyuv/scale_row.h
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file include/libyuv/scale_row.h.rej
Rebase the patch to fix the problem.
Fixes:
http://autobuild.buildroot.net/results/8ca446ee4bd657a661894dec66f45aa02b6a7325/
--- package/libyuv/0001-i386-sse2.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/libyuv/0001-i386-sse2.patch +2 -2
@@ -5,7 +5,7 @@ Signed-off-by: Bernd Kuhls <[email protected]> diff -uNr libyuv-1411.org/include/libyuv/scale_row.h libyuv-1411/include/libyuv/scale_row.h --- libyuv-1411.org/include/libyuv/scale_row.h 2015-05-22 23:39:21.000000000 +0200 +++ libyuv-1411/include/libyuv/scale_row.h 2015-05-25 12:35:17.000000000 +0200 -@@ -33,7 +33,7 @@ +@@ -55,7 +55,7 @@ // The following are available on all x86 platforms: #if !defined(LIBYUV_DISABLE_X86) && \
@@ -13,4 +13,4 @@ diff -uNr libyuv-1411.org/include/libyuv/scale_row.h libyuv-1411/include/libyuv/ + (defined(_M_IX86) || defined(__x86_64__) || (defined(__i386__) && defined(__SSE2__))) #define HAS_FIXEDDIV1_X86 #define HAS_FIXEDDIV_X86 - #define HAS_SCALEADDROWS_SSE2 + #define HAS_SCALEADDROW_SSE2
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedBernd, All,
On 2024-06-29 09:31 +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, libyuv fails to build with output:
Applying 0001-i386-sse2.patch using patch:
patching fileinclude/libyuv/scale_row.h
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to fileinclude/libyuv/scale_row.h.rej
Quoted 6 lines
Rebase the patch to fix the problem.
Fixes:
http://autobuild.buildroot.net/results/8ca446ee4bd657a661894dec66f45aa02b6a7325/Signed-off-by Bernd Kuhls <[email protected]>
Applied to master, thanks.
Quoted 30 lines
--- package/libyuv/0001-i386-sse2.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/libyuv/0001-i386-sse2.patch +2
-2@@ -5,7 +5,7 @@ Signed-off-by: Bernd Kuhls <[email protected]> diff -uNr libyuv-1411.org/include/libyuv/scale_row.h libyuv-1411/include/libyuv/scale_row.h --- libyuv-1411.org/include/libyuv/scale_row.h 2015-05-22 23:39:21.000000000 +0200 +++ libyuv-1411/include/libyuv/scale_row.h 2015-05-25 12:35:17.000000000 +0200 -@@ -33,7 +33,7 @@ +@@ -55,7 +55,7 @@ // The following are available on all x86 platforms: #if !defined(LIBYUV_DISABLE_X86) && \@@ -13,4 +13,4 @@ diff -uNr libyuv-1411.org/include/libyuv/scale_row.h libyuv-1411/include/libyuv/ + (defined(_M_IX86) || defined(__x86_64__) || (defined(__i386__) && defined(__SSE2__))) #define HAS_FIXEDDIV1_X86 #define HAS_FIXEDDIV_X86 - #define HAS_SCALEADDROWS_SSE2 + #define HAS_SCALEADDROW_SSE2Signature · 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