From owner-svn-ports-head@freebsd.org Sat Apr 14 17:14:13 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A792F8A55E; Sat, 14 Apr 2018 17:14:13 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C07B88BCC9; Sat, 14 Apr 2018 17:14:12 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BB7032B155; Sat, 14 Apr 2018 17:14:12 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3EHECiW080014; Sat, 14 Apr 2018 17:14:12 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3EHECBE080012; Sat, 14 Apr 2018 17:14:12 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201804141714.w3EHECBE080012@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Sat, 14 Apr 2018 17:14:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467334 - in head/mail/archiveopteryx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/mail/archiveopteryx: . files X-SVN-Commit-Revision: 467334 X-SVN-Commit-Repository: ports 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.25 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: Sat, 14 Apr 2018 17:14:13 -0000 Author: feld Date: Sat Apr 14 17:14:12 2018 New Revision: 467334 URL: https://svnweb.freebsd.org/changeset/ports/467334 Log: mail/archiveopteryx: Fix build with modern clang MFH: 2018Q2 Modified: head/mail/archiveopteryx/Makefile head/mail/archiveopteryx/files/patch-core__md5.cpp Modified: head/mail/archiveopteryx/Makefile ============================================================================== --- head/mail/archiveopteryx/Makefile Sat Apr 14 17:10:01 2018 (r467333) +++ head/mail/archiveopteryx/Makefile Sat Apr 14 17:14:12 2018 (r467334) @@ -3,7 +3,7 @@ PORTNAME= archiveopteryx PORTVERSION= 3.2.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= mail MASTER_SITES= http://archiveopteryx.org/download/ @@ -12,8 +12,6 @@ COMMENT= Advanced PostgreSQL-based IMAP/POP server LICENSE= MIT -BROKEN_armv6= fails to build: core/md5.cpp:55:5: 'register' storage class specifier is deprecated and incompatible with C++17 -BROKEN_armv7= fails to build: core/md5.cpp:55:5: 'register' storage class specifier is deprecated and incompatible with C++17 BROKEN_powerpc64= fails to build: /bin/sh: clang: not found BUILD_DEPENDS= jam:devel/jam Modified: head/mail/archiveopteryx/files/patch-core__md5.cpp ============================================================================== --- head/mail/archiveopteryx/files/patch-core__md5.cpp Sat Apr 14 17:10:01 2018 (r467333) +++ head/mail/archiveopteryx/files/patch-core__md5.cpp Sat Apr 14 17:14:12 2018 (r467334) @@ -1,6 +1,15 @@ ---- ./core/md5.cpp.orig 2014-03-06 13:46:23.918398965 -0600 -+++ ./core/md5.cpp 2014-03-06 13:46:30.784414914 -0600 -@@ -149,12 +149,9 @@ +--- core/md5.cpp.orig 2014-03-10 13:44:59 UTC ++++ core/md5.cpp +@@ -52,7 +52,7 @@ void MD5::init() + + void MD5::add( const char *str, uint len ) + { +- register uint32 t; ++ uint32 t; + + /* It's not possible to add() data, call hash(), then add more data + and call hash() again, because hash() destroys the accumulated +@@ -149,12 +149,9 @@ EString MD5::hash() } swapBytes( in, 14 ); @@ -13,3 +22,12 @@ transform(); swapBytes( (char *)buf, 4 ); +@@ -247,7 +244,7 @@ EString MD5::HMAC( const EString &secret + + void MD5::transform() + { +- register uint32 a, b, c, d; ++ uint32 a, b, c, d; + uint32 *inw = (uint32 *)in; + + a = buf[0];