!9 [sync] PR-8: add patch to Initialize the memory and rebuild dconf
From: @openeuler-sync-bot Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
8d525189d6
10
dconf-eliminate-difference.patch
Normal file
10
dconf-eliminate-difference.patch
Normal 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;
|
||||||
10
dconf.spec
10
dconf.spec
@ -1,12 +1,14 @@
|
|||||||
Name: dconf
|
Name: dconf
|
||||||
Version: 0.34.0
|
Version: 0.34.0
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: Dconf provides a backend to the GSettings API in Glib
|
Summary: Dconf provides a backend to the GSettings API in Glib
|
||||||
|
|
||||||
License: LGPLv2+ and GPLv2+ and GPLv3+
|
License: LGPLv2+ and GPLv2+ and GPLv3+
|
||||||
URL: http://live.gnome.org/%{name}
|
URL: http://live.gnome.org/%{name}
|
||||||
Source0: http://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz
|
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
|
BuildRequires: bash-completion dbus-devel glib2-devel >= 2.44.0 gtk-doc meson vala libxslt
|
||||||
Requires: dbus glib2%{?_isa} >= 2.44.0
|
Requires: dbus glib2%{?_isa} >= 2.44.0
|
||||||
|
|
||||||
@ -85,6 +87,12 @@ dconf update
|
|||||||
%{_mandir}/man7/dconf.7.gz
|
%{_mandir}/man7/dconf.7.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.34.0-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user