Merge pull request #147549 from trofi/fix-gst-plugins-bad-on-gcc-11

authored by Sandro and committed by GitHub 0e99c6fb 92e4aecf

-1
-1
pkgs/development/libraries/gstreamer/bad/default.nix
··· 105 105 patches = [ 106 106 # Use pkgconfig to inject the includedirs 107 107 ./fix_pkgconfig_includedir.patch 108 - ] ++ lib.optionals stdenv.isDarwin [ 109 108 # Fix “error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&opencv_dilate_erode_type))>::type *' (aka 'volatile unsigned long *')” on Darwin. 110 109 (fetchpatch { 111 110 url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/640a65bf966df065d41a511e2d76d1f26a2e770c.patch";