Bug#904842: Fails to compile with linux 4.15+ due to new timer interface

Jakob Haufe sur5r at sur5r.net
Sat Jul 28 19:56:06 BST 2018


Package: dahdi-source
Version: 1:2.11.1.0.20170917~dfsg-3
Severity: important
Tags: upstream patch

Linux 4.15 introduced a new timer interface. This breaks compilation of
the
dahdi modules.

The attached patch fixes this. The original code is guarded by #ifdef
to keep it working for pre-4.15 kernels. It was compiled and tested
successfully against:

* 4.9.0-7-amd64
* 4.15.0-3-amd64
* 4.16.0-2-amd64
* 4.17.0-1-amd64

Please be aware that I was only able to test the zaphfc part in both NT
and TE mode as I currently have no access to other dahdi hardware.

Cheers,
sur5r

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C
(charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dahdi-source depends on:
ii  bzip2             1.0.6-8.1
ii  debhelper         11.3.5
ii  module-assistant  0.11.10

Versions of packages dahdi-source recommends:
ii  dahdi-linux  1:2.11.1.0.20170917~dfsg-3

dahdi-source suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dahdi-new-timer-interface.diff
Type: text/x-patch
Size: 9172 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20180728/b1cbb516/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20180728/b1cbb516/attachment.sig>


More information about the Pkg-voip-maintainers mailing list