FreeBSD/ports 512537head/math/p5-Math-Int128 Makefile

Remove hardcoding from 2013 and replace it with the modern equivalent.
Found while working on powerpc64.

Tested on: amd64, powerpc64.

Approved by:    portmgr (tier-2 blanket)

FreeBSD/src 352584head/sys/arm64/arm64 pmap.c

In case a translation fault on the kernel address space occurs from
within a critical section, we must perform a lock-free check on the
faulting address.

Reported by:    andrew
Reviewed by:    andrew, markj
X-MFC with:     r350579
Differential Revision:  https://reviews.freebsd.org/D21685

FreeBSD/ports 512536head/games Makefile tome4-beta, head/games/tome4 Makefile

add new port: games/tome4-beta

This adds a beta of 1.6 patch for games/tome4

It's a major update. Read more in announcements:
https://te4.org/blogs/darkgod/2019/04/news/whats-next-tales-majeyal-lot-and-then-some
https://te4.org/blogs/darkgod/2019/09/news/tales-majeyal-16-beta1-upon-you

FreeBSD/src 352583head/sys/kern subr_lock.c

lockprof: use CPUFOREACH and drop always false lp_cpu NULL checks

Sponsored by:   The FreeBSD Foundation

FreeBSD/ports 512535head/devel/openmp distinfo Makefile, head/devel/openmp/files patch-bug32279 patch-runtime_cmake_LibompHandleFlags.cmake

devel/openmp: update to 9.0.0

- Connect tests to the framework to help QA remaining patches
- Force rebuild all consumers after https://reviews.llvm.org/D59783

Changes:        
http://llvm.org/viewvc/llvm-project/openmp/tags/RELEASE_900/final/?view=log
ABI:           https://abi-laboratory.pro/tracker/timeline/llvm_openmp/

FreeBSD/ports 512534head/security/clamsmtp Makefile distinfo

security/clamsmtp: Unbreak by switching to new master site

PR:            240731
Submitted by:   Yasuhiro KIMURA <yasu at utahime.org>

FreeBSD/ports 512533head/graphics/rapid-photo-downloader Makefile pkg-descr, head/graphics/rapid-photo-downloader/files patch-raphodo_storage.py patch-raphodo_rapid.py

New port: graphics/rapid-photo-downloader

Rapid Photo Downloader imports photos and videos from cameras, phones,
memory cards and other devices at high speed. It can be configured to
rename photos and videos with meaningful filenames you specify. It can
also back up photos and videos as they are downloaded. It downloads
from and backs up to multiple devices simultaneously.

WWW: http://www.damonlynch.net/rapid/

PR:            240601
Submitted by:   m.ne at gmx.net
Reviewed by:    koobs

FreeBSD/ports 512532head/sysutils Makefile p5-File-Rename, head/sysutils/p5-File-Rename Makefile pkg-descr

New port: sysutils/p5-File-Rename

rename renames the filenames supplied according to the rule specified as the
first argument. The perlexpr argument is a Perl expression which is expected
to modify the $_ string in Perl for at least some of the filenames specified.
If a given filename is not modified by the expression, it will not be renamed.
If no filenames are given on the command line, filenames will be read via
standard input.

WWW: https://metacpan.org/release/File-Rename

PR:            240728
Submitted by:   Vidar Karlsen <vidar at karlsen.tech>

FreeBSD/ports 512531head/games/tome4 Makefile

clean up games/tome4 port

- reorder sections
- remove LLD_UNSAFE, not needed after openal update
- prepare for a slave port

FreeBSD/ports 512530head/audio/grip Makefile

Fix build on GCC-based systems:

  /usr/local/lib/libgraphite2.so.3: undefined reference to 
`__cxa_throw_bad_array_new_length at CXXABI_1.3.8'

Approved by:    portmgr (tier-2 blanket)

FreeBSD/ports 512529head/astro/routino Makefile

Fix build on GCC-based installations:

  xmlparse.c:1244: error: #pragma GCC diagnostic not allowed inside functions

Approved by:    portmgr (tier-2 blanket)

FreeBSD/ports 512528head/audio/oss pkg-message Makefile, head/audio/oss/files patch-setup_FreeBSD_sbin_soundon

audio/oss: Improve handling when sound.ko is compiled into the kernel.

Now, soundon checks for its presence and fails with an appropriate error.

While here, add it to pkg-message.

I use this still as I have a Xonar D2X which FreeBSD's drivers don't support,
so I'll take maintainership.

PR:            ports/240200

FreeBSD/src 352582head/sys/kern imgact_elf.c

Make non-ASLR pie base tunable.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

FreeBSD/src 352581head/sys/amd64/amd64 pmap.c

amd64 pmap: Fix formats for 64bit addresses in ddb and sysctl output.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D21737

FreeBSD/ports 512527head/math/rumur distinfo Makefile

math/rumur: Update 2019.08.18 -> 2019.09.15

Reported by:    portscout

FreeBSD/src 352580head/cddl/contrib/opensolaris/lib/libzfs/common libzfs_sendrecv.c

Fix a regression introduced in r344601, and work properly with the
-v and -n options.

PR:            240640
Reported by:    Andriy Gapon <avg at FreeBSD.org>
Reviewed by:    avg
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D21709

FreeBSD/ports 512526head/devel/qtcreator pkg-plist Makefile

devel/qtcreator: Fix packaging when using GCC

utils-eventcode-members.html and utils-eventcode.html don't exist when qtcreator is built 
with GCC.

PR:             240298
Approved by:    tcberner (maintainer, mentor)

FreeBSD/ports 512525head/net-p2p/litecoin/files patch-src_crypto_scrypt.cpp

net-p2p/litecoin: fix build on big-endian architectures

Include sys/endian.h in src/crypto/scrypt.cpp, big-endian architectures need it:
crypto/scrypt.cpp:157:3: error: 'be32enc' was not declared in this scope
  157 |   be32enc(ivec, (uint32_t)(i + 1));
      |   ^~~~~~~
crypto/scrypt.cpp: In function 'void scrypt_1024_1_1_256_sp_generic(const char*, char*, 
char*)':
crypto/scrypt.cpp:269:10: error: 'le32dec' was not declared in this scope
  269 |   X[k] = le32dec(&B[4 * k]);
      |          ^~~~~~~
crypto/scrypt.cpp:285:3: error: 'le32enc' was not declared in this scope
  285 |   le32enc(&B[4 * k], X[k]);
      |   ^~~~~~~

PR:            240695
Approved by:    hsw at bitmark.com (maintainer), linimon (mentor)

FreeBSD/ports 512524head/audio/protracker Makefile

audio/protracker: fix build on GCC architectures

Add USE_CSTD=c99 to fix build:
/wrkdirs/usr/ports/audio/protracker/work/protracker-2.3d.r191/src/pt_visuals.c:1272: 
error: 'for' loop initial declaration used outside C99 mode

PR:            240703
Approved by:    portmgr (blanket: build fix), linimon (mentor)

FreeBSD/ports 512523head/science/nest distinfo Makefile

science/nest: fix build with GCC-based architectures

nestkernel/simulation_manager.h needs include sys/time.h for timeval struct when compiling 
with GCC.

PR:            239482
Approved by:    yuri (maintainer), linimon (mentor)

FreeBSD/ports 512522head/graphics Makefile py-colour, head/graphics/py-colour Makefile distinfo

New port: graphics/py-colour

Converts and manipulates common colour representation (RGB, HSL, web, ...)

WWW: http://github.com/vaab/colour

PR:            240604
Submitted by:   m.ne at gmx.net
Reviewed by:    koobs

FreeBSD/ports 512521head/net/cjdns distinfo Makefile

net/cjdns: Update 20.3 -> 20.4

Reported by:    portscout

FreeBSD/ports 512520head/audio/bsequencer-lv2/files patch-src_ButtonBox.hpp

audio/bsequencer-lv2: fix build on GCC architectures

src/ButtonBox.hpp needs include sys/types.h for uint.

PR:            240663
Approved by:    yuri (maintainer), linimon (mentor)
Differential Revision:  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240663

FreeBSD/ports 512519head/dns/amass distinfo Makefile

dns/amass: Update 3.0.27 -> 3.1.6

Reported by:    portscout

FreeBSD/ports 512518head/databases/tiledb Makefile

databases/tiledb: Fix build on non-x86 (due to -Werror)

Build on non-x86 currently fails with:
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:280:4: 
error: #warning Hardware-acceleration detection not implemented for the target 
architecture. Only the generic shuffle/unshuffle routines will be available. [-Werror=cpp]
  280 |   #warning Hardware-acceleration detection not implemented for the target 
architecture. Only the generic shuffle/unshuffle routines will be available.
      |    ^~~~~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc: In 
function 'blosc::shuffle_implementation_t blosc::get_shuffle_implementation()':
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:290:22: 
error: unused variable 'cpu_features' [-Werror=unused-variable]
  290 |   blosc_cpu_features cpu_features = blosc_get_cpu_features();
      |                      ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Don't add -Werror to fix build.

PR:            240618
Approved by:    portmgr (blanket: build fix), linimon (mentor)

FreeBSD/src 352579head/sys/kern kern_timeout.c

Allocate callout wheel from the respective memory domain.

MFC after:      1 week

FreeBSD/ports 512517head/devel/entt distinfo Makefile

devel/entt: Update 3.1.0 -> 3.1.1

Reported by:    portscout

FreeBSD/ports 512516head/devel/emscripten distinfo Makefile

devel/emscripten: Update 1.38.43 -> 1.38.45

Reported by:    portscout

FreeBSD/ports 512515head/math/py-gau2grid distinfo Makefile

math/py-gau2grid: Update 1.3.1 -> 2.0.1

Reported by:    portscout

FreeBSD/ports 512514head/math/gau2grid distinfo Makefile

math/gau2grid: Update 1.3.1 -> 2.0.1

Reported by:    portscout

FreeBSD/ports 512513head/sysutils/consolehm Makefile, head/sysutils/consolehm/files patch-chm.c

sysutils/consolehm: fix build on non-x86

outb requires including machine/pio.h and sys/types.h (for uint8_t).

Approved by:    linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21633

FreeBSD/ports 512512head/games/starfighter Makefile

games/starfighter: fix build on GCC architectures

Set USE_CSTD=c99 to fix build issue when using base GCC:
gfx.c:922: error: 'for' loop initial declaration used outside C99 mode

PR:            240691
Approved by:    portmgr (blanket: build fix), linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21722

FreeBSD/ports 512511head/net/ulxmlrpcpp Makefile, head/net/ulxmlrpcpp/files patch-ulxmlrpcpp__contrib__ssl_connection.cpp patch-ulxmlrpcpp__ulxr_ssl_connection.cpp

net/ulxmlrpcpp: fix build on GCC architectures

Use new GCC because of:
ulxr_value.cpp:895: error: 'snprintf' is not a member of 'std'

Also add include cstring because of:
ulxr_ssl_connection.cpp: In function 'int ulxr::password_cb(char*, int, int, void*)':
ulxr_ssl_connection.cpp:63:3: error: 'strcpy' was not declared in this scope

63 |   strcpy(buf, pass.c_str());
   |   ^~~~~~

Approved by:    linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21720

FreeBSD/ports 512510head/security/arirang Makefile

security/arirang: fix build on GCC architectures

Add USES=compiler:c11, base GCC can't build this port.

Only add -L${OPENSSLLIB} when OpenSSL not from base is used to avoid linking to base 
libstdc++.

Approved by:    linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21719

FreeBSD/ports 512509head/net-im/pidgin-sipe Makefile distinfo

net-im/pidgin-sipe: update to 1.24.0, pet portlint

Update the port to 1.24.0.

Add explicit dependencies which are installed and linked to anyway for libdbus, gstreamer1 
and farstream.

Add USES=gnome.

Pet portlint by moving some entries.

Fix OCS2005 option, which had misspelled DESC and CONFIGURE_ENABLE entries, so it didn't 
even work.

Remove unneeded patch.

PR:            240347
Approved by:    john.c.prather at gmail.com (maintainer timeout), tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D21714

FreeBSD/ports 512508head/net-im/farstream Makefile distinfo

net-im/farstream: merge a patch necessary for Lync calls, pet portlint

Merge 
https://gitlab.collabora.com/farstream/farstream/commit/11dde55cbaf5179e8e1885cf1483e538a8d5a4a9.patch 
to fix Lync calls with net-im/pidgin-sipe.

Add USES=localbase:ldflags.

Move some entries to fix portlint issues.

PR:            240348
Approved by:    gnome (maintainer timeout), tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D21713

FreeBSD/ports 512507head/audio/fasttracker2 Makefile

audio/fasttracker2: fix build with base GCC

Add USE_CSTD=c99 to fix build with base GCC:
/wrkdirs/usr/ports/audio/fasttracker2/work/ft2-clone-code/src/ft2_gui.c:431: error: 'for' 
loop initial declaration used outside C99 mode

PR:            240659
Approved by:    ehaupt (maintainer), linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21702

FreeBSD/ports 512506head/devel/sdl20 Makefile

devel/sdl20: add ALTIVEC option and enable by default

Add ALTIVEC option on powerpc and powerpc64 and enable it by default.

Approved by:    amdmi3 (maintainer timeout), linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21670

FreeBSD/ports 512505head/devel/py-apptools Makefile

Fix a wrong RUN_DEPEND entry.
Comment where the requirements are defined.
Bump PORTREVISION.

PR:            240660
Submitted by:   <vladimir.chukharev at gmail.com> (maintainer)

FreeBSD/ports 512504head/sysutils/neofetch distinfo Makefile

sysutils/neofetch: update to 6.1.0 and change maintainer to my FreeBSD address

Approved by:    tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D21484

FreeBSD/ports 512503head/security/steghide Makefile

security/steghide: fix build on GCC architectures

Add -Wno-static-float-init only when clang is used. Also add USES=localbase.

Approved by:    linimon (mentor)
Differential Revision:  https://reviews.freebsd.org/D21407

FreeBSD/src 352578head/usr.bin/jot jot.1

jot.1: Explain default argument values more precisely

The way jot(1) defaults missing arguments doesn't match the behaviour
described in the manpage, which states that with fewer than 3 arguments
missing values are supplied from left to right.

In fact, with one or two arguments, the last (s which is step size or seed)
defaults to 1 (or -1 if begin and end specify a descending range), and then
omitted arguments are set to default starting with the leftmost until three
arguments are available.

This is why `jot 2 1000` prints 1000 and 1001 instead of 1000 and 100.

PR:            135475
Submitted by:   Jonathan McKeown <j.mckeown at ru.ac.za>
Approved by:    doc (bcr)
Differential Revision:  https://reviews.freebsd.org/D21736
Event:         EuroBSDcon 2019

FreeBSD/ports 512502head/graphics Makefile nanosvg, head/graphics/nanosvg Makefile pkg-descr

New port: graphics/nanosvg: Simple C++ header-only SVG parser

FreeBSD/ports 512501head/science/jmol distinfo Makefile

science/jmol: Update 14.29.52 -> 14.29.53

Reported by:    portscout

FreeBSD/ports 512500head/editors/mle distinfo Makefile

Update to v1.4.1

This release integrates FreeBSD test fixes.

PR:            240523
Submitted by:   as at php.net (maintainer)
Event:         EuroBSDcon 2019

FreeBSD/ports 512499head/science/maeparser distinfo Makefile

science/maeparser: Update 1.2 -> 1.2.1

Reported by:    portscout

FreeBSD/ports 512498head/java/intellij pkg-plist distinfo

java/intellij: Update to version 2019.2.2.

FreeBSD/ports 512497head/editors Makefile mle, head/editors/mle Makefile pkg-descr

New port: editors/mle: Small, flexible, terminal-based text editor

mle is a small, flexible, terminal-based text editor written in C.
Notable features include: full Unicode support, syntax highlighting,
scriptable rc file, macros, search and replace (PCRE), window
splitting, multiple cursors, and integration with various shell
commands.

WWW: https://github.com/adsr/mle

PR:            240523
Submitted by:   as at php.net
Differential Revision:  https://reviews.freebsd.org/D21689
Event:         EuroBSDcon 2019

FreeBSD/ports 512496head/science/py-ase distinfo Makefile

science/py-ase: Update 3.18.0 -> 3.18.1

Reported by:    portscout

FreeBSD/ports 512495head/multimedia/ffmpeg/files patch-libavcodec_allcodecs.c

multimedia/ffmpeg: replace r495918 with upstream fix

Patch conflict makes it easier to prune on update.