0003-Fix-FTBFS-in-utils-c.patch 1004 B

12345678910111213141516171819202122232425262728
  1. From fd01737270d98c28465c86a688bd7d1c640486c5 Mon Sep 17 00:00:00 2001
  2. From: Michael Marley <michael@michaelmarley.com>
  3. Date: Wed, 6 Apr 2022 21:47:49 -0400
  4. Subject: [PATCH] Fix FTBFS in utils.c
  5. U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they
  6. aren't the same.
  7. [Retrieved from:
  8. https://github.com/tvheadend/tvheadend/commit/fd01737270d98c28465c86a688bd7d1c640486c5]
  9. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  10. ---
  11. src/utils.c | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/src/utils.c b/src/utils.c
  14. index eecb10e116..bc6401d22f 100644
  15. --- a/src/utils.c
  16. +++ b/src/utils.c
  17. @@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase )
  18. char *
  19. sha512sum256 ( const char *str, int lowercase )
  20. {
  21. -#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER)
  22. +#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER)
  23. return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32);
  24. #else
  25. return NULL;