Bug#323753: zaptel-source: cannot compile zaphfc in unstable with gcc-4.0.1

Klemens Kasemaa klem at linux.ee
Thu Aug 18 08:20:50 UTC 2005


Package: zaptel-source
Version: 1:1.0.9.1-1
Severity: grave
Tags: patch
Justification: renders package unusable


cannot compile zaphfc with gcc-4.0.1, patch:

diff -Nur modules/zaptel/zaphfc/zaphfc.c /usr/src/modules/zaptel/zaphfc/zaphfc.c
--- modules/zaptel/zaphfc/zaphfc.c      2005-08-08 20:38:54.000000000 +0300
+++ /usr/src/modules/zaptel/zaphfc/zaphfc.c     2005-08-18 11:09:19.000000000 +0300
@@ -997,7 +997,7 @@
            return -ENOMEM;
        } else {
            memset(hfctmp->fifomem, 0x0, 65536);
-           (ulong) hfctmp->fifos = (((ulong) hfctmp->fifomem) & ~0x7FFF) + 0x8000;
+           hfctmp->fifos = (((ulong) hfctmp->fifomem) & ~0x7FFF) + 0x8000;
            pci_write_config_dword(hfctmp->pcidev, 0x80, (u_int) virt_to_bus(hfctmp->fifos));
            hfctmp->pci_io = ioremap((ulong) hfctmp->pci_io, 256);
        }


NB! AS bug #302836 is not fixed yet, a patch to Makefile must be applied to compile zaphfc at all

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=et_EE.UTF-8, LC_CTYPE=et_EE.UTF-8 (charmap=UTF-8)

Versions of packages zaptel-source depends on:
ii  bzip2                         1.0.2-8    high-quality block-sorting file co
ii  debhelper                     4.9.5      helper programs for debian/rules
ii  dpatch                        2.0.14     patch maintenance system for Debia
ii  module-assistant              0.9.8      tool to make module package creati

Versions of packages zaptel-source recommends:
ii  zaptel                       1:1.0.9.1-1 zapata telephony utilities

-- no debconf information




More information about the Pkg-voip-maintainers mailing list