Index: head/devel/libhtp/Makefile =================================================================== --- head/devel/libhtp/Makefile (revision 305640) +++ head/devel/libhtp/Makefile (revision 305641) @@ -1,35 +1,35 @@ # New ports collection makefile for: libhtp # Date created: 19 December 2011 # Whom: wxs@FreeBSD.org # # $FreeBSD$ # PORTNAME= libhtp PORTVERSION= 0.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel #MASTER_SITES= # This port uses github MAINTAINER= wxs@FreeBSD.org COMMENT= Security-aware parser for the HTTP protocol USE_GITHUB= yes GH_ACCOUNT= ironbee GH_COMMIT= a334539 USE_AUTOTOOLS= libtool autoheader aclocal ACLOCAL_ARGS= -Im4 USE_LDCONFIG= yes USE_GNOME= pkgconfig gnomehack USE_ICONV= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \ -liconv pre-configure: @${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am @cd ${WRKSRC} && ${SH} ./autogen.sh .include Index: head/devel/libhtp/files/patch-htp__htp_util.c =================================================================== --- head/devel/libhtp/files/patch-htp__htp_util.c (nonexistent) +++ head/devel/libhtp/files/patch-htp__htp_util.c (revision 305641) @@ -0,0 +1,22 @@ +--- ./htp/htp_util.c.orig 2012-10-09 18:53:48.000000000 -0400 ++++ ./htp/htp_util.c 2012-10-09 18:54:31.000000000 -0400 +@@ -2099,7 +2099,8 @@ + len += bstr_len(hl->line); + } + +- len += bstr_len(tx->request_headers_sep); ++ if (tx->request_headers_sep) ++ len += bstr_len(tx->request_headers_sep); + + request_headers_raw = bstr_alloc(len); + if (request_headers_raw == NULL) { +@@ -2112,7 +2113,8 @@ + bstr_add_noex(request_headers_raw, hl->line); + } + +- bstr_add_noex(request_headers_raw, tx->request_headers_sep); ++ if (tx->request_headers_sep) ++ bstr_add_noex(request_headers_raw, tx->request_headers_sep); + + return request_headers_raw; + } Property changes on: head/devel/libhtp/files/patch-htp__htp_util.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property