From owner-svn-ports-all@FreeBSD.ORG Wed Jul 30 07:07:17 2014 Return-Path: Delivered-To: svn-ports-all@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 D502E5F3; Wed, 30 Jul 2014 07:07:17 +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 A6BFA2448; Wed, 30 Jul 2014 07:07:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6U77Hcm048709; Wed, 30 Jul 2014 07:07:17 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6U77H19048707; Wed, 30 Jul 2014 07:07:17 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407300707.s6U77H19048707@svn.freebsd.org> From: John Marino Date: Wed, 30 Jul 2014 07:07:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363448 - in head/security/cryptopp: . 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 07:07:17 -0000 Author: marino Date: Wed Jul 30 07:07:16 2014 New Revision: 363448 URL: http://svnweb.freebsd.org/changeset/ports/363448 QAT: https://qat.redports.org/buildarchive/r363448/ Log: security/cryptopp: Add patch from pkgsrc The definition of CRYPTOPP_BOOL_ALIGN16_ENABLED was incorrect for i386. For NetBSD, this resulted in the inability to build cryptopp on i386. On FreeBSD, it built, but deskutils/cdcat choked on it while building on FreeBSD 10/i386 and FreeBSD 11/i386. PR: 192199 Fix from: pkgsrc security/crypto++ Discussed: NetBSD GNATS 48134 Approved by: delphi@ Added: head/security/cryptopp/files/patch-config.h (contents, props changed) Modified: head/security/cryptopp/Makefile Modified: head/security/cryptopp/Makefile ============================================================================== --- head/security/cryptopp/Makefile Wed Jul 30 06:46:30 2014 (r363447) +++ head/security/cryptopp/Makefile Wed Jul 30 07:07:16 2014 (r363448) @@ -3,7 +3,7 @@ PORTNAME= cryptopp PORTVERSION= 5.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF \ http://www.cryptopp.com/ Added: head/security/cryptopp/files/patch-config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/cryptopp/files/patch-config.h Wed Jul 30 07:07:16 2014 (r363448) @@ -0,0 +1,29 @@ +--- config.h.orig 2013-02-20 14:30:54.000000000 +0000 ++++ config.h +@@ -290,12 +290,6 @@ NAMESPACE_END + #define CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE 0 + #endif + +-#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE || CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE) +- #define CRYPTOPP_BOOL_ALIGN16_ENABLED 1 +-#else +- #define CRYPTOPP_BOOL_ALIGN16_ENABLED 0 +-#endif +- + // how to allocate 16-byte aligned memory (for SSE2) + #if defined(CRYPTOPP_MSVC6PP_OR_LATER) + #define CRYPTOPP_MM_MALLOC_AVAILABLE +@@ -307,6 +301,13 @@ NAMESPACE_END + #define CRYPTOPP_NO_ALIGNED_ALLOC + #endif + ++#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE || CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE || defined(CRYPTOPP_X64_MASM_AVAILABLE) || !defined(CPRYPTO_NO_ALIGNED_ALLOC) ++ #define CRYPTOPP_BOOL_ALIGN16_ENABLED 1 ++#else ++ #define CRYPTOPP_BOOL_ALIGN16_ENABLED 0 ++#endif ++ ++ + // how to disable inlining + #if defined(_MSC_VER) && _MSC_VER >= 1300 + # define CRYPTOPP_NOINLINE_DOTDOTDOT