freetdm: disable broken pritap module
authorChristian Marangi <[email protected]>
Thu, 4 Dec 2025 14:08:18 +0000 (15:08 +0100)
committerChristian Marangi <[email protected]>
Thu, 4 Dec 2025 14:10:14 +0000 (15:10 +0100)
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 <[email protected]>
libs/freetdm/Makefile

index b47fb9151c29857ee6d77bec5f7394dd83c734db..360531793a11147e1e6162651f7c2a78faa0ca49 100644 (file)
@@ -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.,))