Ticket #8854: lsof.2.patch

File lsof.2.patch, 758 bytes (added by tripolar, 5 years ago)

updated patch

  • utils/lsof/Makefile

    diff --git a/utils/lsof/Makefile b/utils/lsof/Makefile
    index 467b3f8..0f38c14 100644
    a b include $(INCLUDE_DIR)/kernel.mk 
    1010 
    1111PKG_NAME:=lsof 
    1212PKG_VERSION:=4.81 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).dfsg.1.orig.tar.gz 
    1616PKG_SOURCE_URL:=http://ftp2.de.debian.org/debian/pool/main/l/lsof 
    PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).dfsg.1 
    2020 
    2121include $(INCLUDE_DIR)/package.mk 
    2222 
     23TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include 
     24TARGET_LDFLAGS+= $(LIBRPC) 
     25 
    2326define Package/lsof 
    2427  SECTION:=utils 
    2528  CATEGORY:=Utilities 
     29  DEPENDS:="+librpc" 
    2630  TITLE:=LiSt Open Files - a diagnostic tool 
    2731  URL:=http://people.freebsd.org/~abe/ 
    2832endef