From c10842fe0b27acb8809181a5eaa2da97ee5d3ce3 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Wed, 9 May 2018 17:00:06 +0200 Subject: [PATCH] libomxil-bellagio: fix build on gcc8 Added the `-Wno-error=array-bounds` flag. Fixes #40213. --- pkgs/development/libraries/libomxil-bellagio/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libomxil-bellagio/default.nix b/pkgs/development/libraries/libomxil-bellagio/default.nix index 28c8a915c63..c640d8a8cd2 100644 --- a/pkgs/development/libraries/libomxil-bellagio/default.nix +++ b/pkgs/development/libraries/libomxil-bellagio/default.nix @@ -14,6 +14,10 @@ stdenv.mkDerivation rec { patches = [ ./fedora-fixes.patch ]; + # Fix for #40213, probably permanent, because upstream doesn't seem to be + # developed anymore. Alternatively, gcc7Stdenv could be used. + NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds"; + meta = with stdenv.lib; { homepage = https://sourceforge.net/projects/omxil/; description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";