Fix the build
This commit is contained in:
parent
5eeb45bb57
commit
03bfb29ae9
26
0001-build-fix-build-due-wrong-format-in-debug.patch
Normal file
26
0001-build-fix-build-due-wrong-format-in-debug.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 3a6268f60712aafd2f007426e5d646c8ce237657 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
Date: Sat, 10 Sep 2016 23:51:38 +0200
|
||||||
|
Subject: [PATCH] build: fix build due wrong format in debug
|
||||||
|
|
||||||
|
Introduced in commit f3ccf55
|
||||||
|
---
|
||||||
|
tests/lib-net.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/lib-net.c b/tests/lib-net.c
|
||||||
|
index d1eb73e..0608083 100644
|
||||||
|
--- a/tests/lib-net.c
|
||||||
|
+++ b/tests/lib-net.c
|
||||||
|
@@ -86,7 +86,7 @@ soup_server_throttling_cb (SoupServer *server,
|
||||||
|
SoupClientContext *client,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
- gchar *response = g_strdup_printf ("%lu", g_get_monotonic_time());
|
||||||
|
+ gchar *response = g_strdup_printf ("%" G_GINT64_FORMAT, g_get_monotonic_time());
|
||||||
|
|
||||||
|
soup_message_set_response (message, "text/plain", SOUP_MEMORY_TAKE, response, strlen(response));
|
||||||
|
soup_message_set_status (message, SOUP_STATUS_OK);
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -9,6 +9,8 @@ Summary: Content discovery framework
|
|||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Grilo
|
URL: https://wiki.gnome.org/Projects/Grilo
|
||||||
Source0: https://download.gnome.org/sources/grilo/%{release_version}/grilo-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/grilo/%{release_version}/grilo-%{version}.tar.xz
|
||||||
|
# Backported from upstream
|
||||||
|
Patch0: 0001-build-fix-build-due-wrong-format-in-debug.patch
|
||||||
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
@ -46,6 +48,7 @@ general and API documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user