From: Florian Fainelli Date: Mon, 29 Mar 2010 11:03:25 +0000 (+0000) Subject: [package] fix pcapsipdump compilation failure (#6983) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=24108e90d7949c0936809b1f8e9a05495fb550ca;p=openwrt%2Fsvn-archive%2Farchive.git [package] fix pcapsipdump compilation failure (#6983) SVN-Revision: 20576 --- diff --git a/net/pcapsipdump/Makefile b/net/pcapsipdump/Makefile index 8c6369b6bb..adb057c13b 100644 --- a/net/pcapsipdump/Makefile +++ b/net/pcapsipdump/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pcapsipdump PKG_VERSION:=0.1.4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/psipdump @@ -30,7 +30,7 @@ define Package/pcapsipdump/description fashion similar to "tcpdump -w" (format is exactly the same), but one file per sip session (even if there is thousands of concurrect SIP sessions). endef - + define Build/Compile $(TARGET_CONFIGURE_OPTS) \ $(MAKE) -C $(PKG_BUILD_DIR) \ diff --git a/net/pcapsipdump/patches/002-elif_else_replacement.patch b/net/pcapsipdump/patches/002-elif_else_replacement.patch new file mode 100644 index 0000000000..bb217b76d9 --- /dev/null +++ b/net/pcapsipdump/patches/002-elif_else_replacement.patch @@ -0,0 +1,12 @@ +diff -urN pcapsipdump-0.1.4/pcapsipdump.h pcapsipdump-0.1.4.new/pcapsipdump.h +--- pcapsipdump-0.1.4/pcapsipdump.h 2007-05-11 20:40:49.000000000 +0200 ++++ pcapsipdump-0.1.4.new/pcapsipdump.h 2010-03-29 09:52:20.000000000 +0200 +@@ -35,7 +35,7 @@ + #elif defined (__BIG_ENDIAN) + uint8_t version:4, + ihl:4; +-#elif ++#else + #error Endian not defined + #endif + uint8_t tos;