Fix the build
This commit is contained in:
parent
f3aa49c305
commit
72aa7b0cc6
26
0001-backend-Fix-the-build-with-Werror-format.patch
Normal file
26
0001-backend-Fix-the-build-with-Werror-format.patch
Normal 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
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user