Mark BROKEN on i386
main.cpp:104:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
timeval timeout = {refreshdelay, 0};
^~~~~~~~~~~~
Reported by: pkg-fallout
Mark BROKEN on amd64: fails to configure
checking build system type... Invalid configuration `amd64-portbld-freebsd11.2': machine `amd64-portbld' not recognized
Reported by: pkg-fallout
Add compiler:c++11-lang to USES to fix build on GCC-based architectures:
/usr/local/lib/libgraphite2.so.3: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
While here, pet portlint and alpha sort some USE* variables.
Approved by: portmgr (tier-2 blanket)
devel/ccls: Fix build with multiple llvm* packages installed
Apparently it is possible for the build to pick multiple LLVM
versions if LLVM_DIR is not explicitly set similar to Clang_DIR.
$ grep llvm $(make -V CONFIGURE_WRKSRC)/CMakeCache.txt
Clang_DIR:PATH=/usr/local/llvm80/lib/cmake/clang
LLVM_DIR:PATH=/usr/local/llvm50/lib/cmake/llvm
PR: 237089
Submitted by: fullermd@over-yonder.net
Approved by: ports-secteam blanket
Fix build on GCC-based architectures by setting -Wno-reserved-user-defined-literal
only for clang.
While here, pet portlint (add 'gl' to USES).
Approved by: portmgr (tier-2 blanket)
Don't use GCC 4.2 on GCC-based architectures; this port requires at
least GCC 4.7, so change USE_GCC=any to USE_GCC=yes.
PR: 236903
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Mark BROKEN on i386
In file included from crafty.c:28:
./tbprobe.c:111:9: error: invalid operand for instruction
__asm__("bsfq %1, %0": "=r"(idx):"rm"(b));
Reported by: pkg-fallout
Include stdarg.h in src/cppstring.cpp to fix build with GCC-based
architectures:
/usr/local/include/gtkmm-2.0/glibmm/thread.h: In function 'void Glib::thread_init(GThreadFunctions*)':
Also add USES=dos2unix (to fix patching cppstring.cpp) gnome.
PR: 237040
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Add USES=compiler:c11 to fix build on GCC-based architectures:
/usr/local/include/gnutls/gnutls.h:482: error: expected identifier or '(' before '/' token
While here, also add USES=gnome localbase:ldflags.
PR: 237037
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
This port needs C++11-compatible compiler. Add USES=compiler:c++11-lang
to fix build on GCC-based architectures:
/usr/local/include/sigc++-2.0/sigc++/visit_each.h:22:23: error: type_traits: No such file or directory
While here, pet portlint.
PR: 236986
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Turn off the -Wno-unused-result flag on GCC-based architectures to
fix the following:
cc1: error: unrecognized command line option "-Wno-unused-result"
Approved by: portmgr (tier-2 blanket)
Mark BROKEN: fails to build
util/gen-luatags.pl
cp rltiles/floor.png dat/tiles/floor.png
cp: rltiles/floor.png: No such file or directory
gmake[1]: *** [Makefile:1665: dat/tiles/floor.png] Error 1
Reported by: pkg-fallout
Add compiler:c11 to USES to fix the following on powerpc64:
varchunk/varchunk.h:84: expected specifier-qualifier-list before _Atomic
Approved by: portmgr (tier-2 blanket)
Remove sse flags to fix builds on non-x86 architectures:
g++8: error: unrecognized command line option '-msse'; did you mean '-fdse'?
g++8: error: unrecognized command line option '-mfpmath=sse'
Approved by: portmgr (tier-2 blanket)