From aa9724fdc283736274e6f89da45944f152870293 Mon Sep 17 00:00:00 2001 From: tobbenb Date: Wed, 21 Feb 2018 19:00:51 +0100 Subject: [PATCH] Fix iconv runtime crash --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index d3fcbc2..31692ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -139,10 +139,14 @@ RUN \ echo "**** install perl modules for xmltv ****" && \ curl -L http://cpanmin.us | perl - App::cpanminus && \ cpanm --installdeps /tmp/patches && \ + echo "**** remove musl iconv.h and replace with gnu-iconv.h ****" && \ + rm -rf /usr/include/iconv.h && \ + cp /usr/include/gnu-libiconv/iconv.h /usr/include/iconv.h && \ echo "**** build tvheadend ****" && \ git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \ cd /tmp/tvheadend && \ ./configure \ + --cflags="-I/usr/include/gnu-libiconv" \ `#Encoding` \ --disable-ffmpeg_static \ --disable-libfdkaac_static \