Fix the build

This commit is contained in:
Kalev Lember 2016-04-14 11:52:57 +02:00
parent f3aa49c305
commit 72aa7b0cc6
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From 057590c88e946e952ef2b3b7a3997998494291ab Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Thu, 14 Apr 2016 10:48:47 +0200
Subject: [PATCH] backend: Fix the build with -Werror=format
https://bugzilla.gnome.org/show_bug.cgi?id=765036
---
src/backend/bacon-video-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index ff38a7b..c4f107e 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2334,7 +2334,7 @@ parse:
if (!gst_toc_entry_get_start_stop_times (entry, &start, &stop)) {
GST_DEBUG ("Chapter #%d (couldn't get times)", i);
} else {
- GST_DEBUG ("Chapter #%d (start: %li stop: %li)", i, start, stop);
+ GST_DEBUG ("Chapter #%d (start: %" G_GINT64_FORMAT " stop: %" G_GINT64_FORMAT ")", i, start, stop);
}
}
--
2.5.5

View File

@ -14,6 +14,9 @@ Group: Applications/Multimedia
URL: https://wiki.gnome.org/Apps/Videos
Source0: https://download.gnome.org/sources/%{name}/3.20/%{name}-%{version}.tar.xz
# https://bugzilla.gnome.org/show_bug.cgi?id=765036
Patch0: 0001-backend-Fix-the-build-with-Werror-format.patch
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(clutter-1.0)
BuildRequires: pkgconfig(clutter-gst-3.0)
@ -146,6 +149,7 @@ audio and video files in the properties dialog.
%prep
%setup -q
%patch0 -p1
%build
export PYTHON=%{__python3}