0001-Mark-setjmp_buffer-extern-declaration.patch 711 B

1234567891011121314151617181920212223242526272829
  1. From 1c6028f5f8bbfd3fd7327a43e1bb762c2c166167 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Wed, 12 Aug 2020 18:10:54 -0700
  4. Subject: [PATCH] Mark setjmp_buffer extern declaration
  5. Fixes build with -fno-common
  6. Upstream-Status: Pending
  7. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  8. ---
  9. metadata.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/metadata.c b/metadata.c
  12. index 8a10c77..c114091 100644
  13. --- a/metadata.c
  14. +++ b/metadata.c
  15. @@ -484,7 +484,7 @@ GetAudioMetadata(const char *path, const char *name)
  16. }
  17. /* For libjpeg error handling */
  18. -jmp_buf setjmp_buffer;
  19. +extern jmp_buf setjmp_buffer;
  20. static void
  21. libjpeg_error_handler(j_common_ptr cinfo)
  22. {
  23. --
  24. 2.28.0