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/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Bernd Kuhls 2024-06-29 09:31:02 +02:00 committed by Yann E. MORIN
parent d09597bbae
commit b5080088ce

View File

@ -5,7 +5,7 @@ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
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