www/waterfox: flatten line endings after r461193
Subversion doesn't allow mixed line endings when svn:eol-style
property is set. files/patch-bug1402766 tries to create a new test
file, so simply strip carriage-return from lines which is what
actually happens on checkout. Originally, the file landed via
git-svn which doesn't appear to run sanity checks on dcommit.
$ svn cat files/patch-bug1402766
svn: E135000: Inconsistent line ending style
Reported by: gjb
Approved by: ports-secteam blanket
www/waterfox: unbreak on aarch64 after r465246
../../media/libwebp/dsp/yuv.o: In function `WebPInitConvertARGBToYUV':
media/libwebp/dsp/yuv.c:(.text.WebPInitConvertARGBToYUV+0x78): undefined reference to `WebPInitConvertARGBToYUVNEON'
media/libwebp/dsp/yuv.c:(.text.WebPInitConvertARGBToYUV+0x7c): undefined reference to `WebPInitSharpYUVNEON'
/usr/local/bin/ld.bfd: libxul.so: hidden symbol `WebPInitConvertARGBToYUVNEON' isn't defined
/usr/local/bin/ld.bfd: final link failed: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Reported by: pkg-fallout
Approved by: ports-secteam blanket
MFH: r464215 r465620
Move PORTREVISION from multimedia/avidemux/Makefile.common into the
three slave ports multimedia/avidemux-cli, multimedia/avidemux-plugins,
and multimedia/avidemux-qt4. Ensure they are properly set there
after revision 464084.
That way any sweeping changes (using Tools/scripts/bump-revision.sh
or similar in particular) have a chance of working or at least flagging
a potential issue.
PR: 226533
Un-break avidemux and plugins (import C++11 fixes from upstream)
PR: 224384
Submitted by: rkoberman@gmail.com
Approved by: ports-secteam (riggs)
databases/sqlite3: Patch for CVE-2018-8740
Detect databases whose schema is corrupted using
a CREATE TABLE AS statement and issue an appropriate error message.
CVE-2018-8740 will be entered into VuXML when SQLite will make
a release, because CVE-2018-8740 says that versions up to and including
the current version 3.22.0 are vulnerable.
Approved by: ports-secteam (feld)
databases/sqlite: Update to 3.22.0
Changelog:
https://www.sqlite.org/releaselog/3_22_0.html
Port changes:
* Added the OFFSET option for the new sqlite_offset() function
* Added 'Optional extensions' and 'Optional functions' option
groups for better options readability
* Deleted patches from files/ because they were disabling certain
options in the command-line utility that the upstream keeps
always enabled there
* Changed capitalization in some options according to
common spelling rules
Approved by: ports-secteam (feld)
Allow passing -DDEPENDS_SHOW_FLAVOR to list flavors for dependency lists.
Submitted by: se (based on D13535)
With hat: portmgr
Approved by: portmgr (implicit)
Update to the GCC 7.3 release.
This fixes 99+ bugs and includes code generation options to mitigate
Spectre Variant 2 (CVE 2017-5715) for the x86 and powerpc targets
(-mindirect-branch=, -mfunction-return=, and -mindirect-branch-register).
files/patch-armv7-support and files/patch-freebsd-unwind.h, which I
had backported are now included, so remove them.
Approved by: ports-secteam@ (swills)
Mark broken on both armv6 and armv7.
Security/bug fix update to e2fsprogs 1.44.0.
Reset e2fsprogs-libuuid's PORTREVISION.
Changelog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.0>
Security: 2aa9967c-27e0-11e8-9ae1-080027ac955c
Approved by: ports-secteam (swills@)
sysutils/devcpu-data: Revert back to legacy microcode.dat implementation.
Either there is a problem with the Intel supplied microcode files or
cpucontrol does not yet understand how to process a micrcode update file
with multiple entries. For now, abort.
Reviewed by: swills
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13987
Approved by: portmgr (swills)
sysutils/devcpu-data: Migrate our microcode update on Intel to use precreated files.
Intel provides prefabricated per-cpu microcode update files. We no longer need
a tool to extract them from the legacy microcode.dat store. This matches
what upstream linux distributions are doing now. Tested on my Intel machines
here and updates still succeed.
Reviewed by: swills cem
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13921
Approved by: portmgr (swills)
emulators/citra: update to s20180311
- Limit citra-room to master port as it doesn't have a GUI, anyway
Changes: 33a0e87a...6c63bb11
Approved by: ports-secteam (swills, implicit for snapshots)
FLAVORS: Reorder so the default is first.
It is documented that the first FLAVOR is the default. Due to some use
of DEFAULT_VERSIONS and USES, the default FLAVOR may be determined
dynamically. Poudriere in particular expects the default to be first
and does the wrong thing for emacs ports currently [1]. This resolves
that and avoids other tools making the same mistake.
PR: 225659 comment #14
Approved by: portmgr (implicit)
security/tor: Update to 0.3.2.9
This release contains many new features and many bugfixes.
Plesee see the complete list here:
https://blog.torproject.org/tor-0329-released-we-have-new-stable-series
Additionally, this update adds "#include <osreldate.h>" to qualm the
compiler warning that was caused by the previous fix.
Now security/tor and security/tor-devel are identical.
security/tor: Update to 0.3.2.10
Backport of countermeasures to mitigate denial-of-service
attacks against the Tor network.
Changelog is in:
https://gitweb.torproject.org/tor.git/tree/ChangeLog
None of these fixes appear to be essential for clients, but relays
should upgrade.
Port changes:
* Changed the implementation of 'tor_setuid': now it is done through
the command line argument, instead of the torrc file.
BUILD_DEPENDS against `devel/llvm' was not sufficient, since ISPC binary is
actually linked to libLLVM.so. Make it LIB_DEPENDS and thus try to unbreak
`graphics/embree'.
Reported by: pkg-fallout
sysutils/froxlor: Fix packaging when APACHE option is unset
The pkg-plist for some entries relied on the AP_NAME variable, which is
only defined when the APACHE option is set (the default), via
bsd.apache.mk. The variables value is the ports name, so replace it with
PORTNAME accordingly.
While I'm here, fix misspelled PORTREVIION.
Reported by: z3dm4n (via IRC)
Approved by: portmgr (blanket)
sysutils/py-salt: Update to 2017.7.4
This is a bugfix release for the 2017.7.x branch.
Changes this release:
https://docs.saltstack.com/en/latest/topics/releases/2017.7.4.html
PR: 226319
Approved by: Christer Edwards (maintainer)
Approved by: ports-secteam (riggs)
- Fix build with aarch64, armv6, armv7
- Fix QT4 option on all platforms (needs USES=gmake, and fix for moc location)
- Remove some substitutions that didn't do anything
- Don't try to create directories already in mtree
Approved by: ports-secteam (blanket)
It appears as if the development branch of ntp is dead as no new
development tarballs have been relesed for ~ 17 months now. This is a
security concern.
Approved by: portmgr (riggs)
gecko: convert to CONFIGURE_OUTSOURCE
client.mk is on its way out upstream, switching to it was a mistake.
$ MACH=1 gmake -f client.mk build
client.mk:40: /.mozconfig-client-mk: No such file or directory
gmake: *** No rule to make target '/.mozconfig-client-mk'. Stop.
Approved by: ports-secteam (riggs)
Fix build on 11 and later with c++ compilers by default in c++11 mode
PR: 226213
Submitted by: portmaster@bsdforge.com (maintainer)
Approved by: ports-secteam (build fix blanket)
Update to 1.28 which fixes a buffer overflow (that will be)
documented in CVE-2017-17663.
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Security: f5524753-67b1-4c88-8114-29c2d258b383
Differential Revision: https://reviews.freebsd.org/D14218
Approved by: ports-secteam (feld)
Update to version 1.6.3
Shibboleth SP software vulnerable to forged user attribute data
====================================================================
The Service Provider software relies on a generic XML parser to process
SAML responses and there are limitations in older versions of the parser
that make it impossible to fully disable Document Type Definition (DTD)
processing.
Through addition/manipulation of a DTD, it's possible to make changes
to an XML document that do not break a digital signature but are
mishandled by the SP and its libraries. These manipulations can alter
the user data passed through to applications behind the SP and result
in impersonation attacks and exposure of protected information.
While the use of XML Encryption can serve as a mitigation for this bug,
it may still be possible to construct attacks in such cases, and the SP
does not provide a means to enforce its use.
An updated version of XMLTooling-C (V1.6.3) is available that works
around this specific bug.
While newer versions of the parser are configured by the SP into
disallowing the use of a DTD via an environment variable, this feature
is not present in the parser used on some supported platforms (notably
Red Hat and CentOS 7), so an additional fix is being provided now that
an actual DTD exploit has been identified.
Security: CVE-2018-0486
Shibboleth SP software vulnerable to additional data forgery flaws
The XML processing performed by the Service Provider software has been
found to be vulnerable to new flaws similar in nature to the one
addressed in an advisory last month.
Security: 22438240-1bd0-11e8-a2ec-6cc21735f730
URL: https://shibboleth.net/community/advisories/secadv_20180227.txt
Approved by: ports-secteam
Use USE_GITHUB instead of hand crafting urls.
Sponsored by: Absolight
Add a NETMAP option to build and install the bro netmap plugin.
PR: 224918
Reported by: Shane Peters
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D14378
Update to 2.5.3 which fixes an integer overflow:
http://blog.bro.org/2018/02/bro-253-released-security-update.html
Note that a CVE has not been assigned yet.
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D14444
Approved by: ports-secteam (swills)
2018-03-01 Security Update Release
The PostgreSQL Global Development Group has released an update to all supported
versions of the PostgreSQL database system, including 10.3, 9.6.8, 9.5.12,
9.4.17, and 9.3.22.
The purpose of this release is to address CVE-2018-1058, which describes how a
user can create like-named objects in different schemas that can change the
behavior of other users' queries and cause unexpected or malicious behavior,
also known as a "trojan-horse" attack. Most of this release centers around added
documentation that describes the issue and how to take steps to mitigate the
impact on PostgreSQL databases.
We strongly encourage all of our users to please visit
https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path
for a detailed explanation of CVE-2018-1058 and how to protect your PostgreSQL
installations.
After evaluating the documentation for CVE-2018-1058, a database administrator
may need to take follow up steps on their PostgreSQL installations to ensure
they are protected from exploitation.
Security: CVE-2018-1058
Approved by: portmgr
Update dovecot to 2.2.34, and bump pigeonhole.
* CVE-2017-15130: TLS SNI config lookups may lead to excessive
memory usage, causing imap-login/pop3-login VSZ limit to be reached
and the process restarted. This happens only if Dovecot config has
local_name { } or local { } configuration blocks and attacker uses
randomly generated SNI servernames.
* CVE-2017-14461: Parsing invalid email addresses may cause a crash or
leak memory contents to attacker. For example, these memory contents
might contain parts of an email from another user if the same imap
process is reused for multiple users. First discovered by Aleksandar
Nikolic of Cisco Talos. Independently also discovered by "flxflndy"
via HackerOne.
* CVE-2017-15132: Aborted SASL authentication leaks memory in login
process.
* Linux: Core dumping is no longer enabled by default via
PR_SET_DUMPABLE, because this may allow attackers to bypass
chroot/group restrictions. Found by cPanel Security Team. Nowadays
core dumps can be safely enabled by using "sysctl -w
fs.suid_dumpable=2". If the old behaviour is wanted, it can still be
enabled by setting:
import_environment=$import_environment PR_SET_DUMPABLE=1
* doveconf output now includes the hostname.
+ mail_attachment_detection_options setting controls when
$HasAttachment and $HasNoAttachment keywords are set for mails.
+ imap: Support fetching body snippets using FETCH (SNIPPET) or
(SNIPPET (LAZY=FUZZY))
+ fs-compress: Automatically detect whether input is compressed or not.
Prefix the compression algorithm with "maybe-" to enable the
detection, for example: "compress:maybe-gz:6:..."
+ Added settings to change dovecot.index* files' optimization behavior.
See https://wiki2.dovecot.org/IndexFiles#Settings
+ Auth cache can now utilize auth workers to do password hash
verification by setting auth_cache_verify_password_with_worker=yes.
+ Added charset_alias plugin. See
https://wiki2.dovecot.org/Plugins/CharsetAlias
+ imap_logout_format and pop3_logout_format settings now support all of
the generic variables (e.g. %{rip}, %{session}, etc.)
+ Added auth_policy_check_before_auth, auth_policy_check_after_auth
and auth_policy_report_after_auth settings.
- v2.2.33: doveadm-server: Various fixes related to log handling.
- v2.2.33: doveadm failed when trying to access UNIX socket that didn't
require authentication.
- v2.2.33: doveadm log reopen stopped working
- v2.2.30+: IMAP stopped advertising SPECIAL-USE capability
- v2.2.30+: IMAP stopped sending untagged OK/NO storage notifications
- replication: dsync sends unnecessary replication notification for
changes it does internally. NOTE: Folder creates, renames, deletes
and subscribes still trigger unnecessary replication notifications,
but these should be rather rare.
- mail_always/never_cache_fields setting changes weren't applied for
existing dovecot.index.cache files.
- Fix compiling and other problems with OpenSSL v1.1
- auth policy: With master user logins, lookup using login username.
- FTS reindexed all mails unnecessarily after loss of
dovecot.index.cache file
- mdbox rebuild repeatedly fails with "missing map extension"
- SSL connections may have been hanging with imapc or doveadm client.
- cassandra: Using protocol v3 (Cassandra v2.1) caused memory leaks and
also timestamps weren't set to queries.
- fs-crypt silently ignored public/private keys specified in
configuration (mail_crypt_global_public/private_key) and just
emitted plaintext output.
- lock_method=dotlock caused crashes
- imapc: Reconnection may cause crashes and other errors
Security: CVE-2017-14461
Security: CVE-2017-15130
Security: CVE-2017-15132
Approved by: ports-secteam (delphij), adamw
math/ogdf: unbreak build with Clang 6 (C++14 by default)
The bundled version of CoinMP required the same patches as those applied
to the port math/coinmp, so the patches were copied from there.
Submitted by: jbeich (via commit r458136)
Reported by: antoine (via bug 224669)
Approved by: ports-secteam blanket
Convert to USES=autoreconf.
Fix ICU depend for postgresql10-server.
PR: 225049
Submitted by: mat
Approved by: maintainer timeout
Sponsored by: Absolight
Update to latest versions of PostgreSQL
2018-02-08 Security Update Release
==================================
The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.
This release fixes two security issues. This release also fixes issues with
VACUUM, GIN indexes, and hash indexes that could lead to data corruption, as
well as fixes for using parallel queries and logical replication.
All users using the affected versions of PostgreSQL should update as soon as
possible. Please see the notes on "Updating" below for any post-update steps
that may be required.
Please note that PostgreSQL changed its versioning scheme with the release of
version 10.0, so updating to version 10.2 from 10.0 or 10.1 is considered a
minor update.
Security Issues
---------------
Two security vulnerabilities have been fixed by this release:
* CVE-2018-1052: Fix the processing of partition keys containing multiple
expressions
* CVE-2018-1053: Ensure that all temporary files made with "pg_upgrade" are
non-world-readable
Local fixes to the FreeBSD ports
--------------------------------
Inform users about data checksums [1].
Make sure /usr/bin/su is used regardless of PATH settings [2].
Enable DTRACE by default [3].
PR: 214671 [1], 223157 [2], 215028 [3]
Security: c602c791-0cf4-11e8-a2ec-6cc21735f730
Remove DTRACE from OPTIONS_DEFAULT, causes segmentation fault during build
Approved by: portmgr
sysutils/py-salt: Update to 2017.7.3
This is a bug fix release for the 2017.7.x branch. Changes this release:
https://docs.saltstack.com/en/latest/topics/releases/2017.7.3.html
PR: 225983
Submitted by: ohauer
Approved by: Christer Edwards (maintainer)
Approved by: ports-secteam (riggs)
WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR.
Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
will incorrectly use ${WRKDIR}/.ccache. Symlink to the proper place.
Approved by: portmgr (implicit)
www/squid-devel: Update to 4.0.23, Fixes security vulnerabilities
- Add a patch from upstream that fixes a problem when building on i386 arch
Kid.cc:93:42: error: format specifies type 'long' but the argument has type
'time_t' (aka 'int') [-Werror,-Wformat]
theName.termedBuf(), pid, Config.hopelessKidRevivalDelay);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
- Remove CXXFLAGS with clang, not necessary anymore
PR: 225447
Submitted by: timp87@gmail.com (maintainer)
Security: d5b6d151-1887-11e8-94f7-9c5c8e75236a
Approved by: ports-secteam (swills)
textproc/elasticsearch5: Use native facilites for manging the process
start/stop/status will behave correctly with procname set.
This now prevents Elastic from starting when a process is already
running, stops cleanly, and also handles multiple profiles correctly:
if only some of the profile processes are running, a "service
elasticsearch start" will only start the profiles that are not detected
as running already.
All of this comes with the caveat that Elastic is slow to start up and write
its pidfile, so if you are too quick it will allow duplicate processes
to start. Here be JVM dragons.
Approved by: portmgr (with hat)
www/waterfox: unbreak after r462554
In file included from objdir/gfx/layers/Unified_cpp_gfx_layers7.cpp:11:
gfx/layers/composite/TextureHost.cpp:287:82: error: no
member named 'yStride' in 'mozilla::layers::YCbCrDescriptor'
ImageDataSerializer::ComputeYCbCrBufferSize(ycbcr.ySize(), ycbcr.yStride(),
~~~~~ ^
gfx/layers/composite/TextureHost.cpp:288:85: error: no
member named 'cbCrStride' in 'mozilla::layers::YCbCrDescriptor'; did you mean 'cbCrSize'?
ycbcr.cbCrSize(), ycbcr.cbCrStride());
^~~~~~~~~~
cbCrSize
Point hat to: jbeich (last minute fix)
Approved by: ports-secteam blanket
Fix build with CURL_DEBUG enabled
lib/checksrc.pl is run when CURL_DEBUG is enabled.
The build failed due to the long line in patched lib/url.c.
./url.c:593:82: warning: Longer than 79 columns (LONGLINE)
data->set.no_signal = TRUE; /* different handling of signals and threads */
checksrc: 0 errors and 1 warnings
checksrc: 0 errors and 5 warnings suppressed
gmake[3]: *** [Makefile:3935: checksrc] Error 5
Approved by: ports-secteam (blanket)
net-p2p/bitmessage: Update to 0.6.3.2; Fixes security vulnerability
Additional port changes:
* Changed to DISTVERSION
* Updated MAINTAINER
* Added to RUN_DEPENDS
* Moved lines to USExx section
* Added USE_PYTHON=noflavors
* Deleted the patch (not applicable any more)
Testing:
* Ran the app, it seems to work properly.
0.6.3.2 fixes the security vulnerability described here:
https://github.com/Bitmessage/PyBitmessage/releases/tag/v0.6.3
CVE is not available.
Approved by: ports-secteam, tcberner (mentor, implicit)
net/quagga: fix build if SNMP is not selected
- configure script tries to detect net-snmp even if not requested,
but fails, if net-snmp is not installed.
Reported by: antoine, garga
Approved by: portmgr (antoine)
net/quagga: update 1.2.2 -> 1.2.3
- doc/security: Security announcements for 4 issues
- doc/security: Add a doc/security folder and template for announcements
- doc: Add commit message template, suitable for commit.template
- bgpd: remove stream_pnt use for notify data
- lib/privs: Remove of CAP_NET_BROADCAST forgot to decrement array count
- bgpd/security: debug print of received NOTIFY data can over-read msg array
- bgpd/security: fix infinite loop on certain invalid OPEN messages
- bgpd/security: Fix double free of unknown attribute
- bgpd/security: invalid attr length sends NOTIFY with data overrun
- zebra/redistribute: Implicit withdraw needs to be explicit if
update isn't sent
- doc: 'match aspath' should be 'match as-path'
- bgpd: fix SIGBUS
- bgpd: Fix mistake in NHT of connected IPv6 next-hops preventing
route advertisements
- Updated the protocol supported list
- lib/command: make config file robust more robust and kinder to system
- doc: Bring documentation on Zserv header up to date.
- bgpd: distance comment
- doc: Fix small but important logical mistake in community-list example
- doc: document that changing bgp distance needs a hard clear of routes
- bgpd: malformed attribute handling: don't pass on, and add missing notify
- lib/filter: change add/delete callback hooks to robustly delete
- Revert "lib: Fix Free Pointer dereference in lib/filter.c"
- infra/buildbot: allow bots to be picked out by installed compiler.
- infra/buildbot: Add bots, add JSON "env" config variable, poll
all git branches
- lib: ptr macro arg may need brackets in some cases
- distro/systemd: add man page ref and set config file permissions
- doc: Fix manpage number for ospfclient.
- vtysh: Fix spelling errors in strings flagged by lintian.
- doc: Tweak grammar in zebra manpage to keep lintian happy.
- vtysh: print error if PAM auth does not succeed
- lib/thread: get rid of the shallow-copy thread_fetch add a sane thread_main
- buildbot/master: use a helper generator for make cmd string list
- buildbot/master: fix the common steps
- buildbot/master: Add OBSD bot, and support for environment variable config
- build: AC_EGREPP_CPP actions wrong way around, worked by accident mostly.
- build: Work around illumos still shipping
Security: CVE-2018-5378, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt
CVE-2018-5379, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1114.txt
CVE-2018-5380, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1550.txt
CVE-2018-5381, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt
Approved by: portmgr (swills)
- Update net/asterisk13 to 13.19.0
- Move MASTER_SITES and WWW to https
- Add missing dependencies reported by stage-qa
Update asterisk13 to 13.19.1
Fixes a memory leak in the CDR functionality.
Approved by: ports-secteam (riggs)
www/waterfox: remove incompatible FF57 fix after r461852
error[E0609]: no field `for_non_inherited_property` on type `&mut values::computed::Context<'_>`
--> objdir/toolkit/library/i686-unknown-freebsd/release/build/style-ca3e0643edd5022b/out/properties.rs:79382:25
|
79382 | context.for_non_inherited_property =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Reported by: pkg-fallout
Pointy hat to: jbeich (forgot to svn rm)
Approved by: ports-secteam blanket
net/rsync: Update to 3.1.3
Changelog:
SECURITY FIXES:
- Fixed a buffer overrun in the protocol's handling of xattr names and
ensure that the received name is null terminated.
- Fix an issue with --protect-args where the user could specify the arg in
the protected-arg list and short-circuit some of the arg-sanitizing code.
BUG FIXES:
- Don't output about a new backup dir without appropriate info verbosity.
- Fixed some issues with the sort functions in support/rsyncstats script.
- Added a way to specify daemon config lists (e.g. users, groups, etc) that
contain spaces (see "auth users" in the latest rsyncd.conf manpage).
- If a backup fails (e.g. full disk) rsync exits with an error.
- Fixed a problem with a doubled --fuzzy option combined with --link-dest.
- Avoid invalid output in the summary if either the start or end time had
an error.
- We don't allow a popt alias to affect the --daemon or --server options.
- Fix daemon exclude code to disallow attribute changes in addition to
disallowing transfers.
- Don't force nanoseconds to match if a non-transferred, non-checksummed
file only passed the quick-check w/o comparing nanosecods.
ENHANCEMENTS:
- Added the ability for rsync to compare nanosecond times in its file-check
comparisons, and added support nanosecond times on Mac OS X.
- Added a short-option (-@) for --modify-window.
- Added the --checksum-choice=NAME[,NAME] option to choose the checksum
algorithms.
- Added hashing of xattr names (with using -X) to improve the handling of
files with large numbers of xattrs.
- Added a way to filter xattr names using include/exclude/filter rules (see
the --xattrs option in the manpage for details).
- Added "daemon chroot|uid|gid" to the daemon config (in addition to the
old chroot|uid|gid settings that affect the daemon's transfer process).
- Added "syslog tag" to the daemon configuration.
- Some manpage improvements.
DEVELOPER RELATED:
- Tweak the "make" output when yodl isn't around to create the man pages.
- Changed an obsolete autoconf compile macro.
- Support newer yodl versions when converting man pages.
remove needless patch
*While here switch to DISTVERSION
PR: 225761
Reported by: os@ist.ac.at
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D14324
Approved by: ports-secteam (riggs)
multimedia/gtk-recordmydesktop: fix runtime
- fix runtime by correcting shebang line
- set LICENSE_FILE
- set NO_ARCH since this package does not contain platform dependent files
- seitch to USES=localbase and correct requred python version
- bump PORTREVISION to reflect package changes
PR: 220800
Reported by: timp87@gmail.com
Approved by: portmgr (riggs)
Update to 3.5.5
- Update Makefile and PLIST to be similar with python36
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Remove over-patched shebang fix of Lib/cgi.py
- Update http:// links in Makefile comments and patch files
Changes: https://docs.python.org/3.5/whatsnew/changelog.html
Security: 0fe70bcd-2ce3-46c9-a64b-4a7da097db07
Approved by: ports-secteam (riggs)
Update to 3.4.8
- Set PORTNAME to python and add PKGNAMESUFFIX
- Update Makefile and PLIST to be similar with python36
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Fix shebang:
- Update SHEBANG_FILES
- Remove over-patched shebang fix of Lib/cgi.py
- Update http:// links in Makefile comments and patch files
Changes: https://docs.python.org/3.4/whatsnew/changelog.html
Security: 0fe70bcd-2ce3-46c9-a64b-4a7da097db07
Approved by: ports-secteam (riggs)
net-p2p/libtorrent: Fix remote DoS
Calls into build_benocde that use %zu could crash on 64 bit machines
due to the size change of size_t.
Someone can force READ_ENC_IA to fail allowing an internal_error to
be thrown and bring down the client, throw handshake_error instead.
PR: 224664
Submitted by: Henry David Bartholomew <PopularMoment@protonmail.com>
Approved by: maintainer timeout (pipfstarrd@openmailbox.org, > 2 weeks)
Security: e4dd787e-0ea9-11e8-95f2-005056925db4
Approved by: ports-secteam (eadler)
devel/libftdi: Fix build without PYTHON after r451798
BINARY_ALIAS is set unconditionally but swig3.0 is only available with
PYTHON=on and create-binary-alias will fail when it is missing.
PR: 225524
Reported by: johan@stromnet.se
Approved by: ports-secteam blanket
devel/flang: Update to a later development snapshot.
Contains various improvements and fixes over the last two months.
Reported by: Rainer Hurling <rhurlin@gwdg.de>
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D13727
devel/flang-clang: Update to a new snapshot and fix pkg-plist to match the recent upgrade of LLVM 5.0.0 to 5.0.1. Update requires patch to remove -ldl.
devel/flang: Bump PORTREVISION to force recompilation after the above companion compiler update.
PR: 225174 (for the LLVM 5.0.1)
Approved by: swills (mentor, implicit)
Approved by: ports-secteam
www/palemoon: Update LICENSE_PERMS
Upstream forbids distribution of this package with their branding unless
we are able to fully comply with the requirements of building against
all of the libraries in their tree. This is untenable so we will block
distribution for now and work on disabling branding.
PR: 225717
emulators/rpcs3: switch to llvm50
LLVM PPU is still unstable on FreeBSD, so allow users to play with
different versions of it. By default use the same version as Mesa.
Approved by: ports-secteam (feld)
security/softether: update 4.20.9608 -> 4.25.9656
- There are 11 vulnerabilities on SoftEther VPN. There vulnerabilities
are found by the source code audit process conducted by Max Planck
Institute for Molecular Genetics and Mr. Guido Vranken in late 2017.
This build fixes all of these vulnerabilities.
PR: 225618
Submitted by: net@arrishq.net (maintainer)
Relnotes: http://www.softether.org/5-download/history
Approved by: portmgr (swills)
Update PHP 7.1 from 7.1.13 to 7.1.14
Changelog: http://www.php.net/ChangeLog-7.php#7.1.14
Remove patch since upstream integrated a fix for the issue
Approved by: ports-secteam (swills)
Fix builds of lang/gcc{48,49,5} with clang 6.0.0
Since clang++ 6.0.0 now defaults to -std=gnu++14 (similar to g++ 6 and
higher), building gcc48, gcc49 or gcc5 produce quite a number of
"invalid suffix on literal; C++11 requires a space between literal and
identifier" errors. This is because in many places, double quotes are
directly followed by printf helper macros like HOST_WIDE_INT_PRINT.
In gcc 6 and later, spaces were added between the double quotes and the
macros, to fix this issue, but for earlier versions, use a combination
of find, grep and sed to add them mechanically throughout the respective
source trees.
In addition, gcc5 needs a regular patch to fix an incorrect call to
error(), which should have been error_at(). (This was a mismerge by
upstream.)
Approved by: gerald (maintainer)
PR: 224927
Update to upstream version 0.0.62
Detailed maintainer log:
- v0.0.62: Miscellaneous tweaks
- Updated Let's Encrypt agreement URL in example response file.
- Now builds for current Go 1.x version in Travis rather than Go 1.8.
- More error details are now available for challenge errors in the acmeapi
package.
- Error when trying to prompt the user in non-interactive mode now advises
user to remove --batch flag.
PR: 224627
Submitted by: samm@os2.kiev.ua (maintainer)
Upgrade to build 242
Approved by: feld (maintainer)
Unbreak last commit.
Pointy hat: dvl
Sponsored by: Absolight
security/snort3: Update to Alpha BUILD_242
- Use cmake now as autotools will be going away
- Fix segfaulting which was actually caused by devel/hwloc
security/snort3: Bump PORTREVISION
Bump for sanity
Add missing DOCS to OPTIONS_DEFINE
- update to 3.2.5
- license is now dual (see Changelog 20180127)
- make EAI optional but on by default [1]
Changelog:
20171116
Bugfix (introduced: Postfix 2.1): don't log warnings
that some restriction returns OK, when the access map
DISCARD feature is in effect. File: smtpd/smtpd_check.c.
20171215
Bugfix (introduced: 20170611): the DB_CONFIG bugfix broke
Berkeley DB configurations with a relative pathname. File:
util/dict_db.c.
20171218
Workaround: reportedly, some res_query(3) implementation
can return -1 with h_errno==0. Instead of terminating with
a panic, the Postfix DNS client now logs a warning and sets
h_errno to TRY_AGAIN. File: dns/dns_lookup.c.
20171226
Documentation patches by Sven Neuhaus. Files:
proto/FORWARD_SECRECY_README.html, proto/MILTER_README.html,
proto/SMTPD_ACCESS_README.html.
20180106
Cleanup: missing mailbox seek-to-end error check in the
local(8) delivery agent. File: local/mailbox.c.
Cleanup: incorrect mailbox seek-to-end error message in the
virtual(8) delivery agent. File: virtual/mailbox.c.
20180127
Licence: in addition to the historical IBM Public License
1.0, this software is now also distributed with the more
recent Eclipse Public License 2.0. Recipients can choose
to take the software under the license of their choice.
Those who are more comfortable with the IPL can continue
with that license. File: LICENSE.
- fix licence error after last commit
Reported by: Yasuhiro KIMURA
PR: ports/221619 [1]
Submitted by: Kubilay Kocak (koobs@)
Approved by: ports-secteam (swills@)
www/mediawiki130: Add missing PHP module dependency
When upgrading from MediaWiki 1.29:
Error: Missing one or more required components of PHP.
You are missing a required extension to PHP that MediaWiki needs.
Please install:
* fileinfo <https://secure.php.net/fileinfo>
Complete fix for CVE-2017-15132
Complete fix for CVE-2017-15132, the previous fix was not enough, and caused
the request to remain after an abort, causing a use-after-free later on.
PR: 225585
Submitted by: Vladimir Krstulja
Approved by: adamw (maintainer)
Approved by: ports-secteam (implicit, security fix)
Update glib to 2.50.3.
Also redo the kqueue patches. Now we patch files only once, and add some
bits that got lost somewhere (which is probably my fault). Which where
causing crashes when for example nautilus or thundar where monitoring
directories and files where added/removed.
PR: 199872
Fix another crash bug in the kqueue backend.
PR: 199872 217946
Approved by: ports-secteam (swills@)
KGDB fixes for amd64 and aarch64.
- Update the amd64 kernel support to recognize mchk_calltrap as a
trapframe generator.
- Remove some unneeded headers from fbsd-kld.c.
- Various fixes to get stack traces working for aarch64 kernels:
- Map the LR register from the PCB to PC instead of LR.
- Skip the PC register from the PCB as it isn't initialized to anything.
- Correct the register cache map for the PCB. The old one had the
offsets of pcb_sp and pcb_pc reversed.
- Don't map all of the saved general purpose registers in a
trapframe to X1 rather than X0 .. X29.
- Use correct name for el0 trapframe entry points.
Reviewed by: pizzamig (maintainer)
Differential Revision: https://reviews.freebsd.org/D13977
Approved by: ports-secteam (swills)
devel/awscli: use USE_PTYHON=noflavors, remove PKGNAMEPREFIX
The introduction of flavors caused the awscli package to be renamed to
py27-awscli. Since this package is preinstalled on all AWS EC2 instances
running a FreeBSD image, apply POLA and rename the package back to
awscli. The assumption is that the rename was unintentional.
Approved by: mat (co-mentor)
Differential Revision: https://reviews.freebsd.org/D13555
Approved by: portmgr
Add patch and fix CVE-2017-15132
Add upstream patch to fix CVE-2017-15132, memory leak in the log in process
that can cause memory exhaustion.
PR: 225446
Submitted by: Vladimir Krstulja
Approved by: adamw (maintainer), swills (ports-secteam)
Security: 92b8b284-a3a2-41b1-956c-f9cf8b74f500
Approved by: ports-secteam (implicit)
security/clamav: remove LHA from default options.
r459039 made distribution of the lha binary not allowed.
PR: 225180
Submitted by: antoine
security/clamav: upgrade to 0.99.3.
* Update to 0.99.3.
* Fix following portlint warnings.
** Move position of USES in Makefile.
** Remove reference of undefined LLVM option.
** Regenerate files/patch-libclamav_regex_pcre.c by 'make makepatch
** add USES=ssl
PR: 225461
Submitted by: yasu@utahime.org
Approved by: ports-secteam (swills)
Security: b464f61b-84c7-4e1c-8ad4-6cf9efffd025
Make AQMP support optional. AQMP support, which was prior to this
revision not optional, caused syslog-ng to fail to build with
LibreSSL. Users of LibreSSL should disable AQMP support.
PR: 225380
Submitted by: Peter Czanik (CzP) <peter.czanik@balabit.com>
Balabit / syslog-ng upstream
Approved by: portmgr (swills)
sysutils/gdisk: Unbreak UTF16 option
/usr/bin/ld: undefined reference to symbol `_ZN3icu13UnicodeStringC1EPKc' (try adding -licuuc)
//usr/local/lib/libicuuc.so.60: could not read symbols: Bad value
PR: 198518
Submitted by: Ting-Wei Lan <lantw44@gmail.com>
Approved by: wg (maintainer timeout, ~3 years)
Approved by: ports-secteam blanket
Show errors for duplicate source entries.
Remove duplicate entries found by updated MOVEDlint.awk in r459958
Fix some other lint findings
Approved by: portmgr (implicit)
Fix databases/mariadb* hostname verification when building against LibreSSL
LibreSSL imported X509_check_host from BoringSSL. Unlike OpenSSL,
it doesn't calculate the length of the hostname passed in case
chklen/namelen == 0. This means that the check in MariaDB always
fails if built against LibreSSL. This forces adminstrators to disable
hostname verification, which weakens security (hence the MFH request below).
Note that the fix has no negative implications if built against OpenSSL,
as its implementation calls strlen(hostname) in case namelen == 0.
See also https://github.com/MariaDB/server/pull/562
Approved by: portmgr
xen-kernel: fix build with clang 6 and apply pending XSA patches
This includes a band-aid for running 64bit PV guests without
compromising the whole system.
Approved by: ports-secteam (swills)
Restore DTraceToolkit from r454702.
It's not in base since 2016 r300226 exactly because it is updated more often
than FreeBSD and belongs in ports.
Approved by: portmgr (implicit)
Update to version 4.1.1
- Fixes "PowerDNS Security Advisory 2018-01: Insufficient validation
of DNSSEC signatures". An issue has been found in the DNSSEC
validation component of PowerDNS Recursor, allowing an ancestor
delegation NSEC or NSEC3 record to be used to wrongfully prove the
non-existence of a RR below the owner name of that record. This
would allow an attacker in position of man-in-the-middle to send a
NXDOMAIN answer for a name that does exist.
The 4.0.x branch is not vulnerable.
- Add support for algo16 and simplify Lua/LuaJIT engine choice.
PR: 225397
Submitted by: maintainer
Security: CVE-2018-1000003
Approved by: ports-secteam
Remove BROKEN, DEPRECATED and EXPIRATION_DATE
This port builds fine in poudriere.
This port depends on py-twisted and py-twistedCore has been removed from ports tree.
Approved by: ports-secteam (swills)
net-p2p/transmission-daemon: Mitigate DNS rebinding attack
Incorporate upstream pull request 468, proposed by Tavis Ormandy from
Google Project Zero, which mitigates this attack by requiring a host
whitelist for requests that cannot be proven to be secure, but it can
be disabled if a user does not want security.
PR: 225150
Submitted by: Tavis Ormandy
Approved by: crees (maintainer)
Obtained from: https://github.com/transmission/transmission/pull/468#issuecomment-357098126
Security: https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html
Add note to UPDATING for net-p2p/transmission-daemon explaining how to
allow client access with the new DNS rebinding mitigations.
PR: 225150
Security: https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html
net-p2p/transmission-daemon: Improve UPDATING entry and add pkg-message
This will ensure users who do not read UPDATING are still presented with
the message about how to allow clients to connect to the daemon using
DNS when they upgrade the package.
PR: 225150
Reported by: swills
Security: https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html
Approved by: ports-secteam (swills)
astro/viking: Fix LIB_DEPENDS and unbreak port
- While here reset MAINTAINER: The port has been marked as broken
since 2017-05-10 and the maintainer has a history of timeouts.
PR: 224668
Submitted by: Ting-Wei Lan <lantw44@gmail.com>
Approved by: koalative@gmail.com (maintainer timeout, 2 weeks)
Approved by: ports-secteam (swills)
security/trousers: fix distinfo
- see the PR for the diff between the two distfiles
PR: 221105
Approved by: hrs (maintainer timeout)
Approved by: portmgr
databases/memcached: Fix user/group handling for running process
You can now set memcached_user and memcached_group in rc.conf and get
expected results of running process and socket ownership.
Differential Revision: https://reviews.freebsd.org/D13967
net-mgmt/librenms: Update to 1.35, many improvements
Improvements:
- All files should be owned root:wheel except logs and rrd which need to be writable by the app
- Add missing php posix extension
- Do not install config.php by default. This breaks the install process which won't run if this file exists
- Clean up automatic PLIST creation: don't install .orig or .bak files, don't add @dir as they aren't needed
- Patch LibreNMS to make /validate/ page not produce warnings about files not being writable (for git updates)
- Remove the Updates validation check altogether as we won't be using git to update
- Patch the User validation check to only check the logs and rrd dir and ensure the correct user owns them
- Change the default user in the generated config to "www"
- Patch the File Lock code to put the lock file in /tmp and not in the WWWDIR which should not be writable
- Update message in installer to use WWWDIR as suggested path for config.php
- Use shebangfix instead of patch where applicable
- Fix APACHEMOD port option and declaration of the USES=php
PR: 225161
Differential Revision: https://reviews.freebsd.org/D13907
Update debian patch collection to version 17 since 16 is not available anymore
Reported by: David Martin <dmartin@aisliny.com>
Sponsored by: Rubicon Communications, LLC (Netgate)
Approved by: ports-secteam (swills)
Fix build
was failing with:
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/dev/ci/tests/debian/run'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/dev/ci/tests/rpm/run'
Error: '/usr/local/bin/python2' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py'
Approved by: portmgr@ (blanket approval)
databases/mysql56-{client, server}: Update to 5.7.21
This update fixes bugs like CVE-2018-2696, CVE-2018-2562, CVE-2018-2640,
CVE-2018-2668, CVE-2017-3737 (and more) in MySQL protocol by upstream.
Delete local patches (CMake plugin macros) that are merged by upstream.
PR: 225195
Sponsored by: Netzkommune GmbH
Approved by: ports-secteam (feld)
databases/mysql56-{client, server}: Update to 5.6.39
This update fixes bugs like CVE-2018-2696, CVE-2018-2562,
and CVE-2018-2583 in MySQL protocol by upstream
PR: 225240
Sponsored by: Netzkommune GmbH
Approved by: ports-secteam (feld)
ports-mgmt/fastest_sites: Fix runtime with modern bsd.sites.mk
fastest_sites currently can't parse entries like
https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE
=> Checking servers for MASTER_SITE_FEDORA_LINUX (6 servers)
Traceback (most recent call last):
File "/usr/local/bin/fastest_sites", line 164, in <module>
latency_list = FindFastest(varname, sitelist)
File "/usr/local/bin/fastest_sites", line 110, in FindFastest
AsyncConnect(url, callback)
File "/usr/local/bin/fastest_sites", line 53, in __init__
self.ParseURL()
File "/usr/local/bin/fastest_sites", line 64, in ParseURL
(scheme, remainder) = self._url.split(":", 2)
ValueError: too many values to unpack
PR: 224854
Approved by: ports-secteam blanket
devel/libevent: Fix QA warning
Need shebangfix for Python script, but we will consciously avoid adding
Python as a build or run dependency for a script that is unlikely to be
used.
PR: 224575
MFH: r458664 r458792 r458943 r458987 r459084
sysutils/devcpu-data follow up commit to 20180108 Intel microcode update.
Run cpucontrol -e after microcode update to refresh cpu flags. If running
on an older system without -e, fail silently.
Log any upgrade output via logger to /var/log/messages.
Add an instructional pkg-message for users.
Intel Release Notes:
Intel Processor Microcode Package for Linux
20180108 Release
-- Updates upon 20171117 release --
IVT C0 (06-3e-04:ed) 428->42a
SKL-U/Y D0 (06-4e-03:c0) ba->c2
BDW-U/Y E/F (06-3d-04:c0) 25->28
HSW-ULT Cx/Dx (06-45-01:72) 20->21
Crystalwell Cx (06-46-01:32) 17->18
BDW-H E/G (06-47-01:22) 17->1b
HSX-EX E0 (06-3f-04:80) 0f->10
SKL-H/S R0 (06-5e-03:36) ba->c2
HSW Cx/Dx (06-3c-03:32) 22->23
HSX C0 (06-3f-02:6f) 3a->3b
BDX-DE V0/V1 (06-56-02:10) 0f->14
BDX-DE V2 (06-56-03:10) 700000d->7000011
KBL-U/Y H0 (06-8e-09:c0) 62->80
KBL Y0 / CFL D0 (06-8e-0a:c0) 70->80
KBL-H/S B0 (06-9e-09:2a) 5e->80
CFL U0 (06-9e-0a:22) 70->80
CFL B0 (06-9e-0b:02) 72->80
SKX H0 (06-55-04:b7) 2000035->200003c
GLK B0 (06-7a-01:01) 1e->22
Reviewed by: A bunch of folks on the review
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13815
Revert to previous Intel microcode archive (20171117).
FreeBSD kernel changes to make use of the capabilities provided by the
new microcode update have not yet been committed. Since we do not yet
require them, allow more time for validation.
Approved by: emaste
Sponsored by: Limelight Networks
sysutils/devcpu-data: Update AMD microcode, add cpu 17h microcode,
drop malfunctioning individual "AMD-XXX" files.
On the few machines that actually have microcode updates, chopping up the
microcode is incorrect and results in a failure to update. Don't do that.
I personally run this on my FX-8150 and this has been tested by a few others.
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13832
sysutils/devcpu-data: Only run "cpucontrol -e" once.
Submitted by: kib
Sponsored by: Limelight Networks
sysutils/devcpu-data: fix rc script
PR: 225173
Reviewed by: sbruno
Approved by: portmgr (implicit)
Approved by: ports-secteam (implicit)
net-mgmt/aircrack-ng:
- Include pcap.h using a relative path. Some environments failed to find it.
- Bump PORTREVISION
This most probably also fixes 190725
PR: 225050
Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by: portmgr (swills)
Fix build on Ruby prior to 2.5
Ruby 2.5 bundled RDoc 6.0.1. Due to unknown RDoc issue, RDoc prior to
6.0.0.beta1+ failed to parse the regex in lib/liquid/tag/parser.rb.
Upstream also set "has_rdoc = false" in gemspec.
Use OPTIONS_EXCLUDE=DOCS instead of NOPORTDOCS
Suggested by: mat
Approved by: ports-secteam (blanket)
databases/percona57: Fix build with SASL
If SASL is detected at build time it assumes you want SASL and also
errors due to assuming we're Linux. This was already patched in our tree
for MySQL.
Also enable SASL support by default for the databases/percona57-client.
This is expected to be the default by upstream now.
Special thanks to mmokhi for figuring this out for us.
PR: 220865
net-mgmt/icingaweb2:
- Install icingacli to ${PREFIX}/bin and patch it to make it usable. Now you
can configure Icinga Web 2 with it and can use the embedded PHP web server.
- Bump PORTREVISION
Approved by: portmgr (swills)
Bugfix update to new upstream release 1.43.8.
This fixes a few important bugs where updates are missed, displayed data is
incorrect, a use-after-free-bug and fixes important bugs WRT super block
handling on big-endian systems (missed byte-swaps).
Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.8>
Approved by: ports-secteam (swills)
Fix conditional in flavoring.
I missed this change when I committed the approved review.
Reviewed by: portmgr (mat)
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D13478
Approved by: ports-secteam (swills)
Fix flavor helpers when only bsd.port.pre.mk is not used and FLAVOR is not set.
The helpers were being evaluated before the default FLAVOR was set. The
helpers worked fine if the FLAVOR was specified by the user but not if
it was left to the default value. Resolve this by moving the helpers
right after the default FLAVOR is set.
PR: 224879
exp-run by: antoine
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D13756
Fix after empty FLAVOR as make argument was forbidden
Remove the use of submake, and use the parent's port shared library
instead.
While there, remove an obsolete sed line that does not match anything.
games/aquaria: unbreak with LLD by default
Linking with LLD currently fails due to preemption of symbols with
protected visibility in a shared object:
/usr/bin/ld: error: cannot preempt symbol: alGetSourcei
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>> CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))
/usr/bin/ld: error: cannot preempt symbol: alSourceUnqueueBuffers
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>> CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))
[...]
For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in openal-soft or in lld).
Reported by: antoine (via bug 214864)
Approved by: ports-secteam blanket
math/py-matplotlib: unbreak build with Clang 6 (C++14 by default)
extern/ttconv/pprdrv_tt.cpp:245:41: error: cast from pointer to smaller type 'char' loses information
font->Copyright[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:261:42: error: cast from pointer to smaller type 'char' loses information
font->FamilyName[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:277:37: error: cast from pointer to smaller type 'char' loses information
font->Style[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:293:40: error: cast from pointer to smaller type 'char' loses information
font->FullName[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:309:39: error: cast from pointer to smaller type 'char' loses information
font->Version[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:325:40: error: cast from pointer to smaller type 'char' loses information
font->PostName[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:340:42: error: cast from pointer to smaller type 'char' loses information
font->PostName[length/2]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:355:41: error: cast from pointer to smaller type 'char' loses information
font->Trademark[length]=(char)NULL;
^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:1041:19: error: cast from pointer to smaller type 'char' loses information
temp[len]=(char)NULL; /* a buffer and make it ASCIIz. */
^~~~~~~~~~
Reported by: antoine (via bug 224669)
Approved by: ports-secteam blanket
textproc/exempi: unbreak build with Clang 6 (C++14 by default)
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:703:81: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:1232:28: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:710:57: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:717:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:724:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:736:61: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:743:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:763:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:607:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ))
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:619:75: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:626:74: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:633:80: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:640:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...bextOriginationDate.ns , bextOriginationDate.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:647:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...bextOriginationTime.ns , bextOriginationTime.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:655:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:678:61: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
RIFF_Support.cpp:697:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
(aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ) )
^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
#define kXMP_NoOptions ((XMP_OptionBits)0UL)
^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
XMP_OptionBits * options ) const;
^
Reported by: antoine (via bug 224669)
Obtained from: upstream (exempi 2.4.0)
Approved by: ports-secteam blanket
textproc/scim: unbreak build with Clang 6 (C++14 by default)
In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
pair(pair const&) = default;
^
/usr/include/c++/v1/map:624:16: note: in instantiation of template class 'std::__1::pair<const std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
value_type __cc;
^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
^
In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
pair(pair const&) = default;
^
/usr/include/c++/v1/map:625:21: note: in instantiation of template class 'std::__1::pair<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
__nc_value_type __nc;
^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
^
scim_debug.cpp:41:6: error: constant expression evaluates to -1 which cannot be narrowed to type
'scim::uint32' (aka 'unsigned int') [-Wc++11-narrowing]
{SCIM_DEBUG_AllMask, "all"},
^~~~~~~~~~~~~~~~~~
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
#define SCIM_DEBUG_AllMask (~0) /**< Show all messages. */
^~~~
scim_debug.cpp:41:6: note: insert an explicit cast to silence this issue
{SCIM_DEBUG_AllMask, "all"},
^~~~~~~~~~~~~~~~~~
static_cast<uint32>( )
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
#define SCIM_DEBUG_AllMask (~0) /**< Show all messages. */
^~~~
Reported by: antoine (via bug 224669)
Obtained from: upstream (SCIM 1.4.16)
Approved by: ports-secteam blanket
graphics/freeimage: unbreak build with Clang 6 (C++14 by default)
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
-1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: note: insert an explicit cast to silence this issue
-1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: note: insert an explicit cast to silence this issue
-1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: note: insert an explicit cast to silence this issue
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: note: insert an explicit cast to silence this issue
+0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: note: insert an explicit cast to silence this issue
+0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
+1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: note: insert an explicit cast to silence this issue
+1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
^~~~
static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: error: constant expression evaluates to 65535 which cannot be narrowed to type 'short' [-Wc++11-narrowing]
{ "Red One", 704, 0xffff, /* DJC */
^~~~~~
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: note: insert an explicit cast to silence this issue
{ "Red One", 704, 0xffff, /* DJC */
^~~~~~
static_cast<short>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
is_raw += (i = get4()) && 1;
^ ~
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: use '&' for a bitwise operation
is_raw += (i = get4()) && 1;
^~
&
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: remove constant to silence this warning
is_raw += (i = get4()) && 1;
~^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:9239:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
strcpy (th->soft, "dcraw v"DCRAW_VERSION);
^
Reported by: antoine (via bug 224669)
Obtained from: upstream (LibRaw 0.17.0)
Approved by: ports-secteam blanket
math/coinmp: unbreak build with Clang 6 (C++14 by default)
ClpModel.cpp:3848:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
reinterpret_cast<const char*> (NULL) /*integrality*/,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CglLandPSimplex.cpp:11:
In file included from ./CglLandPSimplex.hpp:31:
./CglLandPUtils.hpp:88:25: error: reinterpret_cast from 'nullptr_t' to 'OsiRowCut *' is not allowed
cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CbcModel.cpp:5322:41: error: reinterpret_cast from 'nullptr_t' to 'double *' is not allowed
clpSolver->setFakeObjective(reinterpret_cast<double *> (NULL));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: antoine (via bug 224669)
Approved by: ports-secteam blanket
multimedia/smpeg: unbreak build with Clang 6 (C++14 by default)
huffmantable.cpp:553:8: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{ 0, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:553:8: note: insert an explicit cast to silence this issue
{ 0, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
huffmantable.cpp:553:13: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{ 0, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:553:13: note: insert an explicit cast to silence this issue
{ 0, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
huffmantable.cpp:557:8: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{ 4, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:557:8: note: insert an explicit cast to silence this issue
{ 4, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
huffmantable.cpp:557:13: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{ 4, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:557:13: note: insert an explicit cast to silence this issue
{ 4, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
huffmantable.cpp:567:8: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{14, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:567:8: note: insert an explicit cast to silence this issue
{14, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
huffmantable.cpp:567:13: error: constant expression evaluates to -1 which cannot be narrowed to type
'unsigned int' [-Wc++11-narrowing]
{14, 0-1, 0-1, 0, 0, htd33},
^~~
huffmantable.cpp:567:13: note: insert an explicit cast to silence this issue
{14, 0-1, 0-1, 0, 0, htd33},
^~~
static_cast<unsigned int>( )
Reported by: antoine (via bug 224669)
Obtained from: Arch Linux
Approved by: ports-secteam blanket
graphics/libraw: unbreak build with Clang 6 (C++14 by default)
In file included from src/libraw_cxx.cpp:5472:
src/../internal/libraw_x3f.cpp:1404:19: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:19: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:26: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:26: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:33: error: non-constant-expression cannot be narrowed from type
'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
int16_t c[3] = {offset,offset,offset};
^~~~~~
src/../internal/libraw_x3f.cpp:1404:33: note: insert an explicit cast to silence this issue
int16_t c[3] = {offset,offset,offset};
^~~~~~
static_cast<int16_t>( )
Reported by: antoine (via bug 224669)
Obtained from: upstream
Approved by: ports-secteam blanket
databases/mysql56-server: unbreak build with Clang 6 (C++14 by default)
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
mysql->options.extension->server_public_key_path != '\0')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
sql/sql_trigger.cc:195:5: error:
non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in
initializer list [-Wc++11-narrowing]
static_cast<int>(my_offsetof(class Table_triggers_list, definitions_list)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: antoine (via bug 224669)
Approved by: ports-secteam blanket
mail/jmba: don't auto-enable gettext
11.0 aarch64 used ld(1) from devel/binutils which implicitly passed
-L/usr/local/lib thus gettext ended up being detected, breaking build
due to underspecified USES=gettext-tools. The same issue would occur
for USES=localbase or USE_GCC=yes, so just force off external gettext.
Approved by: portmgr blanket
Approved by: ports-secteam blanket
Disallow forced FLAVOR as make argument.
This otherwise prevents properly setting FLAVOR to the default internally
since it is in a separate namespace in bmake that is read-only.
Approved by: portmgr (implicit)
Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.
The code I removed was wrong but it still achieved the proper effect of
removing FLAVOR from .MAKEOVERRIDES. This is still needed and now is
done properly without truncating away all of the other valuable variables.
Pointyhat to: bdrewery
Approved by: portmgr (implicit)
Stop truncating .MAKEOVERRIDES after the FLAVORS work.
There is no such variable as ${MAKEOVERRIDES}, only ${.MAKEOVERRIDES}, so this
code was simply truncating .MAKEOVERRIDES entirely which could cause performance
and other odd issues with OSREL and make recursion.
We don't want to leak FLAVOR to child sub-makes but that can be fixed later;
this code was not doing what it intended.
Approved by: portmgr (implicit)
sysutils/py-distro: Replace USES=python:2.7+ with USES=python
This aligns with the change made by antoine@ in r457499.
Reported by: jbeich
Approved by: ports-secteam (blanket)
science/InsightToolkit: Modify patch to use ${CMAKE_DL_LIBS}
${CMAKE_DL_LIBS} expands to "" on FreeBSD where the dl functions are
included in the Standard C library (libc), but to "dl" on operating
systems where the dl functions are part of libdl.
This change to the patch does not result in a change in contents of the
resulting package.
Reported by: jbeich
Approved by: ports-secteam (blanket)
Make smartmontools 6.6 compile with clang 6.0.0 and higher
Because clang 6.0.0 and higher default to -std=gnu++14, like gcc 6 and
higher, compiling smartmontools results in the following error:
os_freebsd.cpp:487:45: error: invalid suffix on literal; C++11 requires
a space between literal and identifier [-Wreserved-user-defined-literal]
else if (sscanf(dev, NVME_CTRLR_PREFIX"%d"NVME_NS_PREFIX"%d%c",
^
Fix this by adding spaces around the NVME_NS_PREFIX macro. This makes
the source C++14 compatible.
Approved by: portmgr (zi)
Approved by: samm@os2.kiev.ua (maintainer)
PR: 224826
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.