0001-meson-change-std-to-gnu99.patch 800 B

123456789101112131415161718192021222324252627282930
  1. From cdfa726bae1d82b7bd3735475fc2b2c6a31c1d2f Mon Sep 17 00:00:00 2001
  2. From: Ignacio Casal Quinteiro <qignacio@amazon.com>
  3. Date: Fri, 12 Nov 2021 11:51:33 +0100
  4. Subject: [PATCH] meson: change std to gnu99
  5. This is the same as glib and should fix issues with old
  6. compilers
  7. (cherry picked from commit b192086b9936602a40a14d00a6883b339b9d7955)
  8. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
  9. ---
  10. meson.build | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/meson.build b/meson.build
  13. index b018ca7b..130a2bf0 100644
  14. --- a/meson.build
  15. +++ b/meson.build
  16. @@ -3,7 +3,7 @@ project(
  17. version: '2.70.0',
  18. license: 'LGPL2.1+',
  19. meson_version: '>= 0.50.0',
  20. - default_options: ['c_std=c99']
  21. + default_options: ['c_std=gnu99']
  22. )
  23. prefix = get_option('prefix')
  24. --
  25. 2.17.1