[packages/tvheadend] - more bitness fixes
baggins
baggins at pld-linux.org
Sat Apr 16 20:10:38 CEST 2016
commit 3552479ba2f9b2184ca02c358ef0292e28796b03
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Apr 16 20:10:26 2016 +0200
- more bitness fixes
32bit.patch | 16 ++++++++++++++++
tvheadend.spec | 4 ++++
2 files changed, 20 insertions(+)
---
diff --git a/tvheadend.spec b/tvheadend.spec
index bec16f8..d598753 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -14,6 +14,7 @@ Source4: %{name}.init
Patch0: x32.patch
Patch1: ffmpeg3.patch
Patch2: 64bit.patch
+Patch3: 32bit.patch
URL: https://tvheadend.org/projects/tvheadend
BuildRequires: avahi-devel
BuildRequires: curl-devel
@@ -45,6 +46,9 @@ DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
%ifarch %{x8664}
%patch2 -p1
%endif
+%ifarch %{ix86} x32
+%patch3 -p1
+%endif
%build
export CFLAGS="%{rpmcflags}"
diff --git a/32bit.patch b/32bit.patch
new file mode 100644
index 0000000..d8c0dda
--- /dev/null
+++ b/32bit.patch
@@ -0,0 +1,16 @@
+diff -ur tvheadend-4.0.8.orig/src/plumbing/transcoding.c tvheadend-4.0.8/src/plumbing/transcoding.c
+--- tvheadend-4.0.8.orig/src/plumbing/transcoding.c 2015-12-16 18:33:33.000000000 +0100
++++ tvheadend-4.0.8/src/plumbing/transcoding.c 2016-04-16 19:53:13.907273675 +0200
+@@ -592,10 +597,10 @@
+ // Convert audio
+ tvhtrace("transcode", "%04X: converting audio", shortid(t));
+
+- tvhtrace("transcode", "%04X: IN : channels=%d, layout=%" PRIi64 ", rate=%d, fmt=%d, bitrate=%d",
++ tvhtrace("transcode", "%04X: IN : channels=%d, layout=%" PRIi64 ", rate=%d, fmt=%d, bitrate=%lld",
+ shortid(t), ictx->channels, ictx->channel_layout, ictx->sample_rate,
+ ictx->sample_fmt, ictx->bit_rate);
+- tvhtrace("transcode", "%04X: OUT: channels=%d, layout=%" PRIi64 ", rate=%d, fmt=%d, bitrate=%d",
++ tvhtrace("transcode", "%04X: OUT: channels=%d, layout=%" PRIi64 ", rate=%d, fmt=%d, bitrate=%lld",
+ shortid(t), octx->channels, octx->channel_layout, octx->sample_rate,
+ octx->sample_fmt, octx->bit_rate);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tvheadend.git/commitdiff/3552479ba2f9b2184ca02c358ef0292e28796b03
More information about the pld-cvs-commit
mailing list