gobject-introspection: pull upstream fix for glibc-2.41 on clang (#390512)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
glib,
|
||||
flex,
|
||||
bison,
|
||||
@@ -67,6 +68,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(replaceVars ./absolute_shlib_path.patch {
|
||||
inherit nixStoreDir;
|
||||
})
|
||||
|
||||
# Add _Complex support for glibc-2.41:
|
||||
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/519
|
||||
(fetchpatch {
|
||||
name = "complex-clang.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/2812471365c75ab51347a9101771128f8ab283ab.patch";
|
||||
hash = "sha256-MR0tCOVfoAAPUIlT/Y8IYWiz48j1EnhNjUBzvsCUsEI=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals x11Support [
|
||||
# Hardcode the cairo shared library path in the Cairo gir shipped with this package.
|
||||
|
||||
Reference in New Issue
Block a user