From b4f1c7adf9b7b0f21ae740e00ba8f4e0605e88b8 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Thu, 4 Dec 2025 15:08:18 +0100 Subject: [PATCH] freetdm: disable broken pritap module Disable broken pritap module as it never actually worked. This module is based on a FORK of libpri [1] that have all the extra symbol. So the module probably never worked on loading it with the wrong library. [1] https://github.com/ajpaul25/libpri Signed-off-by: Christian Marangi --- libs/freetdm/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libs/freetdm/Makefile b/libs/freetdm/Makefile index b47fb91..3605317 100644 --- a/libs/freetdm/Makefile +++ b/libs/freetdm/Makefile @@ -40,8 +40,8 @@ FS_PKGCONFIG_DIR:=$(FS_LIB_DIR)/pkgconfig PKG_CONFIG_DEPENDS:= \ CONFIG_FREETDM_WITH_DEBUG \ CONFIG_LIBC \ - CONFIG_PACKAGE_libfreetdm-ftmod-libpri \ - CONFIG_PACKAGE_libfreetdm-ftmod-pritap \ + CONFIG_PACKAGE_libfreetdm-ftmod-libpri +# CONFIG_PACKAGE_libfreetdm-ftmod-pritap include $(INCLUDE_DIR)/package.mk @@ -129,8 +129,8 @@ CONFIGURE_ARGS+= \ --disable-static \ --with-modinstdir=$(FS_MOD_DIR) \ $(call autoconf_bool,CONFIG_FREETDM_WITH_DEBUG,debug) \ - $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri) \ - $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap) + $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri) +# $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap) $(eval $(call BuildPackage,libfreetdm)) $(eval $(call BuildPackage,freeswitch-mod-freetdm)) @@ -147,6 +147,10 @@ $(eval $(call BuildPackage,freeswitch-mod-freetdm)) $(eval $(call Package/libfreetdm/FTModule,analog,Analog,Offers generic FXO/FXS support for any type of card supported by FreeTDM.,)) $(eval $(call Package/libfreetdm/FTModule,analog_em,Analog EM,Offers generic E&M signaling for any type of card supported by FreeTDM.,)) $(eval $(call Package/libfreetdm/FTModule,libpri,LibPRI,Offers support for PRI lines using the open source libpri stack for any\ntype of card supported by FreeTDM. Supports both PRI and BRI signalling.,+libpri @!aarch64)) -$(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri)) +# It seems pritap has always been broken and never worked. +# This module is based on a FORK of libpri (https://github.com/ajpaul25/libpri) that have +# all the extra symbol. So the module probably never worked on loading it with the wrong library. +# Disable this to fix compilation of freetdm. +# $(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri)) $(eval $(call Package/libfreetdm/FTModule,skel,Skeleton,ftmod_skel is an example module.,)) $(eval $(call Package/libfreetdm/FTModule,zt,DAHDI I/O,This module supports the DAHDI interface. The DAHDI interface is used by\nseveral hardware vendors.,)) -- 2.30.2