lang/phantomjs: Fix build on 9.3 and 11.0
- Take maintainership (maintainer timeouts previously)
- Remove no-op patch
- Remove work related to GCC build profiles as we enforce clang
- Add patch to fix building with clang in 11.0
- Add hack to enforce CC and CXX for 9.3
Partway through the build the compiler was switching from clang++ to c++
which is GCC in base system. This was causing build failures.
Approved by: ports-secteam (with hat)
Since e2fsprogs 1.42.x and in fact anything before 1.43.3_3 in terms of
FreeBSD's ports head/ trunk, and its full patch-lib_ext2fs_unix__io.c in
particular, is deemed unsafe and can cause data corruption on FreeBSD 11
and newer (10.3 and older are deemed safe):
Update to new upstream release 1.43.3, with a few additional fixes to
the bounce-buffer I/O needed on FreeBSD 11 and newer where malloc() does
not normally return page-aligned memory.
Make set of self-tests configurable. Add Perl and GNU dd to build
dependency list when needed so tests can pass in a poudriere build.
Assorted other tweaks.
Upstream's change log (please read all the way to and including 1.43):
http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.3
While here, refresh patches, and time-limit programs in self-test suite
to 60 s CPU time each, to avoid runaway processes from stalling the
self-tests for too long.
Ignore SIGINFO during self-tests: In the FreeBSD-specific patch, when
the environment variable e2fsprogs_inhibit_SIGINFO exists (whatever its
content, even if empty), do NOT install the SIGINFO handler. Leverage
this when running the self-tests. This is to avoid false negatives
during the self-tests due to interspersed SIGINFO output redirected from
stderr to the log files.
Insist (by setting BROKEN conditionally) on anything that is FreeBSD 11
or newer, or non-i386/non-amd64, that the user runs at least the small
self-tests.
Revise option descriptions a bit.
Approved by: ports-secteam (feld)
databases/mariadb55-server: Update to 5.5.51
- Update to latest version 5.5.51
- Move from USE_OPENSSL to USES= ssl
Approved by: ports-secteam (feld)
Security: 856b88bf-7984-11e6-81e7-d050996490d0
Fix build of lang/gcc49 with libc++ 3.9.0
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 (feld)
PR: 212465
Fix build of audio/clementine-player with clang 3.9.0
Clang 3.9.0 has a new warning about undefined template variables, which
is triggered by including cryptopp headers in the spotify blob
downloader:
In file included from /wrkdirs/usr/ports/audio/clementine-player/work/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp:43:
/usr/local/include/cryptopp/pkcspad.h:74:53: error: instantiation of variable 'CryptoPP::PKCS_DigestDecoration<CryptoPP::SHA512>::decoration' required here, but no definition is available [-Werror,-Wundefined-var-template]
return HashIdentifier(PKCS_DigestDecoration<H>::decoration, PKCS_DigestDecoration<H>::length);
^
This warning could be silenced by hacking on cryptopp, but just suppress
it for now.
Approved by: portmgr (feld)
PR: 212343
www/firefox: re-enable OMTC for BUNDLED_CAIRO=off (backing out r393805)
OMTC is also required to support Electrolysis (called Multiprocess Windows in
about:support) introduced in Firefox 48 via e10srollout@mozilla.org system addon.
PR: 202174, 211792
Tested by: scf
Approved by: ports-secteam (feld)
www/firefox: update to 49.0 (rc2)
Bump PORTREVISION to account for slightly different behavior in other
gecko@ ports and to get a discrete regression window.
Changes: https://www.mozilla.org/firefox/49.0/releasenotes/
PR: 211792
Submitted by: Jochen Neumeister <joneum@bsdproject.de> (based on)
Security: 2c57c47e-8bb3-4694-83c8-9fc3abad3964
Approved by: ports-secteam (feld)
- Update net/asterisk11 to 11.23.0
- Update net/asterisk13 to 13.10.0
Add patch to fix build with libressl.
PR: 211707
Submitted by: olivierw1+bugzilla-freebsd@hotmail.com
Patch by: brnrd@
Obtained From: http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/telephony/asterisk/patches/patch-res_res_rtp_asterisk_c?rev=1.1&content-type=text/plain
Fix build on head after r303920.
- Update to 13.11.0
- Make using base compiler the dafault on amd64 and i386
- Prevent asterisk build system from unconditionally using
-march=native
- Add an OPTIMIZED_CFLAGS option, disabled by default, to allow
enabling the native flag
- While here, convert to option target helpers.
Update net/asterisk11 to 11.23.1
Security: 5cb18881-7604-11e6-b362-001999f8d30b
Update net/asterisk13 to 13.11.1
Security: 5cb18881-7604-11e6-b362-001999f8d30b
7fda7920-7603-11e6-b362-001999f8d30b
net/asterisk13: Fix broken patch file
- Patch was the svn diff to the tree
- Convert to a regular patch file
PR: 211707
Push ncurses USES after ssl USES, it has been reported to solve
problems when compiling with non base SSL library.
PR: 211707
Submitted by: OlivierW <olivierw1+bugzilla-freebsd@hotmail.com>
Update to 13.11.2
Approved by: ports-secteam (feld)
Introduce READELF?= /usr/bin/readelf
In many cases where objdump is currently used, readelf is a better
choice. Introduce a variable for ports that wish to use it.
Reviewed by: bapt
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D7761
as well.
Approved by: ports-secteam (feld)
r418252:
Fix build under 12.0-CURRENT.
r418405:
upgrade to 4.90C
- support for DTYPE_PTS
- FreeBSD 12.0-CURRENT
r418838:
Update to 4.90E.
r421506:
Update to 4.90F.
Bug fix:
- It fixes a race condition when lsof is looking up information on a
socket's TCP state. The worst case of the race is that lsof gets a
segmentation fault.
PR: 212457
Submitted by: maintainer (Larry Rosenman)