rpms/libdvbpsi/devel 0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch, 1.1, 1.2 libdvbpsi.spec, 1.10, 1.11
Nicolas Chauvet
kwizart at rpmfusion.org
Sun Mar 3 22:40:17 CET 2013
Author: kwizart
Update of /cvs/free/rpms/libdvbpsi/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv11111
Modified Files:
0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch
libdvbpsi.spec
Log Message:
* Sun Mar 03 2013 Nicolas Chauvet <kwizart at gmail.com> - 1.0.0-0.2_pre3
- Mass rebuilt for Fedora 19 Features
0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch:
dvbpsi.c | 3 +
dvbpsi.h | 82 +++++++++++++++++++++++++++++++++++++--------------
tables/nit_private.h | 4 +-
tables/pmt_private.h | 4 +-
tables/sis.h | 2 -
tables/tot.h | 3 -
6 files changed, 68 insertions(+), 30 deletions(-)
Index: 0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/devel/0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch 18 Oct 2012 19:54:22 -0000 1.1
+++ 0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch 3 Mar 2013 21:40:16 -0000 1.2
@@ -1,17 +1,20 @@
-From 9d20b904c0649cae0c71cef5177113821dfcc71f Mon Sep 17 00:00:00 2001
+From 61b43151b3ee99ebba38b038e9e92d34766cf897 Mon Sep 17 00:00:00 2001
From: Jean-Paul Saman <jpsaman at videolan.org>
Date: Tue, 16 Oct 2012 10:56:26 +0200
-Subject: [PATCH] dvbpsi_decoder_t: solve alignment issues with
+Subject: [PATCH 1/2] dvbpsi_decoder_t: solve alignment issues with
dvbpsi_decoder_t casting.
Repack DVBPSI_DECODER_COMMON to be byte aligned and add some checks to
do clever casting.
+The TOT and SIS table structure definition need to be packed explicitly for use on ARM and MIPS platforms.
---
src/dvbpsi.c | 3 +-
src/dvbpsi.h | 82 +++++++++++++++++++++++++++++++++++-------------
src/tables/nit_private.h | 4 +--
src/tables/pmt_private.h | 4 +--
- 4 files changed, 66 insertions(+), 27 deletions(-)
+ src/tables/sis.h | 2 +-
+ src/tables/tot.h | 2 +-
+ 6 files changed, 68 insertions(+), 29 deletions(-)
diff --git a/src/dvbpsi.c b/src/dvbpsi.c
index ffbfaca..d45802e 100644
@@ -204,6 +207,32 @@
} dvbpsi_pmt_decoder_t;
/*****************************************************************************
+diff --git a/src/tables/sis.h b/src/tables/sis.h
+index 16f2298..a339a6c 100644
+--- a/src/tables/sis.h
++++ b/src/tables/sis.h
+@@ -97,7 +97,7 @@ typedef struct dvbpsi_sis_s
+ /* FIXME: alignment stuffing */
+ uint32_t i_ecrc; /*!< CRC 32 of decrypted splice_info_section */
+
+-} dvbpsi_sis_t;
++} __attribute__((packed)) dvbpsi_sis_t;
+
+ /*****************************************************************************
+ * Splice Commands
+diff --git a/src/tables/tot.h b/src/tables/tot.h
+index bb2a760..6ccf009 100644
+--- a/src/tables/tot.h
++++ b/src/tables/tot.h
+@@ -67,7 +67,7 @@ typedef struct dvbpsi_tot_s
+
+ uint32_t i_crc; /*!< CRC_32 (TOT only) */
+
+-} dvbpsi_tot_t;
++} __attribute__((packed)) dvbpsi_tot_t;
+
+ /*****************************************************************************
+ * dvbpsi_tot_callback
--
1.7.11.7
Index: libdvbpsi.spec
===================================================================
RCS file: /cvs/free/rpms/libdvbpsi/devel/libdvbpsi.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libdvbpsi.spec 18 Oct 2012 20:01:02 -0000 1.10
+++ libdvbpsi.spec 3 Mar 2013 21:40:16 -0000 1.11
@@ -4,12 +4,13 @@
Summary: Library for MPEG TS and DVB PSI tables decoding and generation
Name: libdvbpsi
Version: 1.0.0
-Release: 0.1%{?pre}%{?dist}
+Release: 0.2%{?pre}%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.videolan.org/developers/libdvbpsi.html
Source0: http://download.videolan.org/pub/libdvbpsi/%{version}/%{name}-%{version}%{?pre}.tar.bz2
Patch0: 0001-dvbpsi_decoder_t-solve-alignment-issues-with-dvbpsi_.patch
+Patch1: 0002-dvbinfo-udp.c-use-sockaddr_storage-type-instead-of-s.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: graphviz doxygen
@@ -34,6 +35,7 @@
%prep
%setup -q -n %{name}-%{version}%{?pre}
%patch0 -p1
+%patch1 -p1
# -----------------------------------------------------------------------------
@@ -75,6 +77,9 @@
# -----------------------------------------------------------------------------
%changelog
+* Sun Mar 03 2013 Nicolas Chauvet <kwizart at gmail.com> - 1.0.0-0.2_pre3
+- Mass rebuilt for Fedora 19 Features
+
* Thu Oct 18 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.0.0-0.1_pre2
- Update to 1.0.0_pre2
More information about the rpmfusion-commits
mailing list