in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
- Remove double alfont build dependency
- Fold Makefile.svn_rev into Makefile
- Move ICON_SIZES into the one place it is used
- dumb-allegro is a static library having it as a run dependency
makes no sense
- Add missing lib dependencies on libalure and libpng
- Remove pkg-message
- Remove pkg-deinstall (Poudriere reports that the filesystem is clean after
deinstallation and it is unclear how files would be even be created in
${DATADIR} without doing curious things like running opensurge as root)
- Add USES=localbase and build with Clang
- Fix bad absolute symlink
- Mark LLD_UNSAFE because of the audio/openal-soft dependency [1]
PR: 226980 [1]
gamerenderer.cpp:81:30: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
GLfloat specular_color[] = {3.0*lightCol.x, 3.0*lightCol.y, 3.0*lightCol.z, 1.0};
^~~~~~~~~~~~~~
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/ultimatestunts-0.7.7.1_4.log
- Fix bad absolute symlink
- Mark as LLD_UNSAFE because of audio/openal-soft dependency [1]
PR: 226980 [1]
common/d_dehacked.cpp:883:16: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned int') to 'ptrdiff_t' (aka 'int') in initializer list [-Wc++11-narrowing]
{ "ID #", myoffsetof(mobjinfo_t,doomednum) },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://beefy11.nyi.freebsd.org/data/head-i386-default/p475044_s336572/logs/odamex-0.7.0_2.log
- While here add missing libpng dependency so that it doesn't use its own
bundled version
./load.h:109:22: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
sprintf(path, "%s"DIR_SEP"%s", directory, filename);
^
./load.h:95:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
directory = LIBDIR;
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/maelstrom-3.0.6_13.log
- While here fix some bad implicit declaration warnings
clients2c.cpp:259:45: error: non-constant-expression cannot be narrowed from type
'short' to 'float' in initializer list [-Wc++11-narrowing]
vec v = { ents[i].x, ents[i].y, ents[i].z };
^~~~~~~~~
clients2c.cpp:352:20: warning: ISO C++11 does not allow conversion from string
literal to 'char *' [-Wwritable-strings]
neterr("type");
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/cube-2005.08.29_17.log
- Add missing GL dependency
/usr/bin/ld: error: cannot preempt symbol: alGenSources
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by C4MusicFile.cpp
>>> CMakeFiles/openclonk.dir/src/platform/C4MusicFile.cpp.o:(C4MusicFileOgg::Play(bool, double))
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p474767_s336359/logs/openclonk-8.1.log
Need to disable use of -flto too or the build would fail with
/usr/bin/ld.bfd: unrecognized option '-plugin'
PR: 226980
Reported by: emaste, pkg-fallout
direct.cc:47:32: error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static const char xcomp[9] = { -1, 0, 1, -1, 0, 1, -1, 0, 1 };
^~
describe.cc:216:28: warning: result of comparison of constant -2 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (proprt[ RAP_FIRE ] < -2)
~~~~~~~~~~~~~~~~~~ ^ ~~
PR: 229723
Submitted by: Greg V
Reported by: pkg-fallout