Backport upstream patch to fix a memory error (GNOME #742644)
This commit is contained in:
parent
afea509fe7
commit
c75e703ed4
25
0001-oauth-Add-missing-include.patch
Normal file
25
0001-oauth-Add-missing-include.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From b50ace7738ea03817acdad87fb2b338a86018329 Mon Sep 17 00:00:00 2001
|
||||
From: Christophe Fergeau <cfergeau@redhat.com>
|
||||
Date: Wed, 3 Sep 2014 11:31:49 +0200
|
||||
Subject: [PATCH] oauth: Add missing include
|
||||
|
||||
This fixes a compilation warning about a missing prototype.
|
||||
---
|
||||
rest/oauth-proxy-call.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/rest/oauth-proxy-call.c b/rest/oauth-proxy-call.c
|
||||
index dce2c66..ab77b1a 100644
|
||||
--- a/rest/oauth-proxy-call.c
|
||||
+++ b/rest/oauth-proxy-call.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rest/rest-proxy-call.h>
|
||||
#include "oauth-proxy-call.h"
|
||||
#include "oauth-proxy-private.h"
|
||||
+#include "rest-proxy-call-private.h"
|
||||
#include "sha1.h"
|
||||
|
||||
G_DEFINE_TYPE (OAuthProxyCall, oauth_proxy_call, REST_TYPE_PROXY_CALL)
|
||||
--
|
||||
2.1.0
|
||||
|
||||
11
rest.spec
11
rest.spec
@ -1,6 +1,6 @@
|
||||
Name: rest
|
||||
Version: 0.7.92
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A library for access to RESTful web services
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -8,6 +8,9 @@ License: LGPLv2
|
||||
URL: http://www.gnome.org
|
||||
Source0: http://download.gnome.org/sources/%{name}/0.7/%{name}-%{version}.tar.xz
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=742644
|
||||
Patch0: 0001-oauth-Add-missing-include.patch
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: libsoup-devel
|
||||
@ -37,6 +40,7 @@ Files for development with %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
@ -73,7 +77,10 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%{_datadir}/gir-1.0/RestExtras-0.7.gir
|
||||
|
||||
%changelog
|
||||
* Wed Sep 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.92-1
|
||||
* Fri Jan 9 2015 Debarshi Ray <rishi@fedoraproject.org> 0.7.92-6
|
||||
- Backport upstream patch to fix a memory error (GNOME #742644)
|
||||
|
||||
* Wed Sep 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.92-5
|
||||
- Update to 0.7.92
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.91-5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user