From 04af3ac8979f0695c33b4fefa218aa7c26e47104 Mon Sep 17 00:00:00 2001 From: tripolar Date: Sun, 10 Nov 2013 18:18:14 +0000 Subject: [PATCH] [packages] dsniff: fix build Signed-off-by: Peter Wagner git-svn-id: svn://svn.openwrt.org/openwrt/packages@38710 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/dsniff/Makefile | 4 ++-- net/dsniff/patches/011-noint32.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 net/dsniff/patches/011-noint32.patch diff --git a/net/dsniff/Makefile b/net/dsniff/Makefile index 1c07c34cd..8f4c331f1 100644 --- a/net/dsniff/Makefile +++ b/net/dsniff/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dsniff PKG_VERSION:=2.4b1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.monkey.org/~dugsong/dsniff/beta @@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk define Package/dsniff SECTION:=net CATEGORY:=Network - DEPENDS:=+libpcap +libnids +libnet0 +libopenssl +libgdbm $(LIBRPC_DEPENDS) @BROKEN + DEPENDS:=+libpcap +libnids +libnet1 +libopenssl +libgdbm $(LIBRPC_DEPENDS) TITLE:=A collection of tools for network auditing and penetration testing URL:=http://www.monkey.org/~dugsong/dsniff/ endef diff --git a/net/dsniff/patches/011-noint32.patch b/net/dsniff/patches/011-noint32.patch new file mode 100644 index 000000000..4fef5a84f --- /dev/null +++ b/net/dsniff/patches/011-noint32.patch @@ -0,0 +1,12 @@ +diff --git a/nfs_prot.x b/nfs_prot.x +index 1111dcc..f7392eb 100644 +--- a/nfs_prot.x ++++ b/nfs_prot.x +@@ -193,7 +193,6 @@ const NFS3_WRITEVERFSIZE = 8; + typedef u_int64_t uint64; + typedef int64_t int64; + typedef unsigned int uint32; +-typedef int int32; + typedef string filename3<>; + typedef string nfspath3<>; + typedef uint64 fileid3;