asterisk-chan-sccp: remove iostreams workaround 297/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 9 Mar 2018 14:30:20 +0000 (15:30 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 9 Mar 2018 14:31:03 +0000 (15:31 +0100)
The iostreams patch was dropped from the asterisk 13 package. The
workaround can go away.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-chan-sccp/Makefile

index 4eeee3b07278c37151d0fc897a39e99db3c74e7f..d91a9b782cad85b25a7cb7a2695fa2c3127ba666 100644 (file)
@@ -93,17 +93,6 @@ endef
 Package/asterisk13-chan-sccp/conffiles = $(Package/conffiles/Default)
 Package/asterisk15-chan-sccp/conffiles = $(Package/conffiles/Default)
 
-# Asterisk 13 gets mistaken for Asterisk 15 because it was patched to include
-# iostream support. To get it detected correctly make it impossible for the
-# build system to find the iostream header.
-define Build/Prepare
-       $(call Build/Prepare/Default)
-ifeq ($(BUILD_VARIANT),asterisk13)
-       $(SED) 's|asterisk/iostream.h|asterisk/iostream.404|' \
-               $(PKG_BUILD_DIR)/autoconf/asterisk.m4
-endif
-endef
-
 define Package/Install/Default
        $(INSTALL_DIR) $(1)/etc/asterisk
        $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/asterisk/sccp.conf $(1)/etc/asterisk