From 72aa7b0cc6a88745afedb492ac350367de55362d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Apr 14 2016 09:52:57 +0000 Subject: Fix the build --- diff --git a/0001-backend-Fix-the-build-with-Werror-format.patch b/0001-backend-Fix-the-build-with-Werror-format.patch new file mode 100644 index 0000000..a28fb75 --- /dev/null +++ b/0001-backend-Fix-the-build-with-Werror-format.patch @@ -0,0 +1,26 @@ +From 057590c88e946e952ef2b3b7a3997998494291ab Mon Sep 17 00:00:00 2001 +From: Kalev Lember +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 + diff --git a/totem.spec b/totem.spec index eba352b..4339a75 100644 --- a/totem.spec +++ b/totem.spec @@ -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}