]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
inetutils: Fix compiling with GCC 4.4.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Aug 2012 15:09:23 +0000 (11:09 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 13 Aug 2012 15:09:23 +0000 (11:09 -0400)
lfs/inetutils

index 03cf5deab46ce365347cbb7a3ea2fd1f5cfda4ae..87a137eb1f3d01dcec144351c349769578df51c5 100644 (file)
@@ -72,6 +72,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-gcc4_fixes-3.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-daemon_fixes-1.patch
+       cd $(DIR_APP) && sed -i '/#include/a #include <stdlib.h>' libicmp/icmp_timestamp.c
        cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/sbin \
                                --sysconfdir=/etc --localstatedir=/var \
                                --mandir=/usr/share/man --infodir=/usr/share/info \