add patch to Initialize the memory and rebuild dconf

(cherry picked from commit dde658627bdfabf61fb5add0354b2f3a826736de)
This commit is contained in:
jzm369 2021-02-08 19:51:50 +08:00 committed by openeuler-sync-bot
parent e59a5c2e6f
commit fc57a5382b
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- dconf-0.34.0/gvdb/gvdb-builder.c 2020-06-23 11:41:44.184000000 +0800
+++ dconf-0.34.0.bak/gvdb/gvdb-builder.c 2020-06-23 11:42:07.508000000 +0800
@@ -239,6 +239,7 @@ file_builder_allocate (FileBuilder
chunk->offset = fb->offset;
chunk->size = size;
chunk->data = g_malloc (size);
+ memset(chunk->data, 0, size);
pointer->start = guint32_to_le (fb->offset);
fb->offset += size;

View File

@ -1,12 +1,14 @@
Name: dconf
Version: 0.34.0
Release: 1
Release: 3
Summary: Dconf provides a backend to the GSettings API in Glib
License: LGPLv2+ and GPLv2+ and GPLv3+
URL: http://live.gnome.org/%{name}
Source0: http://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz
Patch9000: dconf-eliminate-difference.patch
BuildRequires: bash-completion dbus-devel glib2-devel >= 2.44.0 gtk-doc meson vala libxslt
Requires: dbus glib2%{?_isa} >= 2.44.0
@ -85,6 +87,12 @@ dconf update
%{_mandir}/man7/dconf.7.gz
%changelog
* Tue Feb 9 2021 jinzhimin <jinzhimin2@huawei.com> - 0.34.0-3
- rebuild dconf
* Mon Feb 8 2021 jinzhimin <jinzhimin2@huawei.com> - 0.34.0-2
- add patch to Initialize the memory
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.34.0-1
- Type:enhancement
- ID:NA