svn commit: r563896 - head/graphics/frei0r
Mark Linimon
linimon at FreeBSD.org
Wed Feb 3 16:27:20 UTC 2021
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)
More information about the svn-ports-all
mailing list