mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 18:39:16 -04:00
- Mk/bsd.port.mk: mark 13.0 as unsupported - Tools/scripts/portsearch: Drop support for FreeBSD <= 4 - archivers/zstd: revert "Fix build on FreeBSD 13.0" - deskutils/xdg-desktop-portal: remove check for 13.0 - devel/libpeas: remove outdated comment - editors/imhex: remove compatibility for 13.0 - editors/libreoffice: remove compatibility for 13.0 - editors/openoffice-4: remove compatibility for 13.0 - editors/openoffice-devel: remove compatibility for 13.0 - emulators/linux_base-c7: remove compatiblity for 13.0 - graphics/drm-kmod: remove detection for 13.0 - graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore - graphics/linux-c7-libdrm: remove support for 13.0 - math/igraph: remove support for 13.0 - net/asterisk16: drop support for ancient FreeBSD versions - net/asterisk18: drop support for ancient FreeBSD versions - security/openssl*: drop now obsolete patches - sysutils/bhyve+: drop support for FreeBSD 13.0 - sysutils/ebsnvme-id: drop support for FreeBSD 13.0 - sysutils/openzfs: remove detection of FreeBSD 13.0 - sysutils/openzfs-kmod: drop detection of FreeBSD 13.0 - www/firefox: generalize pkg-message a bit regarding hgame(4) - x11/xorg-cf-files: remove support for FreeBSD < 6 (yes, pre-2008) While here, regenerate patches for: - x11/xorg-cf-files - net/asterisk16 - net/asterisk18 While here, remove a stale $Id$ from Tools/scripts/portsearch Differential Revision: https://reviews.freebsd.org/D36233 Reviewed by: office (fluffy), x11 (manu), arrowd, brnrd, cperciva, freqlabs, imp, jbeich, madpilot, nobutaka
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
--- channels/chan_dahdi.c.orig 2022-08-18 15:13:55 UTC
|
|
+++ channels/chan_dahdi.c
|
|
@@ -4803,6 +4803,8 @@ void dahdi_ec_enable(struct dahdi_pvt *p)
|
|
return;
|
|
}
|
|
if (p->echocancel.head.tap_length) {
|
|
+ struct dahdi_echocanparams *pecp;
|
|
+
|
|
#if defined(HAVE_PRI) || defined(HAVE_SS7)
|
|
switch (p->sig) {
|
|
#if defined(HAVE_PRI)
|
|
@@ -4833,7 +4835,9 @@ void dahdi_ec_enable(struct dahdi_pvt *p)
|
|
break;
|
|
}
|
|
#endif /* defined(HAVE_PRI) || defined(HAVE_SS7) */
|
|
- res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &p->echocancel);
|
|
+
|
|
+ pecp = &p->echocancel.head;
|
|
+ res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp);
|
|
if (res) {
|
|
ast_log(LOG_WARNING, "Unable to enable echo cancellation on channel %d (%s)\n", p->channel, strerror(errno));
|
|
} else {
|
|
@@ -4867,8 +4871,9 @@ void dahdi_ec_disable(struct dahdi_pvt *p)
|
|
|
|
if (p->echocanon) {
|
|
struct dahdi_echocanparams ecp = { .tap_length = 0 };
|
|
+ struct dahdi_echocanparams *pecp = &ecp;
|
|
|
|
- res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &ecp);
|
|
+ res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp);
|
|
|
|
if (res)
|
|
ast_log(LOG_WARNING, "Unable to disable echo cancellation on channel %d: %s\n", p->channel, strerror(errno));
|