From owner-svn-ports-all@freebsd.org Wed Feb 3 16:27:20 2021 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 56CFD53BEC0; Wed, 3 Feb 2021 16:27:20 +0000 (UTC) (envelope-from linimon@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DW6XS202Kz4qmn; Wed, 3 Feb 2021 16:27:20 +0000 (UTC) (envelope-from linimon@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 369DD24150; Wed, 3 Feb 2021 16:27:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 113GRKiu068633; Wed, 3 Feb 2021 16:27:20 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 113GRKxk068632; Wed, 3 Feb 2021 16:27:20 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202102031627.113GRKxk068632@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 3 Feb 2021 16:27:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r563896 - head/graphics/frei0r X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/graphics/frei0r X-SVN-Commit-Revision: 563896 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.34 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, 03 Feb 2021 16:27:20 -0000 Author: linimon Date: Wed Feb 3 16:27:19 2021 New Revision: 563896 URL: https://svnweb.freebsd.org/changeset/ports/563896 Log: Unbreak this port on powerpc64/12 after r561520 updated GCC_DEFAULT from 9 to 10. Although this port was tested with GCC 10 on amd64, it was _not_ on powerpc64, and it seems that GCC10/powerpc64 regresses in several cases vs. GCC9/powerpc64. Approved by: portmgr (tier-2 blanket) Modified: head/graphics/frei0r/Makefile Modified: head/graphics/frei0r/Makefile ============================================================================== --- head/graphics/frei0r/Makefile Wed Feb 3 16:26:02 2021 (r563895) +++ head/graphics/frei0r/Makefile Wed Feb 3 16:27:19 2021 (r563896) @@ -65,6 +65,15 @@ PLIST_FILES+= lib/frei0r-1/${FILE}.so . endfor .endif -.include +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc +# work around regression seen in GCC 10 but not in GCC 9: +# src/filter/elastic_scale/elastic_scale.cpp:152: error: ISO C++ forbids initialization of member 'm_transformationCalculations' +CFLAGS+= -Wno-error +CXXFLAGS+= -Wno-error +.endif + +.include .endif # !defined(BUILDING_FREI0R_METAPORT)