Merge pull request #59665 from hedning/flatpak-fix-pixbuf-leakage

flatpak: clear GDK_PIXBUF_MODULE_FILE
This commit is contained in:
Silvan Mosberger 2019-04-16 22:35:43 +02:00 committed by GitHub
commit 91a9000cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
# patch taken from gtk_doc
./respect-xml-catalog-files-var.patch
./use-flatpak-from-path.patch
./unset-env-vars.patch
];
nativeBuildInputs = [

View File

@ -0,0 +1,10 @@
--- a/common/flatpak-run.c
+++ b/common/flatpak-run.c
@@ -1192,6 +1192,7 @@ static const ExportData default_exports[] = {
{"PERLLIB", NULL},
{"PERL5LIB", NULL},
{"XCURSOR_PATH", NULL},
+ {"GDK_PIXBUF_MODULE_FILE", NULL},
};
static const ExportData no_ld_so_cache_exports[] = {