Commit Graph

495041 Commits

Author SHA1 Message Date
Kubilay Kocak
88f033168f MFH: r522753 devel/py-generate: Fix MASTER_SITES, Remove BROKEN [1]
While I'm here, address other ports bugs/issues [2]:

  - gmake is not required (build uses distutils/setuptools:Extension)
  - patch setup.py:version (was 2.2) to match PORTVERSION (2.8)
  - Remove unecessary DISTNAME override
  - Strip installed extension/library
  - Correctly declare USES=python:<version-spec>, limited to 2.7. Fails to
    import on Python 3:

      ImportError: ... /site-packages/generate.so: Undefined symbol "PyString_FromString

PR:		241966
Submitted by:	D'Arcy J.M. Cain <darcy druid net> [1]
Approved by:	portmgr (blanket(s): ports compliance, dependencies) [2]

Approved by:	ports-secteam ((blanket(s): build (fetch) fix, ports compliance) [1][2]
2020-01-12 05:35:01 +00:00
Piotr Kubaj
310cd5cd03 MFH: r522745
audio/ardour5: fix build on powerpc64

_POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it.

On ELFv2 lld can't link it, throws errors like:
ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC
>>> defined in libs/ardour/cycle_timer.cc.1.o
>>> referenced by cycle_timer.cc
>>>               libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8)

Recompiling with -fPIC doesn't help, so use GNU ld there.

PR:		243281
Approved by:	portmgr (blanket: build fix)
2020-01-12 03:00:45 +00:00
Sunpoet Po-Chuan Hsieh
81bc69f68c MFH: r522608
Fix build on powerpc64

PR:		243241
Submitted by:	pkubaj

Approved by:	ports-secteam (blanket)
2020-01-11 12:48:14 +00:00
Dima Panov
fd211d74ad MFH: r522628
net-mgmt/observium: unbreak and update to 19.8 community release

Community edition release 19.8 from 2019-08-22

PR:		243031
Submitted by:	fluffy
Approved by:	maintainer timeout (>1w)

Approved by:	ports-secteam (joneum)
2020-01-11 12:18:08 +00:00
Dima Panov
03fc8c2708 MFH: r522563
security/botan2: update to 2.13.0 release

* Fix a bug introduced in 2.12.0 where TLS::Channel::is_active and TLS::Channel::is_closed
could simultaneously return true. (GH #2174 #2171)
* Use std::shared_ptr instead of boost::shared_ptr in some examples. (GH #2155)
* Add Roughtime client (GH #2143 #1842)
* Add support for XMSS X.509 certificates (GH #2172)
* Add support for X.509 CRLs in FFI layer and Python wrapper (GH #2213)

https://botan.randombit.net/news.html

PR:		243239
Submitted by:	maintainer
Approved by:	maintainer

Approved by:	ports-secteam (joneum)
2020-01-11 12:16:33 +00:00
Rene Ladan
01c6a28f29 MFH: r522674
erlang/cuttlefish: fix build

PR:		238279 [1]
PR:		238676 [2]
Submitted by:	fbsdports@westryn.net [1]
Submitted by:	dewayne@heuristicsystems.com.au [2]

Approved by:	ports-secteam (joneum)
2020-01-11 11:57:18 +00:00
Tobias Kortkamp
ff57b6faa1 MFH: r522642
devel/shfmt: Update to v3.0.1

Changes:	https://github.com/mvdan/sh/releases/tag/v3.0.1

Approved by:	ports-secteam crash fix blanket
2020-01-11 09:57:31 +00:00
Tobias Kortkamp
ede3a3d5fb MFH: r522316 r522638 r522639
lang/rust: Simplify do-configure and garbage collect files/config.toml

lang/rust: fix powerpc64 elfv2 bootstrap

Apparently there were some issues with the previous one.

PR:		243253
Submitted by:	mikael.urankar@gmail.com
Reported by:	jhibbits, pkubaj
Tested by:	pkubaj

lang/rust: increase build verbosity and produce better build logs

Approved by:	ports-secteam blanket
2020-01-11 09:32:58 +00:00
Mark Linimon
7b06501068 MFH: r522323
net-p2p/c-lightning: fix bitcoin-cli exec setup

lightningd does execute bitcoin-cli internally during runtime.

Fix two problems with that:

* The bitcoin-cli executable is usually located in
  /usr/local/bin/bitcoin-cli but service(8) would remove /usr/local/bin
  from PATH before executing our rc script /usr/local/etc/rc.d/lightningd
  and so the lightningd daemon would inherit a PATH that does not contain
  bitcoin-cli. To fix this give the full path to bitcoin-cli to lightningd.

* bitcoin-cli(1) tries to create its datadir when it starts if it does not
  exist. By default that is ${HOME}/.bitcoin. service(8) would set HOME=/
  and if / is mounted read-only, then this creation would fail. Because we
  don't want this directory created (it is not necessary and remains empty)
  tell lightningd to execute
  bitcoin-cli --datadir=/some/directory/that/already/exists.

Also, append ${lightningd_extra_args} to the lightingd arguments. This was
forgotten in the initial commit and setting lightningd_extra_args would have
had no effect.

Reported by:	https://github.com/bitcoin-software

Approved by:	portmgr ("fix broken ports")
2020-01-11 08:00:17 +00:00
Christoph Moench-Tegeder
955bac7527 MFH: r522569
mail/thunderbird: update to 68.4.1

https://www.thunderbird.net/en-US/thunderbird/68.4.1/releasenotes/

Approved by:	portmgr (blanket: web browser alike)
2020-01-10 13:35:46 +00:00
Piotr Kubaj
ecdd0ea790 MFH: r522567
games/arx-libertatis: fix build on GCC architectures

OpenAL needs C++11 compiler:
  /usr/local/lib/libopenal.so: undefined reference to
  `std:🧵:join()@GLIBCXX_3.4.11'

Approved by:	portmgr (fix build blanket)
2020-01-10 12:47:29 +00:00
Jochen Neumeister
879a904a25 MFH: r522436
databases/mysql80-{client, server}: Update to latest release 8.0.18

switch patch-files to mysql80-server to make it easy for maintain.

Bugfix:
- CMake now enables use of fastcov if it is available. fastcov is faster than lcov or gcov. This requires GCC and gcov versions of 9 or higher.
- The DISABLE_SHARED CMake option was unused and has been removed.
- The CMake code to find Protobuf executables now works on platforms that split these into multiple packages.
- The new ADD_GDB_INDEX CMake option determines whether to enable generation of a .gdb_index section in binaries, which makes loading them in a debugger faster. The option is disabled by default. It has no effect if a linker other than lld or GNU gold is used.
- For the INSTALL_LAYOUT CMake option, the SLES and WIN option values were not used and have been removed.
- The max_prepared_stmt_count system variable maximum value has been increased from 1 million (1,048,576) to 4 million (4,194,304). The default value remains unchanged at 16,382.
- MySQL 8.0 no longer supports building using wolfSSL. All MySQL builds now use OpenSSL.
- The RE2 library is no longer used by MySQL. The library is no longer bundled with source distributions and the WITH_RE2 CMake option is obsolete.

More Infos: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-18.html

A big thanks to @fluffy for his help with this update

Security:	fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (wit hat)
2020-01-09 06:41:44 +00:00
Jochen Neumeister
ffdf5b4a24 MFH: r521874
databases/mysql56-{client, server}: Update to latest release 5.6.46

Bugfix:
 -  Improper locking during storage engine initialization could cause a server exit.
 - A query with a WHERE clause whose predicate contained a numeric value in scientific notation was not handled correctly.
 - VS2019 produced compilation errors with debug compilation selected due to use of the /ZI flag. Now /Z7 is used instead.
 - For MySQL Community Edition, the cipher order specified by the client was used in preference to the order on the server side, unless the server was confi
 - Password masking was incomplete for SHOW PROCESSLIST and some INFORMATION_SCHEMA and Performance Schema tables.
 - The -DWITH_EXAMPLE_STORAGE_ENGINE=1 CMake option was ignored but should not have been. If -DWITH_EXAMPLE_STORAGE_ENGINE=0 is given, the EXAMPLE storage e

More Info: https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-46.html

Approved by:	mmokhi (maintainer, implicit)
Security:	fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-01-09 06:40:26 +00:00
Jan Beich
b7370377d5 MFH: r522462
security/nss: update to 3.49

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.49_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_49_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
Approved by:	ports-secteam blanket (required by Firefox 73)
2020-01-08 22:53:37 +00:00
Piotr Kubaj
bc0620b247 MFH: r522460
multimedia/obs-studio: fix build on powerpc64

Merge upstream commit to use GCC's SSE->AltiVec translation. Since it depends on compiling with GCC, it only works on ELFv1. Hopefully it will be possible to build it on ELFv2 in the future.

Also use luajit only where it's actually available. Since it's optional, the port builds anyway.

PR:		243199
Approved by:	yuri (maintainer)

Approved by:	portmgr (fix build blanket)
2020-01-08 21:40:19 +00:00
Piotr Kubaj
01a91073ad MFH: r522457
net/xrdp: fix build on GCC architectures

C11 compiler is necessary:
irp.h:33: error: redefinition of typedef 'XFUSE_INFO'
chansrv_fuse.h:47: error: previous declaration of 'XFUSE_INFO' was here

Approved by:	portmgr (fix build blanket)
2020-01-08 19:37:46 +00:00
Jan Beich
942fc88c87 MFH: r522454
www/firefox-esr: update to 68.4.1

Changes:	https://www.mozilla.org/firefox/68.4.1/releasenotes/
Security:	CVE-2019-17026
Approved by:	ports-secteam blanket
2020-01-08 19:19:15 +00:00
Jan Beich
44170b9932 MFH: r522453
www/firefox: update to 72.0.1

Changes:	https://www.mozilla.org/firefox/72.0.1/releasenotes/
PR:		242605
Security:	CVE-2019-17026
Approved by:	ports-secteam blanket
2020-01-08 19:18:45 +00:00
Jan Beich
5763aa5e93 MFH: r522431
x11-wm/sway: update to 1.3.r2

Changes:	https://github.com/swaywm/sway/releases/tag/1.3-rc2
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam blanket (reliability fixes)
2020-01-08 16:03:55 +00:00
Kai Knoblich
87e0efa37e MFH: r522268 r522343
net-mgmt/netbox: Update to 2.6.11

* Remove the patch that fixed a regression when accessing the API
  documentation as it's no longer required. [1]

Changelog since 2.6.9:

Enhancements:
* Add ability to move inventory items between devices
* Extend admin UI to allow deleting old report results
* Add assigned_to_interface filter for IP addresses
* Fail gracefully on custom link rendering exception
* Provide request context when executing custom scripts
* Add date/time picker widgets
* Enable partial search for inventory items
* Optimize size of pages containing a dynamic selection field
* Allow filtering console/power/interface connections by device ID

Bug Fixes:
* Restrict queryset of chained fields when form validation fails
* Include A/Z termination sites for circuits in global search
* Scrolling to target (hash) did not account for the header size
* Fix AttributeError exception in API docs [1]
* Filter platform by manufacturer when editing devices
* Fix filtering of racks by group on device list
* Fix exception when editing a device bay (regression since 2.6.7)
* Fix API-driven filter field rendering (regression since 2.6.10)
* Add missing region filters for multiple objects

https://github.com/netbox-community/netbox/releases/tag/v2.6.11
https://github.com/netbox-community/netbox/releases/tag/v2.6.10

net-mgmt/netbox: Relax RUN_DEPENDS

* The 2020Q1 branch has 0.24.0 of www/py-dj22-django-taggit thus relax
  its version requirement of the RUN_DEPENDS to avoid a build failure there.

  Although net-mgmt/netbox requires the 1.1.0 release of
  www/py-dj22-django-taggit (pinned with "==" by upstream), it runs fine
  with either 0.24.0 (in 2020Q1) or 1.2.0 (since r521999).

Approved by:	ports-secteam (joneum)
		ports-secteam build fix blanket (remaining part)
2020-01-07 16:30:51 +00:00
Jan Beich
31f5db3971 MFH: r522341
emulators/{citra,yuzu}: integrate cubeb patch to simplify updates

Approved by:	ports-secteam blanket
2020-01-07 15:57:23 +00:00
Dan Langille
ee434d2493 MFH: r522307
Add missing dependency: devel/p5-Class-Accessor

re: https://metacpan.org/source/DLO/Proc-BackOff-0.02/Build.PL#L11

Encountered this error:

	Base class package "Class::Accessor" is empty.
	    (Perhaps you need to 'use' the module which defines that package first,
	    or make that module available in @INC (@INC contains: /usr/local/sbin/../lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30).
	 at /usr/local/lib/perl5/site_perl/Proc/BackOff.pm line 4.

Approved by:	portmgr blanket
2020-01-07 12:38:59 +00:00
Piotr Kubaj
ac8ed628a2 MFH: r522328
x11-wm/compiz: depend on nvidia-settings only on amd64 and i386

Nvidia drivers are not available on other architectures.

PR:		242832
Approved by:	freebsd-ports@dan.me.uk (maintainer timeout)
Approved by:	portmgr (fix build blanket)
2020-01-07 11:49:20 +00:00
Piotr Kubaj
2dc4c0d9f4 MFH: r522326
net-p2p/monero-cli: fix build on non-x86

Architectures that don't have libunwind available should disable stack trace.

Otherwise, the following linking error is encountered:
/usr/local/bin/ld: src/common/libcommon.a(stack_trace.cpp.o): in function `tools::log_stack_trace(char const*)':
stack_trace.cpp:(.text+0x71c): undefined reference to `el::base::debug::StackTrace::generateNew()'
/usr/local/bin/ld: stack_trace.cpp:(.text+0x72c): undefined reference to `el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)'
collect2: error: ld returned 1 exit status

PR:		242846
Approved by:	vd (maintainer timeout)
Approved by:	portmgr (fix build blanket)
2020-01-07 11:46:24 +00:00
Jan Beich
afdffb3e3a MFH: r522304
multimedia/libvpx: update COMMENT

Only decoder and encoder are installed. Other features are not
maintained by the port. Besides, ffmpeg provides alternative decoder
while svt-vp9 provides alternative encoder.

Approved by:	ports-secteam blanket
2020-01-06 23:18:56 +00:00
Adam Weinberger
e44c39623f MFH: r522297
geoipupdate: Take out unusable URL from instructions

Reported by:	Dewayne Geraghty

Approved by:	portmgr (with hat)
2020-01-06 23:02:30 +00:00
Jan Beich
bccee4402d MFH: r522289
multimedia/libvpx: fix RTCPU=OFF and POSTPROC=off

Approved by:	ports-secteam blanket
2020-01-06 22:39:46 +00:00
Jan Beich
1d680540ad MFH: r522287
multimedia/libvpx: document current Firefox limit

See https://bugzilla.mozilla.org/show_bug.cgi?id=1225221

Approved by:	ports-secteam blanket
2020-01-06 22:39:14 +00:00
Kai Knoblich
9ebeeae36c MFH: r522267
net-mgmt/cacti: Update to 1.2.8

* Sort pkg-plist to make future patching/comparing easier.

While I'm here:

* Use ${COPYTREE_SHARE} to correctly install a whole set of files instead of
  using "cp -R".

* Also remove a very outdated test was required when updating to the 0.8.7a
  release of net-mgmt/cacti.  It was introduced +12 years ago in r203859 and
  is no longer required nowadays.

Changelog:

https://github.com/Cacti/cacti/releases/tag/release%2F1.2.8

PR:		242834
Submitted by:	Michael Muenz <m.muenz@gmail.com> (based on)
Approved by:	maintainer timeout (14 days)
Security:	86224a04-26de-11ea-97f2-001a8c5c04b6

Approved by:	ports-secteam (joneum)
2020-01-06 22:35:01 +00:00
Chris Rees
08dcf78035 MFH: r522277
x11/cde: update to 2.3.1 and unbreak

Merged, as the original CDE in this branch is broken anyway.

PR:		ports/242663
Submitted by:	mikael.urankar@gmail.com

Approved by:	portmgr (blanket, build fixes)
2020-01-06 21:33:52 +00:00
Jan Beich
e4aeb6eddd MFH: r522235
x11-toolkits/wlroots: update to 0.9.1

Changes:	https://github.com/swaywm/wlroots/releases/tag/0.9.1
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam blanket (reliability fixes)
2020-01-06 14:14:20 +00:00
Jan Beich
511dd2b92c MFH: r522232
x11-wm/cage: fix DRM session after r521656

After VT switch nothing was rendered. From debug log before/after:

 [backend/drm/drm.c:1485] Requesting modeset for 'DP-1'
+[backend/drm/drm.c:697] Modesetting 'DP-1' with '3840x2160@60000 mHz'
+[backend/drm/drm.c:592] Initializing renderer on connector 'DP-1'
+[GLES2] FS SIMD8 shader: 5 inst, 0 loops, 24 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
+[GLES2] FS SIMD16 shader: 5 inst, 0 loops, 34 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 80 to 48 bytes.
+[GLES2] VS SIMD8 shader: 28 inst, 0 loops, 116 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 448 to 336 bytes.
+[GLES2] FS SIMD16 shader: 2 inst, 0 loops, 0 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 32 to 32 bytes.

Approved by:	ports-secteam blanket
2020-01-06 14:01:22 +00:00
Matthias Fechner
b47bb99222 MFH: r521948
Security upgrade to 12.6.2.
Changelog:
https://about.gitlab.com/blog/2020/01/02/security-release-gitlab-12-6-2-released/

Security:	01bde18a-2e09-11ea-a935-001b217b3468

Approved by:	ports-secteam (joneum)
2020-01-06 10:03:33 +00:00
Ben Woods
8c74977f84 MFH: r522159
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)
2020-01-06 09:48:19 +00:00
Ben Woods
b88854ab53 MFH: r522081
net/remmina: Fix build with NLS option disabled

PR:		242991
Submitted by:	Trond.Endrestol@ximalas.info

Approved by:	ports-secteam (joneum)
2020-01-06 09:46:14 +00:00
Yuri Victorovich
1ca077dcab MFH: r522114 r522170 r522177 r522178
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
2020-01-06 01:52:57 +00:00
Piotr Kubaj
a3f3e81eeb MFH: r522172
games/xmoto: fix build on GCC architectures

Builds fine using new GCC.

Approved by:	portmgr (fix build blanket)
2020-01-05 23:51:06 +00:00
Adam Weinberger
b067e822dc MFH: r522160
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)
2020-01-05 16:18:25 +00:00
Thomas Zander
c9966ec2fa MFH: r522141
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)
2020-01-05 14:58:06 +00:00
Piotr Kubaj
84fb450cc7 MFH: r522137
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)
2020-01-05 10:59:19 +00:00
Tobias Kortkamp
32d85a349a MFH: r522111
www/newsboat: Bump openssl-sys crate to fix build with LibreSSL 3.x

libc bump is not really needed but mirrors
d9f143bf5d

PR:		242826
Reported by:	p5B2E9A8F@t-online.de
Submitted by:	mt@markoturk.info (maintainer)
Tested by:	w.schwarzenfeld@utanet.at

Approved by:	ports-secteam build fix blanket
2020-01-05 06:00:05 +00:00
Mark Linimon
d44594ee00 MFH: r522107
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)
2020-01-05 04:49:42 +00:00
Mark Linimon
a53a1fa32a MFH: r522080
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)
2020-01-05 04:07:04 +00:00
Piotr Kubaj
b3e2a56f24 MFH: r522067
comms/uhd: unbreak on powerpc64

Builds fine.

Approved by:	portmgr (fix build blanket)
2020-01-04 23:35:42 +00:00
Piotr Kubaj
5233b904e8 MFH: r522062
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)
2020-01-04 22:53:45 +00:00
Piotr Kubaj
c342330127 MFH: r522057
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)
2020-01-04 20:24:19 +00:00
Piotr Kubaj
19ebbd20bb MFH: r522054
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)
2020-01-04 20:20:49 +00:00
Piotr Kubaj
a32a6ea187 MFH: r522050
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)
2020-01-04 20:05:07 +00:00
Danilo G. Baio
20f2e26262 MFH: r522048
irc/eggdrop[-devel]: Fix build with ssl other than base

PR:		242988
Submitted by:	wcarson.bugzilla@disillusion.net

Approved by:	portmgr (build fix blanket)
2020-01-04 19:41:42 +00:00
Dima Panov
e377d88a96 MFH: r522041
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)
2020-01-04 17:17:04 +00:00