Date: Wed, 3 Feb 2021 16:27:20 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r563896 - head/graphics/frei0r Message-ID: <202102031627.113GRKxk068632@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> .endif # !defined(BUILDING_FREI0R_METAPORT)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102031627.113GRKxk068632>