]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
sysklogd: Fix build with GCC 6
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Apr 2017 09:07:55 +0000 (11:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:06:01 +0000 (12:06 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/sysklogd

index 75bde5fee52cccbf8014fde320a933b6fe722d51..58d1073579ab99ef558b6596fcd42e7202986243 100644 (file)
@@ -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}