]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/inetutils
Merge remote-tracking branch 'stevee/proxy-squidclamav' into next
[ipfire-2.x.git] / lfs / inetutils
index c1d51cef12859f63e2d4cef6bc8481391fef145d..ba87c9c994cbd093a983dc5cbe849397ada9d5de 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 \
@@ -79,5 +80,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        mv -v /usr/bin/ping /bin
+
+       # Don't use whois command from here.
+       rm -vf /usr/bin/whois
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)