From owner-svn-ports-head@FreeBSD.ORG Fri Jun 13 19:00:20 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15D36737; Fri, 13 Jun 2014 19:00:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC7DF2B07; Fri, 13 Jun 2014 19:00:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5DJ0JZG064557; Fri, 13 Jun 2014 19:00:19 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5DJ0JrL064549; Fri, 13 Jun 2014 19:00:19 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201406131900.s5DJ0JrL064549@svn.freebsd.org> From: Antoine Brodin Date: Fri, 13 Jun 2014 19:00:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357718 - in head/sysutils/bulk_extractor: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 19:00:20 -0000 Author: antoine Date: Fri Jun 13 19:00:19 2014 New Revision: 357718 URL: http://svnweb.freebsd.org/changeset/ports/357718 QAT: https://qat.redports.org/buildarchive/r357718/ Log: - Remove __sync_add_and_fetch_8 hack, configure script now detects support for it - Fix a use after free when dealing with ewf images (already committed upstream) Modified: head/sysutils/bulk_extractor/Makefile head/sysutils/bulk_extractor/files/patch-src__image_process.h Modified: head/sysutils/bulk_extractor/Makefile ============================================================================== --- head/sysutils/bulk_extractor/Makefile Fri Jun 13 18:45:22 2014 (r357717) +++ head/sysutils/bulk_extractor/Makefile Fri Jun 13 19:00:19 2014 (r357718) @@ -3,7 +3,7 @@ PORTNAME= bulk_extractor PORTVERSION= 1.4.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.digitalcorpora.org/downloads/bulk_extractor/ @@ -35,11 +35,6 @@ BEVIEWER_PLIST_FILES= bin/BEViewer bin/B .include -.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*} -# Needed for __sync_add_and_fetch_8 -CFLAGS+= -march=i586 -.endif - .if ${OSVERSION} < 1000033 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex CONFIGURE_ENV= LEX=${LOCALBASE}/bin/flex Modified: head/sysutils/bulk_extractor/files/patch-src__image_process.h ============================================================================== --- head/sysutils/bulk_extractor/files/patch-src__image_process.h Fri Jun 13 18:45:22 2014 (r357717) +++ head/sysutils/bulk_extractor/files/patch-src__image_process.h Fri Jun 13 19:00:19 2014 (r357718) @@ -1,5 +1,14 @@ ---- src/image_process.h.orig 2014-01-18 09:13:38.000000000 +0900 -+++ src/image_process.h 2014-01-18 09:14:25.000000000 +0900 +--- ./src/image_process.h.orig 2014-01-15 15:00:06.000000000 +0000 ++++ ./src/image_process.h 2014-06-09 14:15:54.000000000 +0000 +@@ -128,7 +128,7 @@ + virtual int open()=0; /* open; return 0 if successful */ + virtual int pread(uint8_t *,size_t bytes,int64_t offset) const =0; /* read */ + virtual int64_t image_size() const=0; +- virtual std::string image_fname() const { return image_fname_;} ++ virtual const std::string &image_fname() const { return image_fname_;} + + /* iterator support; these virtual functions are called by iterator through (*myimage) */ + virtual image_process::iterator begin() const =0; @@ -154,7 +154,7 @@ ****************************************************************/