> Arguments.h:103:22: error: 'constexpr' needed for in-class > initialization of static data member
It's again due to the fact that gcc-8 uses C++14 as its default C++ standard. Expanding the use of C++03 to any compiler fixes the build on macppc/ports-gcc-8. The test suite was partly broken because some Perl code assumed that '.' was still in @INC. I've fixed that as well. Tests are failing the same way on macppc and amd64. Any comment? Charlène. Index: Makefile =================================================================== RCS file: /cvs/ports/security/steghide/Makefile,v retrieving revision 1.16 diff -u -p -u -p -r1.16 Makefile --- Makefile 24 Oct 2018 14:28:10 -0000 1.16 +++ Makefile 21 Apr 2019 00:23:32 -0000 @@ -3,7 +3,7 @@ COMMENT = software able to hide data in various kind of files DISTNAME = steghide-0.5.1 -REVISION = 6 +REVISION = 7 CATEGORIES = security HOMEPAGE = http://steghide.sf.net/ @@ -28,9 +28,6 @@ AUTOCONF_VERSION = 2.57 CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl" -.include <bsd.port.arch.mk> -.if ${PROPERTIES:Mclang} CXXFLAGS += -std=c++03 -.endif .include <bsd.port.mk> Index: patches/patch-tests_st_embparameters_pl =================================================================== RCS file: patches/patch-tests_st_embparameters_pl diff -N patches/patch-tests_st_embparameters_pl --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-tests_st_embparameters_pl 21 Apr 2019 00:23:32 -0000 @@ -0,0 +1,13 @@ +$OpenBSD$ + +Fix test with Perl 5.26+ (no . in @INC) + +Index: tests/st_embparameters.pl +--- tests/st_embparameters.pl.orig ++++ tests/st_embparameters.pl +@@ -1,4 +1,5 @@ + #!/usr/bin/perl -w ++BEGIN { push @INC, '.'; } + use STSupport; + + use constant EMPTY => {e => "none", Z => "", K => "", "-check" => ""} ; Index: patches/patch-tests_st_fileformats_pl =================================================================== RCS file: patches/patch-tests_st_fileformats_pl diff -N patches/patch-tests_st_fileformats_pl --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-tests_st_fileformats_pl 21 Apr 2019 00:23:32 -0000 @@ -0,0 +1,13 @@ +$OpenBSD$ + +Fix test with Perl 5.26+ (no . in @INC) + +Index: tests/st_fileformats.pl +--- tests/st_fileformats.pl.orig ++++ tests/st_fileformats.pl +@@ -1,4 +1,5 @@ + #!/usr/bin/perl -w ++BEGIN { push @INC, '.'; } + use STSupport; + + use constant EMPTY => {e => "none", Z => "", K => "", "-check" => ""} ;
