Commit Graph

495010 Commits

Author SHA1 Message Date
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
Tobias Kortkamp
80f7edcf1b MFH: r521983
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.log
http://beefy5.nyi.freebsd.org/data/120i386-default/521788/logs/errors/openomf-0.6.5_6.log

Approved by:	ports-secteam blanket
2020-01-04 16:31:43 +00:00
Piotr Kubaj
5c1aa96745 MFH: r522036
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)
2020-01-04 14:08:18 +00:00
Piotr Kubaj
1b942b7ac1 MFH: r522034
net/kamailio: fix build on GCC architectures

C11 compiler is necessary because of -latomic.

Approved by:	portmgr (build fix blanket)
2020-01-04 13:57:51 +00:00
Jan Beich
c51976652f MFH: r521966
www/firefox: switch to rc4

Changes:	https://hg.mozilla.org/releases/mozilla-release/pushloghtml?startdate=2019-12-31&enddate=2020-01-04
Approved by:	ports-secteam blanket
2020-01-03 23:31:39 +00:00
Piotr Kubaj
5d3e3219cb MFH: r521964
audio/ocp: unbreak on powerpc64

Builds fine on 12.1-RELEASE.

Approved by:	portmgr (build fix blanket)
2020-01-03 22:05:51 +00:00
Piotr Kubaj
63423f4472 MFH: r521956
cad/sumo: fix build on GCC architectures

xerces needs C++11 compiler to link to.

Approved by:	portmgr (build fix blanket)
2020-01-03 20:00:10 +00:00
Piotr Kubaj
b637b997f6 MFH: r521945
archivers/py-bup: don't set -Werror

Fixes build with base GCC.

Approved by:	portmgr (ports compliance blanket)
2020-01-03 15:10:30 +00:00
Piotr Kubaj
e3e647de65 MFH: r521937
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)
2020-01-03 13:18:18 +00:00
Jan Beich
9a583826f3 MFH: r521930
audio/tagutil: move BROKEN where it belongs

Approved by:	ports-secteam blanket
2020-01-03 11:28:56 +00:00
Jan Beich
4d11f312a4 MFH: r521928
audio/tagutil: mark BROKEN on FreeBSD 11 after r520736

FAILED: tagutil
: && /usr/bin/cc -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O0 -g -fsanitize=undefined  -fstack-protector-strong -pie CMakeFiles/tagutil.dir/tagutil.c.o CMakeFiles/tagutil.dir/t_action.c.o CMakeFiles/tagutil.dir/t_renamer.c.o CMakeFiles/tagutil.dir/t_editor.c.o CMakeFiles/tagutil.dir/t_loader.c.o CMakeFiles/tagutil.dir/t_tune.c.o CMakeFiles/tagutil.dir/t_taglist.c.o CMakeFiles/tagutil.dir/t_tag.c.o CMakeFiles/tagutil.dir/t_backend.c.o CMakeFiles/tagutil.dir/t_format.c.o CMakeFiles/tagutil.dir/t_toolkit.c.o CMakeFiles/tagutil.dir/t_fttaglib.c.o CMakeFiles/tagutil.dir/t_ftflac.c.o CMakeFiles/tagutil.dir/t_ftoggvorbis.c.o CMakeFiles/tagutil.dir/t_yaml.c.o  -o tagutil  -lc -lsbuf -L/usr/local/lib -ltag_c -ltag -L/usr/local/lib -lFLAC -L/usr/local/lib -logg -L/usr/local/lib -lvorbis -L/usr/local/lib -lvorbisfile -L/usr/local/lib -lyaml && :
/usr/bin/ld: undefined reference to symbol `__cxa_demangle@@CXXABI_1.3' (try adding -lcxxrt)
//lib/libcxxrt.so.1: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Reported by:	pkg-fallout
Approved by:	ports-secteam blanket
2020-01-03 11:25:22 +00:00
Jan Beich
235deb1b39 MFH: r521925
misc/freebsd-doc-ja: unbreak after r521437

===>   ja-freebsd-doc-53688,1 depends on file: /usr/local/share/fonts/OTF/ipam.otf - not found
===>   Installing existing package /packages/All/ja-font-ipa-00303_7.txz
Installing ja-font-ipa-00303_7...
Extracting ja-font-ipa-00303_7: .......... done
===>   ja-freebsd-doc-53688,1 depends on file: /usr/local/share/fonts/OTF/ipam.otf - not found
*** Error code 1

Reported by:	pkg-fallout
Approved by:	ports-secteam blanket
2020-01-03 10:35:26 +00:00
Jan Beich
3112c2efa5 MFH: r521921
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
2020-01-03 10:17:24 +00:00
Antoine Brodin
7722d290ad MFH: r521828
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.
2020-01-03 10:05:21 +00:00
Piotr Kubaj
078e0c1276 MFH: r521916
security/py-pysha3: unbreak on powerpc64

Now builds fine (tested on 12.1-RELEASE).

Approved by:	portmgr (fix build blanket)
2020-01-03 09:27:32 +00:00
Tobias Kortkamp
10628fe9cc MFH: r521911
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
2020-01-03 07:46:31 +00:00
Kai Knoblich
0eb2d0f9f5 MFH: r521868
textproc/py-ocrmypdf: Update to 9.3.0

Changelog since 9.1.1:

In addition to some enhancements, a regression that existed since the 7.x
release, has also been fixed.

https://github.com/jbarlow83/OCRmyPDF/blob/v9.3.0/docs/release_notes.rst

Approved by:	ports-secteam (joneum)
2020-01-02 23:58:27 +00:00
Kai Knoblich
ffaa90de5a MFH: r521755
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)
2020-01-02 23:52:23 +00:00
Kai Knoblich
4194769133 MFH: r521751
www/py-dj22-django-cacheops: Update to 4.2

Changelog:

https://github.com/Suor/django-cacheops/blob/4.2/CHANGELOG

Approved by:	ports-secteam (joneum)
2020-01-02 23:50:36 +00:00
Kai Knoblich
07f0276f2c MFH: r521750
www/py-django-cacheops: Update to 4.2

Changelog:

https://github.com/Suor/django-cacheops/blob/4.2/CHANGELOG

Approved by:	ports-secteam (joneum)
2020-01-02 23:49:29 +00:00
Piotr Kubaj
d9608644fe MFH: r521885
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)
2020-01-02 23:30:07 +00:00
Adriaan de Groot
088a225af9 MFH: r521876
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)
2020-01-02 22:08:28 +00:00
Jan Beich
5de9b00c53 MFH: r521880
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
2020-01-02 21:32:23 +00:00
Jan Beich
5ccec322ca MFH: r521835
x11-wm/wayfire: 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'
-[src/core/output-layout.cpp:844] new output: DP-1
+[src/core/output-layout.cpp:849] new output: 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-02 14:23:32 +00:00
Jan Beich
eb0e930259 MFH: r521825
multimedia/ffmpeg: update to 4.2.2

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Reported by:	portscout
Approved by:	ports-secteam blanket (multiple regression/security fixes)
2020-01-02 10:53:02 +00:00
Piotr Kubaj
237674749a MFH: r521815
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)
2020-01-02 09:29:48 +00:00
Dima Panov
169d3f0c61 MFH: r521796
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
2020-01-02 09:02:51 +00:00
Jan Beich
132522323a MFH: r521792
japanese/ngraph-fonts: unbreak after r521443

=======================<phase: run-depends    >============================
===>   ja-ngraph-fonts-1.0_3 depends on file: /usr/local/share/fonts/kanji/kanji18.pcf.gz - not found
===>   Installing existing package /packages/All/ja-font-kanji18-1.0_3.txz
Installing ja-font-kanji18-1.0_3...
[...]
===>   ja-ngraph-fonts-1.0_3 depends on file: /usr/local/share/fonts/kanji/kanji18.pcf.gz - not found
*** Error code 1

Reported by:	pkg-fallout
Approved by:	ports-secteam blanket
2020-01-02 02:16:03 +00:00
Jan Beich
da169b21b2 MFH: r521790
japanese/tgif: unbreak after r521438

=======================<phase: run-depends    >============================
===>   ja-tgif-resource-4.2.2_1 depends on executable: tgif - not found
===>   Installing existing package /packages/All/tgif-4.2.5_2.txz
[...]
===>   ja-tgif-resource-4.2.2_1 depends on file: /usr/local/share/fonts/TTF/ipagui.ttf - not found
===>   Installing existing package /packages/All/ja-font-ipa-uigothic-00203_5.txz
[...]
===>   ja-tgif-resource-4.2.2_1 depends on file: /usr/local/share/fonts/TTF/ipagui.ttf - not found
*** Error code 1

Reported by:	pkg-fallout
Approved by:	ports-secteam blanket
2020-01-02 02:10:36 +00:00
Jan Beich
8f540cffa2 MFH: r521788
emulators/rpcs3: update to 0.0.8.9302

Changes:	341fdf7eb...c4e59b511
Approved by:	ports-secteam blanket (reliability/regression fixes)
2020-01-02 00:12:01 +00:00
Piotr Kubaj
2b7ab48bd9 MFH: r521784
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)
2020-01-01 23:09:52 +00:00
Piotr Kubaj
78cb540ce0 MFH: r521783
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)
2020-01-01 23:07:20 +00:00