diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-01-10 21:55:41 +0530 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-01-10 18:08:47 +0000 |
commit | 3ace9b0129f298952b928e8ab65cfe97572db1bf (patch) | |
tree | 58ac9abb571874975bc95c6613905ddf827eb71b | |
parent | cec2dd2ecfd12ac6383a3cf6e0982109af8f6faf (diff) |
fontconfig.recipe: Explicitly use gnu99 as the C std
This is required when using older toolchains, such as CentOS, and is
a regression due to a backported version bump.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/401
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1069>
-rw-r--r-- | recipes/fontconfig.recipe | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/fontconfig.recipe b/recipes/fontconfig.recipe index 5333aea7..b404ab16 100644 --- a/recipes/fontconfig.recipe +++ b/recipes/fontconfig.recipe @@ -11,7 +11,12 @@ class Recipe(recipe.Recipe): tarball_checksum = '298e883f6e11d2c5e6d53c8a8394de58d563902cfab934e6be12fb5a5f361ef0' licenses = [{License.MIT: ['COPYING']}] btype = BuildType.MESON - meson_options = {'doc': 'disabled', 'tests': 'disabled', 'tools': 'disabled'} + meson_options = { + 'doc': 'disabled', + 'tests': 'disabled', + 'tools': 'disabled', + 'c_std': 'gnu99', + } deps = ['expat', 'freetype', 'zlib', 'bzip2'] patches = [ # Proper fix is pending, upstream issue is: |