I was trying to apply the patch curl_7.74.0-1.3+deb11u5.debian.tar.xz and got the below issue. How could I fix these?
Applying: CVE-2021-22898.patch
Applying: CVE-2021-22945.patch
Applying: CVE-2021-22946.patch
curl-7.74.0/../debian/patches//CVE-2021-22946.patch:193: trailing whitespace.
A001 CAPABILITY
curl-7.74.0/../debian/patches//CVE-2021-22946.patch:252: trailing whitespace.
CAPA
curl-7.74.0/../debian/patches//CVE-2021-22946.patch:309: trailing whitespace.
AUTH SSL
curl-7.74.0/../debian/patches//CVE-2021-22946.patch:310: trailing whitespace.
AUTH TLS
warning: 4 lines add whitespace errors.
Applying: CVE-2021-22947.patch
Applying: CVE-2021-22924.patch
Applying: CVE-2022-22576.patch
Applying: CVE-2022-27775.patch
Applying: CVE-2022-27776.patch
Applying: CVE-2022-27781.patch
Applying: CVE-2022-27782_part1.patch
Applying: CVE-2022-27782_part2.patch
Applying: CVE-2022-32205.patch
Applying: CVE-2022-32206.patch
Applying: CVE-2022-32207.patch
Applying: CVE-2022-32208.patch
Applying: CVE-2022-27774_1_of_4.patch
Applying: CVE-2022-27774_2_of_4.patch
Applying: CVE-2022-27774_3_of_4.patch
error: patch failed: curl-7.74.0/tests/data/Makefile.inc:114
error: curl-7.74.0/tests/data/Makefile.inc: patch does not apply
Applying: CVE-2022-27774_4_of_4.patch
error: patch failed: curl-7.74.0/lib/http.c:752
error: curl-7.74.0/lib/http.c: patch does not apply
error: patch failed: curl-7.74.0/lib/vtls/openssl.c:2857
error: curl-7.74.0/lib/vtls/openssl.c: patch does not apply
Applying: cookie-reject-cookies-with-control-bytes.patch
Applying: test8-verify-that-ctrl-byte-cookies-are-ignored.patch
Applying: CVE-2022-32221.patch
Applying: CVE-2022-43552.patch
Applying: 90_gnutls.patch
Applying: 99_nss.patch