security/nmap: Fix build on 11i386, 11arm, 11arm64
Fix patches to configure scripts to only add -libverbs if found in base
PR: 242987
Reported by: Dries Michiels <driesm.michiels@gmail.com>
Reported by: garga
Approved by: ports-secteam (joneum)
New port: cad/cascade-compiler: Just-In-Time Compiler for Verilog from VMware Research
cad/cascade-compiler: Update g20200104 -> g20200105
Tests now pass.
Fix build on GCC-based systems:
CMake Error in src/CMakeLists.txt:
Target "libcascade" requires the language dialect "CXX17" (with compiler
extensions), but CMake does not know the compile flags to use to enable it.
Approved by: portmgr (tier-2 blanket)
cad/cascade-compiler: Update g20200105 -> g20200105.1
Approved by: secteam
geoipupdate: Add instructions for getting account ID/key
MaxMind now requires a (free) registered account to download any
of the databases, including the free ones. Registration and
download remain free--they just require an account now.
Approved by: portmgr (with hat)
Update to upstream version 42.0.0
Details:
- Bug fixes and enhancements, see
https://mkvtoolnix.download/doc/NEWS.md
including segfault in mkv reader and use
of uninitialised memory in MPEG stream
parser.
Approved by: ports-secteam (riggs)
mail/rspamd-devel: use luajit only on amd64, armv7, i386 and powerpc to fix build on other architectures
It's possible that there are other architectures that luajit works on, but I couldn't test it.
PR: 243059
Approved by: vsevolod (maintainer)
Approved by: portmgr (fix build blanket)
Mark as broken on powerpc64:
src/hwcap.c:20:3: error: #error "Platform not supported (only Linux supported at the moment)"
src/hwcap.c:23:3: error: #error "Platform not supported (no getauxval())"
Approved by: portmgr (tier-2 blanket)
Add compiler:c++11-lang to USES to try to fix build on GCC-based
systems:
CMake Error at CMakeLists.txt:112 (message): GCC version must be at least 6.1!
Unfortunately this merely gets to a failure later on in the build
for powerpc64.
Approved by: portmgr (tier-2 blanket)
net/asterisk-g72x: fix build of GCC architectures
C11 compiler is necessary:
In file included from codec_g72x.c:26:
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int':
/usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once
/usr/local/include/asterisk/lock.h:752: error: for each function it appears in.)
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test':
/usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
Approved by: portmgr (fix build blanket)
games/glest: fix build on GCC architectures
Building with GCC fails:
./mk/linux/glest_game/ai/ai_rule.cpp: In member function 'virtual bool Glest::Game::AiRuleMassiveAttack::test()':
./mk/linux/glest_game/ai/ai_rule.cpp:156:46: error: 'INT_MAX' was not declared in this scope
156 | return ai->beingAttacked(attackPos, field, INT_MAX);
| ^~~~~~~
./mk/linux/glest_game/ai/ai_rule.cpp:19:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
18 | #include "leak_dumper.h"
+++ |+#include <climits>
19 |
./mk/linux/glest_game/ai/ai_rule.cpp: In member function 'virtual bool Glest::Game::AiRuleExpand::test()':
./mk/linux/glest_game/ai/ai_rule.cpp:815:22: error: 'INT_MAX' was not declared in this scope
815 | int minDistance= INT_MAX;
| ^~~~~~~
./mk/linux/glest_game/ai/ai_rule.cpp:815:22: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
...failed C++ ./build/powerpc64-portbld-freebsd12.1/optimize/glest_game/ai/ai_rule.o ...
Include climits in ai_rule.cpp to fix it.
PR: 242766
Approved by: mmokhi (maintainer timeout)
Approved by: portmgr (fix build blanket)
net-p2p/namecoin: fix build on GCC architectures
It looks like some update caused src/httpserver.c to need to include deque when building with GCC. Otherwise it fails to compile with:
httpserver.cpp:74:10: error: 'deque' in namespace 'std' does not name a template type
74 | std::deque<std::unique_ptr<WorkItem>> queue;
| ^~~~~
httpserver.cpp:33:1: note: 'std::deque' is defined in header '<deque>'; did you forget to '#include <deque>'?
32 | #include <support/events.h>
+++ |+#include <deque>
33 |
httpserver.cpp: In member function 'bool WorkQueue<WorkItem>::Enqueue(WorkItem*)':
httpserver.cpp:92:13: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
92 | if (queue.size() >= maxDepth) {
| ^~~~~
| Enqueue
httpserver.cpp:95:9: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
95 | queue.emplace_back(std::unique_ptr<WorkItem>(item));
| ^~~~~
| Enqueue
httpserver.cpp: In member function 'void WorkQueue<WorkItem>::Run()':
httpserver.cpp:106:35: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
106 | while (running && queue.empty())
| ^~~~~
| Enqueue
httpserver.cpp:110:31: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
110 | i = std::move(queue.front());
| ^~~~~
| Enqueue
PR: 242710
Approved by: milios@ccsys.com (maintainer timeout)
Approved by: portmgr (fix build blanket)
net/asterisk-chan_sccp: fix build on GCC architectures
Use newer GCC:
You need at least gcc > 4.3. While your gcc has version:
4.2.1
Approved by: portmgr (fix build blanket)
irc/eggdrop[-devel]: Fix build with ssl other than base
PR: 242988
Submitted by: wcarson.bugzilla@disillusion.net
Approved by: portmgr (build fix blanket)
www/py-django[22|30]: Unbreak with MySQL, switch to py-mysqlclient
According to official docs, mysqlclient >=1.3.13 is the recommended
choice instead of outdated pyMySQLdb
PR: 243077
Submitted by: fluffy
Approved by: sunpoet (maintaner, python@)
Approved by: ports-secteam (joneum)
games/openomf: Unbreak build on i386 (broken in r511074)
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
external/dumb/dumb/src/it/itrender.c:721:11: error: always_inline function '_mm_setzero_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_setzero_ps();
^
external/dumb/dumb/src/it/itrender.c:722:10: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
data = _mm_cvtsi32_ss( temp1, currsample );
^
external/dumb/dumb/src/it/itrender.c:723:11: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp2 = _mm_cvtsi32_ss( temp1, prevsample );
^
external/dumb/dumb/src/it/itrender.c:724:13: error: always_inline function '_mm_loadu_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
impulse = _mm_loadu_ps( (const float *) &imp );
^
external/dumb/dumb/src/it/itrender.c:728:12: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_cvtsi32_ss( data, src [i] );
^
external/dumb/dumb/src/it/itrender.c:729:12: error: always_inline function '_mm_mul_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_mul_ps( temp1, impulse );
^
external/dumb/dumb/src/it/itrender.c:730:12: error: always_inline function '_mm_movehl_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp2 = _mm_movehl_ps( temp2, temp1 );
^
external/dumb/dumb/src/it/itrender.c:731:12: error: always_inline function '_mm_add_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_add_ps( temp1, temp2 );
^
external/dumb/dumb/src/it/itrender.c:734:12: error: always_inline function '_mm_add_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_add_ps( temp1, temp2 );
^
external/dumb/dumb/src/it/itrender.c:737:15: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
dst [i] += _mm_cvtss_si32( temp1 );
^
external/dumb/dumb/src/it/itrender.c:740:16: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
currsample = _mm_cvtss_si32( temp1 );
^
external/dumb/dumb/src/it/itrender.c:742:16: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
prevsample = _mm_cvtss_si32( temp1 );
^
1 warning and 12 errors generated.
http://beefy10.nyi.freebsd.org/data/113i386-default/521788/logs/errors/openomf-0.6.5_6.loghttp://beefy5.nyi.freebsd.org/data/120i386-default/521788/logs/errors/openomf-0.6.5_6.log
Approved by: ports-secteam blanket
audio/asterisk-espeak: fix build on GCC architectures
C11 compiler is required:
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int':
/usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once
/usr/local/include/asterisk/lock.h:752: error: for each function it appears in.)
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test':
/usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
Approved by: portmgr (build fix blanket)
audio/asterisk-flite: fix build on GCC architectures
C11 compiler is necessary:
In file included from /usr/local/include/asterisk/vector.h:22,
from /usr/local/include/asterisk/stringfields.h:178,
from /usr/local/include/asterisk/app.h:26,
from app_flite.c:42:
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int':
/usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once
/usr/local/include/asterisk/lock.h:752: error: for each function it appears in.)
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test':
/usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
Approved by: portmgr (fix build blanket)
x11-wm/sway: fix required wlroots version
Subproject directory not found and wlroots.wrap file not found
Subproject subprojects/wlroots is buildable: NO (disabling)
Dependency wlroots found: NO found '0.10.0' but need: '<0.10.0' ; matched: '>=0.9.0'
Run-time dependency wlroots found: NO (tried cmake)
meson.build:73:1: ERROR: Invalid version of dependency, need 'wlroots' ['<0.10.0'] found '0.10.0'.
Approved by: ports-secteam blanket
Attempt to fix build after removal of Linux c6.
- Replace build dependency on linux-c7-devtools with
USE_LINUX=devtools:build so it takes into account LINUX_DEFAULT.
- Install libusb.so.3 which is the SONAME of the library.
- Disable -Werror.
- Don't build profiling library. It's not installed and -pg and
-fstack-protector are incompatible.
- Don't let the build make parse /etc/make.conf because this may redefine
*FLAGS. The file is already handled by the ports tree.
- Create symbolic links instead of hard links.
devel/py-cfn-lint: Merge the two py27_RUN_DEPENDS
pathlib2 is needed for Python <= 3.4 according to setup.py
- Pet portlint and fix whitespace while here
Reported by: mat, portscan
Approved by: ports-secteam blanket
net-mgmt/netbox: Update to 2.6.9
* Remove two backported patches that are no longer required. [1]
* Backport a patch from upstream that fixes a regression when accessing the
API documentation.
* Update the WWW field.
Changelog:
Enhancements:
* Include direct link to rack elevations on site view
* Move virtual machine results near devices in global search
* Added copy button for API tokens
Bug Fixes:
* Prevent the deletion of a virtual chassis when a cross-member LAG
is present
* Respect custom field default values when creating objects via the REST API
* Fix exception on password change page for local users [1]
* Fix unable to assign IP to interface [1]
Approved by: ports-secteam (joneum)
games/eboard: fix build on GCC architectures
Use C++11 compiler and respect CXXFLAGS.
The compiler check is wrong so remove it.
Approved by: portmgr (fix build blanket)
Fix up file permissions in Qt ports.
Because qt-dist.mk sets EXTRACT_AFTER_ARGS, the framework-standard
--no-same-owner and --no-same-permissions aren't added. That means
that the files end up in packages with the permissions from the tarball,
and in particular that official packages contain group-writable (wheel)
includes (C++ headers) and other files.
This was reported in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227027
and fixed in 465911 (18 months ago) but the move from bsd.qt.mk
to Uses/qt-dist.mk lost those settings again. Re-add them to
the Uses/ file to improve package security.
(The problem does not seem to be present in my local poudriere builds)
PR: 227027
Reported by: grarpamp@gmail.com
Reviewed by: tcberner
Approved by: tcberner
Differential Revision: https://reviews.freebsd.org/D22999
Approved by: portmgr (joneum)
x11-toolkits/wlroots: unbreak nesting after r521656
An example affected use case would be running Cage on Sway in order to
contain multiple fullscreen/kiosk Firefox instances, capitalizing
on minimalistic UI.
Approved by: ports-secteam blanket
ftp/lftp: fix build on GCC architectures
C++11 compiler is necessary:
In file included from FileAccess.cc:1029:
ftpclass.h:123: error: ISO C++ forbids initialization of member 'cepr_supported'
ftpclass.h:123: error: making 'cepr_supported' static
ftpclass.h:123: error: ISO C++ forbids in-class initialization of non-const static member 'cepr_supported'
Approved by: portmgr (build fix blanket)
databases/percona57-*: Fix build for i386
Make build-script assume that FreeBSD's Clang doesn't
have "atomic_*" functions builtin implemented on i386
While here, allow to build on DragonFly BSD and
drop "-fabi-version=2" from C/CXX flags
Reported by: pkg-fallout
Approved by: ports-secteam blanket
math/gretl: fix build on GCC architectures
Since the last upgrade, gretl requires C11:
../lib/src/bhhh_max.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Lval'
Fix this by adding USES=compiler:c11 and replacing OPENMP_USES=compiler:openmp with OPENMP_USE=GCC=yes. This sets the correct CC.
PR: 243027
Approved by: yuri (maintainer)
Approved by: portmgr (fix build blanket)
x11/mate-applets: fix build on non-x86
This is basically the same change to pkg-plist as the one done in r504600, which was later backed out for unknown reasons in r520859.
Already approved via maintainer timeout in the original PR.
Tested to fix packaging on powerpc64 and not break on amd64.
PR: 238323
Approved by: gnome (maintainer timeout)
Pointy hat: ericbsd
Approved by: portmgr (fix packaging blanket)
net/quiterss: Update to 0.19.2
Changelog: https://quiterss.org/en/article/1506
* Added: App style: dark
* Fixed: Problems with msvcp140.dll and vcruntime140.dll (Windows)
* Fixed: Images are not displayed in some feeds
* Fixed: Sometimes news filter did not work when updating feeds
PR: 242904
Submitted by: Loïc Bartoletti <lbartoletti@tuxfamily.org> (maintainer)
Approved by: ports-secteam (blanket)