From owner-svn-ports-all@freebsd.org Sun Dec 29 03:24:25 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 220BF1D27BB; Sun, 29 Dec 2019 03:24:25 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47lmBd05CRz43b7; Sun, 29 Dec 2019 03:24:25 +0000 (UTC) (envelope-from mandree@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 F2712B53B; Sun, 29 Dec 2019 03:24:24 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBT3OOP4061851; Sun, 29 Dec 2019 03:24:24 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBT3OOFM061848; Sun, 29 Dec 2019 03:24:24 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <201912290324.xBT3OOFM061848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Sun, 29 Dec 2019 03:24:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521255 - in head/graphics/exact-image: . files X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head/graphics/exact-image: . files X-SVN-Commit-Revision: 521255 X-SVN-Commit-Repository: ports 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.29 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: Sun, 29 Dec 2019 03:24:25 -0000 Author: mandree Date: Sun Dec 29 03:24:24 2019 New Revision: 521255 URL: https://svnweb.freebsd.org/changeset/ports/521255 Log: Move from c++03 to c++11 This adds a few constexpr keywords to bardecode/code25i.hh. Needed in order to permit OpenEXR update to 2.4.0 later, which uses rvalue references (a C++11 feature) in its headers. Added: head/graphics/exact-image/files/patch-bardecode_code25i.hh (contents, props changed) Modified: head/graphics/exact-image/Makefile Modified: head/graphics/exact-image/Makefile ============================================================================== --- head/graphics/exact-image/Makefile Sun Dec 29 01:17:41 2019 (r521254) +++ head/graphics/exact-image/Makefile Sun Dec 29 03:24:24 2019 (r521255) @@ -34,7 +34,7 @@ LIB_DEPENDS= libagg.so:graphics/agg \ #broken headers on c++ in base system: CPPFLAGS+= -fpermissive -I${LOCALBASE}/include USES= gmake jpeg perl5 pkgconfig python:2.7 tar:bzip2 xorg -USE_CXXSTD= c++03 +USE_CXXSTD= c++11 USE_XORG= x11 HAS_CONFIGURE= yes INSTALL_WRKSRC= ${WRKSRC}/objdir Added: head/graphics/exact-image/files/patch-bardecode_code25i.hh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/exact-image/files/patch-bardecode_code25i.hh Sun Dec 29 03:24:24 2019 (r521255) @@ -0,0 +1,19 @@ +--- bardecode/code25i.hh.orig 2019-01-28 12:12:58 UTC ++++ bardecode/code25i.hh +@@ -31,11 +31,11 @@ namespace BarDecode + static const int END_SEQUENCE = 0xD; + static const char no_entry = 0; + +- static const double n_lq = 15; +- static const double n_hq = 5.3; +- static const double w_lq = 5.2; +- static const double w_hq = 1.5; +- static const double tol = 0.2; ++ static constexpr const double n_lq = 15; ++ static constexpr const double n_hq = 5.3; ++ static constexpr const double w_lq = 5.2; ++ static constexpr const double w_hq = 1.5; ++ static constexpr const double tol = 0.2; + + static const usize_t min_quiet_usize = 5; + //static const usize_t min_quiet_usize = 10;