While testing the clang390-import branch, I ran into the following
errors building lang/gcc49:
In file included from /wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/c/c-objc-common.c:33:
In file included from /usr/include/c++/v1/new:70:
/usr/include/c++/v1/exception:267:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
_VSTD::abort();
^~~~~~~
/usr/include/c++/v1/__config:451:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/wrkdirs/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/system.h:685:13: note: 'fancy_abort' declared here
extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
^
1 error generated.
What is happening here, is that the source file includes gcc/system.h,
which defines abort to fancy_abort, and then the source file includes
<new>, which attempts to call _VSTD::abort() (the _VSTD is a libc++
alias for std::). The macro definition then causes the above breakage.
Newer gcc ports, such as gcc5 and gcc6 don't show this issue, because
upstream gcc first added an include of <algorithm> (which indirectly
includes <new>) in r217348 [1], and later even add a direct include of
<new> in r232736 [2].
Fix it for this version, by adding the direct include of <new> to
gcc/system.h. This makes the 'second' includes of <new> in some .c
files superfluous, but at least they won't result in errors.
[1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=217348
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=232736
Approved by: portmgr (antoine)
PR: 212465
The dependency code from kde.mk can add LIB_DEPENDS if the sense-file is a
library. Import this into bsd.qt.mk
PR: 214744
Reviewed by: rakuco, mat
Approved by: mat (mentor), rakuco (mentor)
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D8602
In file included from src/ngx_http_video_thumbextractor_module.c:3:
src/ngx_http_video_thumbextractor_module_utils.c:5:10: fatal error: 'wand/magick_wand.h' file not found
^
/usr/bin/ld: cannot find -lMagickWand
cc: error: linker command failed with exit code 1 (use -v to see invocation)
PR: 185462 207547
Reported by: antoine (via exp-run)
nginx-video-thumbextractor-module-0.7.0/README.textile:
h2(#0_5_0). v0.5.0
* remove MagickWand dependency which cause memory leak
which saved it from being BROKEN by r358176:
In file included from src/ngx_http_video_thumbextractor_module.c:3:
src/ngx_http_video_thumbextractor_module_utils.c:5:10: fatal error: 'wand/magick_wand.h' file not found
#include <wand/magick_wand.h>
^
1 error generated.
*** Error code 1
Reported by: antoine (via exp-run for www/tengine)
- Rewrite the rc script with new options that allows users to:
- set config file.
- set datadir.
- set bitcoin limits.
PR: ports/213235
Submitted by: Christopher Hall <hsw@bitmark.com>
Approved by: maintainer timeout (1 month)
build/release/librlvm.a(scenario.o): In function `libreallive::Script::Script(libreallive::Header const&, char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, libreallive::compression::XorKey const*)':
src/libreallive/scenario.cc:(.text._ZN11libreallive6ScriptC2ERKNS_6HeaderEPKcmRKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEbPKNS_11compression6XorKeyE+0x496): undefined reference to `libintl_gettext'
src/libreallive/scenario.cc:(.text._ZN11libreallive6ScriptC2ERKNS_6HeaderEPKcmRKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEbPKNS_11compression6XorKeyE+0x66c): undefined reference to `libintl_gettext'
build/release/librlvm.a(serialization_global.o): In function `Serialization::saveGlobalMemory(RLMachine&)':
src/machine/serialization_global.cc:(.text._ZN13Serialization16saveGlobalMemoryER9RLMachine+0xe8): undefined reference to `libintl_gettext'
build/release/librlvm.a(serialization_local.o): In function `Serialization::saveGameForSlot(RLMachine&, int)':
src/machine/serialization_local.cc:(.text._ZN13Serialization15saveGameForSlotER9RLMachinei+0x7b): undefined reference to `libintl_gettext'
build/release/librlvm.a(serialization_local.o): In function `void (anonymous namespace)::checkInFileOpened<boost::filesystem::basic_ifstream<char, std::__1::char_traits<char> > >(boost::filesystem::basic_ifstream<char, std::__1::char_traits<char> >&, boost::filesystem::path const&)':
src/machine/serialization_local.cc:(.text._ZN12_GLOBAL__N_117checkInFileOpenedIN5boost10filesystem14basic_ifstreamIcNSt3__111char_traitsIcEEEEEEvRT_RKNS2_4pathE+0x45): undefined reference to `libintl_gettext'
- Update PORTVERSION and distinfo checksum (1.2.0)
- Remove unneeded patches
- Update pkg-message according to changes
- Improved OSS support
- Support for snd_uaudio(4) /dev/umidi* interfaces. /dev/umidi1.0 maps to rmidi/1 in sndio, /dev/umidi1.1 to rmidi/1.1
- The configure script has support for DragonFly
- More detailed changes: https://pkg.tobik.me/sndio-1.2.0-changes.txt
PR: 214210
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
Approved by: feld (mentor)