From 1886bd33b5ddcb3f70752234b75ffd6db0db55b5 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Mon, 16 Jul 2018 23:24:36 +0200 Subject: [PATCH] freeswitch-stable: fix gsmopen inbuf handling inbuf is only const in libiconv-full when compiled against uclibc. Signed-off-by: Sebastian Kemper --- net/freeswitch-stable/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index df85bea..e4bc180 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PRG_NAME:=freeswitch PKG_NAME:=$(PRG_NAME)-stable PKG_VERSION:=1.6.20 -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_MAINTAINER:=Sebastian Kemper PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz @@ -241,9 +241,15 @@ include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk # iconv support include $(INCLUDE_DIR)/nls.mk - -# mod_gsmopen can't detect if iconv's inbuf is const -ifeq ($(ICONV_FULL),1) +####################################################### +# mod_gsmopen can't detect if iconv's inbuf is const. # +# # +# musl uclibc # +# libiconv-stub - - # +# libiconv-full - const # +# # +####################################################### +ifeq ($(ICONV_FULL)$(CONFIG_USE_UCLIBC),1y) TARGET_CFLAGS+=-DFS_STABLE_ICONV_INBUF_CONST endif