Bug#300702: marked as done (vdr: EPG data for amd64)

Debian Bug Tracking System pkg-vdr-dvb-devel@lists.alioth.debian.org
Sat, 09 Apr 2005 10:18:33 -0700

Your message dated Sat, 09 Apr 2005 13:06:51 -0400
with message-id <E1DKJQ3-0003qK-00@newraff.debian.org>
and subject line Bug#300702: fixed in vdr 1.2.6-10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 21 Mar 2005 08:56:16 +0000
>From ocordes@astro.uni-bonn.de Mon Mar 21 00:56:16 2005
Return-path: <ocordes@astro.uni-bonn.de>
Received: from aibn55.astro.uni-bonn.de [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDIhr-0002bz-00; Mon, 21 Mar 2005 00:56:16 -0800
Received: from aibn73 ([] helo=aibn73.astro.uni-bonn.de)
	by aibn55.astro.uni-bonn.de with esmtp 
	(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 4.12 #1 (Debian))
	id 1DDIhp-0001mj-00
	for <submit@bugs.debian.org>; Mon, 21 Mar 2005 09:56:13 +0100
Received: from ocordes by aibn73.astro.uni-bonn.de with local (Exim 4.50 #1 (Debian))
	id 1DDIhp-00084x-Km
	for <submit@bugs.debian.org>; Mon, 21 Mar 2005 09:56:13 +0100
Content-Type: multipart/mixed; boundary="===============4970680208302112102=="
MIME-Version: 1.0
From: Oliver Cordes <ocordes@astro.uni-bonn.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vdr: EPG data for amd64
X-Mailer: reportbug 3.8
Date: Mon, 21 Mar 2005 09:56:13 +0100
Message-Id: <E1DDIhp-00084x-Km@aibn73.astro.uni-bonn.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: vdr
Severity: important
Tags: patch

vdr in a debian amd64 system is not able to accept EPG data due to an
error in the crc subroutine. The original routine uses an system u_long
variable which is 64bit under amd64, but the crc routine is written for
a 32bit use.  Please apply the following patch, it's not harmful to
patch also the 32bit version.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Content-Type: text/x-c++; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="vdr.patch"

Common subdirectories: vdr-1.2.6.vanilla/libdtv/libsi/include and vdr-1.2.6/libdtv/libsi/include
diff -u vdr-1.2.6.vanilla/libdtv/libsi/si_parser.c vdr-1.2.6/libdtv/libsi/si_parser.c
--- vdr-1.2.6.vanilla/libdtv/libsi/si_parser.c	2003-08-15 15:56:02.000000000 +0200
+++ vdr-1.2.6/libdtv/libsi/si_parser.c	2005-03-21 09:50:25.457874928 +0100
@@ -1278,7 +1278,7 @@
 // CRC32 lookup table for polynomial 0x04c11db7
-static u_long crc_table[256] = {
+static __u32 crc_table[256] = {
 	0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
 	0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
 	0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
@@ -1326,7 +1326,7 @@
 static u_long crc32 (char *data, int len)
 	register int i;
-	u_long crc = 0xffffffff;
+	__u32 crc = 0xffffffff;
 	for (i=0; i<len; i++)
 		crc = (crc << 8) ^ crc_table[((crc >> 24) ^ *data++) & 0xff];


Received: (at 300702-close) by bugs.debian.org; 9 Apr 2005 17:13:52 +0000
>From katie@ftp-master.debian.org Sat Apr 09 10:13:52 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DKJWq-0004bZ-00; Sat, 09 Apr 2005 10:13:52 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DKJQ3-0003qK-00; Sat, 09 Apr 2005 13:06:51 -0400
From: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
To: 300702-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#300702: fixed in vdr 1.2.6-10
Message-Id: <E1DKJQ3-0003qK-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 09 Apr 2005 13:06:51 -0400
Delivered-To: 300702-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4

Source: vdr
Source-Version: 1.2.6-10

We believe that the bug you reported is fixed in the latest version of
vdr, which is due to be installed in the Debian FTP archive:

  to pool/main/v/vdr/vdr-dev_1.2.6-10_all.deb
  to pool/main/v/vdr/vdr-plugin-examples_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr-plugin-sky_1.2.6-10_i386.deb
  to pool/main/v/vdr/vdr_1.2.6-10.diff.gz
  to pool/main/v/vdr/vdr_1.2.6-10.dsc
  to pool/main/v/vdr/vdr_1.2.6-10_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 300702@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> (supplier of updated vdr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sat, 09 Apr 2005 18:32:59 +0200
Source: vdr
Binary: vdr-plugin-sky vdr vdr-plugin-examples vdr-dev
Architecture: source i386 all
Version: 1.2.6-10
Distribution: unstable
Urgency: low
Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
Changed-By: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
 vdr        - Video Disk Recorder for DVB cards
 vdr-dev    - Video Disk Recorder for DVB cards
 vdr-plugin-examples - Plugins for vdr to show some possible features
 vdr-plugin-sky - Plugin for using a Sky Digibox with vdr
Closes: 297640 300042 300074 300702 302826
 vdr (1.2.6-10) unstable; urgency=low
   * Thomas Schmidt <tschmidt@debian.org>
     - Added patch for the EPG handling under amd64 (closes: #300702)
     - Check for existance of /usr/sbin/runvdr before sourcing the
       config-loader.sh script (closes: #302826)
     - Fixed small typos in the package descriptions of vdr and
       vdr-dev (closes: #300042, #300074)
     - Add user vdr to group cdrom in postinst, so that vdr is able to
       play dvd's with the dvd-plugin again
 vdr (1.2.6-9) experimental; urgency=low
   * Thomas Schmidt <tschmidt@debian.org>
     - Change owner of /proc/{av7110_ir,budget_ci_ir} to the uid and
       gid under which vdr will run in /usr/sbin/runvdr
       (closes: #297640)
     - Added 13_remote.dpatch from Darren Salt, this allows to have
       just 1 binary for all 4 possible control methods, and it should
       reduce build-time by about 75%
     - Removed packages vdr-daemon, vdr-kbd, vdr-lirc, vdr-rcu because
       they are not necessary anymore
     - Added "Conflicts and Replaces: vdr-daemon, vdr-kbd, vdr-lirc,
       vdr-rcu" to debian/control
     - Removed Andreas Müller from uploaders - he does not intend
       to do uploads anymore
 1c9455bcf01dcac396825f1fc51e3bac 781 misc extra vdr_1.2.6-10.dsc
 ee8b7e49933f70dc263d59ad112a15fa 93266 misc extra vdr_1.2.6-10.diff.gz
 0e0fda34dda1e5e13cb316d4dfc272d1 87946 misc extra vdr-dev_1.2.6-10_all.deb
 acbfc500c98dd1e34a4d4910ffa330ac 435668 misc extra vdr_1.2.6-10_i386.deb
 053a2670b311d0d0538f6fbd04122ba0 18654 misc extra vdr-plugin-sky_1.2.6-10_i386.deb
 019bee14297d5fa79b5be24fb14ca1c9 12218 misc extra vdr-plugin-examples_1.2.6-10_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)