From: Michael Tremer Date: Tue, 25 Apr 2017 09:07:55 +0000 (+0200) Subject: sysklogd: Fix build with GCC 6 X-Git-Tag: v2.19-core112~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9030efeb741d31bf3a161061dfd3307640b9852;p=ipfire-2.x.git sysklogd: Fix build with GCC 6 Signed-off-by: Michael Tremer --- diff --git a/lfs/sysklogd b/lfs/sysklogd index 75bde5fee5..58d1073579 100644 --- a/lfs/sysklogd +++ b/lfs/sysklogd @@ -70,6 +70,10 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + # Compile fix + cd $(DIR_APP) && sed -i "s/union wait/int/" syslogd.c + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install touch /var/log/{dhcpcd.log,messages}