Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 920179 Details for
Bug 1122128
Regression: GVariant encoding of array of doubles
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fedora glib2 build fix for the regression
0001-Fix-regression-in-encoding-of-array-of-doubles.patch (text/plain), 2.75 KB, created by
Stef Walter
on 2014-07-23 09:23:51 UTC
(
hide
)
Description:
Fedora glib2 build fix for the regression
Filename:
MIME Type:
Creator:
Stef Walter
Created:
2014-07-23 09:23:51 UTC
Size:
2.75 KB
patch
obsolete
>From a5efbca56b2b6412016c602e1f08e80c3e8a0212 Mon Sep 17 00:00:00 2001 >From: Stef Walter <stefw@redhat.com> >Date: Wed, 23 Jul 2014 08:52:56 +0200 >Subject: [PATCH] Fix regression in encoding of array of doubles > >rhbz#1122128 >--- > ...x-regression-encoding-an-array-of-doubles.patch | 29 ++++++++++++++++++++++ > glib2.spec | 8 +++++- > 2 files changed, 36 insertions(+), 1 deletion(-) > create mode 100644 gio-Fix-regression-encoding-an-array-of-doubles.patch > >diff --git a/gio-Fix-regression-encoding-an-array-of-doubles.patch b/gio-Fix-regression-encoding-an-array-of-doubles.patch >new file mode 100644 >index 0000000..4093602 >--- /dev/null >+++ b/gio-Fix-regression-encoding-an-array-of-doubles.patch >@@ -0,0 +1,29 @@ >+From 869a5d38d6004d3f636f3a01e029a81e545c1c51 Mon Sep 17 00:00:00 2001 >+From: Stef Walter <stefw@gnome.org> >+Date: Tue, 22 Jul 2014 21:29:27 +0200 >+Subject: [PATCH] gio: Fix regression encoding an array of doubles >+ >+Take the simple slow path in this case. Encoding a double >+takes special precautions as you can see in append_value_to_blob() >+and friends. >+ >+https://bugzilla.gnome.org/show_bug.cgi?id=732754 >+--- >+ gio/gdbusmessage.c | 2 +- >+ 1 file changed, 1 insertion(+), 1 deletion(-) >+ >+diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c >+index cd995b8..4173bcc 100644 >+--- a/gio/gdbusmessage.c >++++ b/gio/gdbusmessage.c >+@@ -1219,7 +1219,7 @@ get_type_fixed_size (const GVariantType *type) >+ return 2; >+ case 'i': case 'u': case 'h': >+ return 4; >+- case 'x': case 't': case 'd': >++ case 'x': case 't': >+ return 8; >+ default: >+ return 0; >+-- >+1.9.3 >\ No newline at end of file >diff --git a/glib2.spec b/glib2.spec >index 6dcf397..9c2ca73 100644 >--- a/glib2.spec >+++ b/glib2.spec >@@ -3,13 +3,15 @@ > Summary: A library of handy utility functions > Name: glib2 > Version: 2.41.2 >-Release: 1%{?dist} >+Release: 2%{?dist} > License: LGPLv2+ > Group: System Environment/Libraries > URL: http://www.gtk.org > #VCS: git:git://git.gnome.org/glib > Source: http://download.gnome.org/sources/glib/2.41/glib-%{version}.tar.xz > >+Patch1: gio-Fix-regression-encoding-an-array-of-doubles.patch >+ > BuildRequires: pkgconfig > BuildRequires: gettext > BuildRequires: libattr-devel >@@ -81,6 +83,7 @@ the functionality of the installed glib2 package. > > %prep > %setup -q -n glib-%{version} >+%patch1 -p1 > > # Workaround wrong gtk-doc.make timestamp > # https://bugzilla.gnome.org/show_bug.cgi?id=700350 >@@ -223,6 +226,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules > %{_datadir}/installed-tests > > %changelog >+* Wed Jul 23 2014 Stef Walter <stefw@redhat.com> - 2.41.2-2 >+- Fix regression with GDBus array encoding rhbz#1122128 >+ > * Mon Jul 14 2014 Kalev Lember <kalevlember@gmail.com> - 2.41.2-1 > - Update to 2.41.2 > >-- >2.0.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1122128
:
919962
| 920179