[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: totem: Fix build on i686.
From: |
Mark H. Weaver |
Subject: |
01/01: gnu: totem: Fix build on i686. |
Date: |
Wed, 11 May 2016 14:24:38 +0000 (UTC) |
mhw pushed a commit to branch gnome-updates
in repository guix.
commit e2b89203db6c2056c9658be40ab1be471769d9eb
Author: Mark H Weaver <address@hidden>
Date: Wed May 11 03:17:56 2016 -0400
gnu: totem: Fix build on i686.
* gnu/packages/patches/totem-debug-format-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (totem)[source]: Add patch.
---
gnu/local.mk | 1 +
gnu/packages/gnome.scm | 3 ++-
gnu/packages/patches/totem-debug-format-fix.patch | 11 +++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index ed3f061..183ddb8 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -754,6 +754,7 @@ dist_patch_DATA =
\
gnu/packages/patches/ttfautohint-source-date-epoch.patch \
gnu/packages/patches/tophat-build-with-later-seqan.patch \
gnu/packages/patches/torsocks-dns-test.patch \
+ gnu/packages/patches/totem-debug-format-fix.patch \
gnu/packages/patches/unzip-CVE-2014-8139.patch \
gnu/packages/patches/unzip-CVE-2014-8140.patch \
gnu/packages/patches/unzip-CVE-2014-8141.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a7020a6..ad5dd94 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3095,7 +3095,8 @@ for application developers.")
name "-" version ".tar.xz"))
(sha256
(base32
- "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))))
+ "09swnhp46cyy2svqx02fzy555pjgc61lyjw56v9rz1mfc41lh8kg"))
+ (patches (search-patches "totem-debug-format-fix.patch"))))
(build-system glib-or-gtk-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
diff --git a/gnu/packages/patches/totem-debug-format-fix.patch
b/gnu/packages/patches/totem-debug-format-fix.patch
new file mode 100644
index 0000000..7ddd31e
--- /dev/null
+++ b/gnu/packages/patches/totem-debug-format-fix.patch
@@ -0,0 +1,11 @@
+--- totem-3.20.1/src/backend/bacon-video-widget.c.orig 2016-03-22
12:45:32.000000000 -0400
++++ totem-3.20.1/src/backend/bacon-video-widget.c 2016-05-11
02:49:55.299109551 -0400
+@@ -2334,7 +2334,7 @@
+ 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: %li stop: %li)", i, (long) start,
(long) stop);
+ }
+ }
+