Skip to content

Commit b4f1c7a

Browse files
committed
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 <ansuelsmth@gmail.com>
1 parent e8e8979 commit b4f1c7a

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

libs/freetdm/Makefile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ FS_PKGCONFIG_DIR:=$(FS_LIB_DIR)/pkgconfig
4040
PKG_CONFIG_DEPENDS:= \
4141
CONFIG_FREETDM_WITH_DEBUG \
4242
CONFIG_LIBC \
43-
CONFIG_PACKAGE_libfreetdm-ftmod-libpri \
44-
CONFIG_PACKAGE_libfreetdm-ftmod-pritap \
43+
CONFIG_PACKAGE_libfreetdm-ftmod-libpri
44+
# CONFIG_PACKAGE_libfreetdm-ftmod-pritap
4545

4646
include $(INCLUDE_DIR)/package.mk
4747

@@ -129,8 +129,8 @@ CONFIGURE_ARGS+= \
129129
--disable-static \
130130
--with-modinstdir=$(FS_MOD_DIR) \
131131
$(call autoconf_bool,CONFIG_FREETDM_WITH_DEBUG,debug) \
132-
$(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri) \
133-
$(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap)
132+
$(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri)
133+
# $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap)
134134

135135
$(eval $(call BuildPackage,libfreetdm))
136136
$(eval $(call BuildPackage,freeswitch-mod-freetdm))
@@ -147,6 +147,10 @@ $(eval $(call BuildPackage,freeswitch-mod-freetdm))
147147
$(eval $(call Package/libfreetdm/FTModule,analog,Analog,Offers generic FXO/FXS support for any type of card supported by FreeTDM.,))
148148
$(eval $(call Package/libfreetdm/FTModule,analog_em,Analog EM,Offers generic E&M signaling for any type of card supported by FreeTDM.,))
149149
$(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))
150-
$(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri))
150+
# It seems pritap has always been broken and never worked.
151+
# This module is based on a FORK of libpri (https://github.com/ajpaul25/libpri) that have
152+
# all the extra symbol. So the module probably never worked on loading it with the wrong library.
153+
# Disable this to fix compilation of freetdm.
154+
# $(eval $(call Package/libfreetdm/FTModule,pritap,PRI tapping,This module is used to tap PRI lines.,+libfreetdm-ftmod-libpri))
151155
$(eval $(call Package/libfreetdm/FTModule,skel,Skeleton,ftmod_skel is an example module.,))
152156
$(eval $(call Package/libfreetdm/FTModule,zt,DAHDI I/O,This module supports the DAHDI interface. The DAHDI interface is used by\nseveral hardware vendors.,))

0 commit comments

Comments
 (0)