lang/libobjc2: Fix build in 11.3
We need -lm in order to use the ceilf function.
PR: 249046
Reported by: brad@facefault.org
Approved by: ports-secteam (blanket, runtime fix)
databases/mysqlwsrep57-server: fix build on powerpc64
Use the same fix that mysql57-server needs for building with GCC.
Approved by: portmgr (fix build blanket)
math/reduce: fix the build with LLVM 11
reduce started to fail with the default switch to -fno-common in LLVM 11
(and GCC 10). This patch was written then confirmed to be the fix that
upstream also provided in late March.
Approved by: ports-secteam (implicit, -fno-common build fix)
emulators/simh-hp3000: fix the build with LLVM 11.
Similar to the patch for emulators/simh-hp2100, drop an -fcommon in to fix
the build in the face of GCC 10 / LLVM 11 switching the default to
-fno-common.
Minor cleanup while we're here, remove USES= compiler and just use ${CC} for
the compiler.
PR: 248872
Approved by: ports-secteam (implicit, -fno-common build fix)
games/megaglest: fix build with LLVM 11
The fallout here is due to the new -fno-common default in GCC 10 / LLVM 11.
PR: 248870
Obtained from: https://github.com/MegaGlest/megaglest-source/issues/197
Approved by: ports-secteam (-fno-common build fix)
emulators/simh-hp2100: fix the build with LLVM 11
This patch adds -fcommon to the build flags to fix the build with LLVM 11,
which now defaults to -fno-common.
PR: 248871
Approved by: ports-secteam (implicit, -fno-common build fix)
x11-wm/tvtwm: Fix build with LLVM 11
The fix for this is identical to that of x11-wm/piewm; remove the patch that
explicitly de-externs yylineno when it's explicitly defined in another
compilation unit (by flex).
PR: 248976
Approved by: ports-secteam (implicit, -fno-common build fix)
security/tpm2-tss: fix build on GCC architectures
Use newer GCC, base GCC can't build it:
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:49: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'decryptAllowed'
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:50: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'encryptAllowed'
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:51: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'authAllowed'
Approved by: portmgr (fix build blanket)
x11-wm/piewm: fix the build with LLVM 11
This patch de-extern'd yylineno to actually cause the build failure that
popped up with the new -fno-common default that debuted in LLVM 11 and GCC
10. Simply remove the patch to fix the build.
PR: 248859
Approved by: ports-secteam (implicit, -fno-common build fix)
net-mgmt/nfdump: fix build on GCC architectures and check-plist on others
Use C11 compiler:
In file included from nfcapd.c:69:
nfx.h:946: error: redefinition of typedef 'extension_map_t'
nfdump.h:64: error: previous declaration of 'extension_map_t' was here
In file included from nfcapd.c:70:
exporter.h:78: error: redefinition of typedef 'exporter_info_record_t'
nfdump.h:63: error: previous declaration of 'exporter_info_record_t' was here
Remove unconditional installation of nfpcapd, it breaks check-plist and there's an option for installing it.
Bump PORTREVISION for package change.
Approved by: portmgr (fix build blanket, packaging fix)
games/libretro-mame2003: fix build on GCC architectures
Define __BSD_VISIBLE if it's not defined to uncover u_int:
In file included from src/libretro-deps/libFLAC/cpu.c:83:
/usr/include/sys/sysctl.h:1101:25: error: unknown type name 'u_int'; did you mean 'int'?
1101 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
| ^~~~~
| int
Approved by: portmgr (fix build blanket)
sysutils/dsbmd: Update to 1.11
ChangeLog: https://freeshell.de/~mk/projects/dsbmd-relnotes.html
* A bug has been fixed where DSBMD exits with an error when the user tries to
mount a smartphone after a previously failed attempt.
* Command functions now run in a thread so that time-limit exceeding commands
executing an uninterruptible system call will not block the daemon.
PR: 248915
Submitted by: mk@nic-nac-project.org (maintainer)
Approved by: ports-secteam (blanket, runtime fix)
lang/php72: Update from 7.2.22 to 7.2.23
The last log entry is the same, because i accidently performed an update from
7.2.21 to 7.2.22. I ignored the update to 7.2.22 because for FreeBSD its a no-op.
But when 7.2.23 was released i only increased the version by one.
This time its the real update! :)
Changelog:
Core:
Fixed bug #79877 (getimagesize function silently truncates after a null byte) (cmb)
Phar:
Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)
Reported by: José García Juanino <jjuanino@gmail.com>
Sponsored by: Bounce Experts
Approved by: ports-secteam (joneum, implicit for PHP Updates)
games/libretro-mame2003_plus: fix build on GCC architectures
Define __BSD_VISIBLE if it's not defined to make u_int visible:
In file included from src/libretro-deps/libFLAC/cpu.c:83:
/usr/include/sys/sysctl.h:1101:25: error: unknown type name 'u_int'; did you mean 'int'?
1101 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
| ^~~~~
| int
Approved by: portmgr (fix build blanket)
x11-servers/xorg-server: Fix several security issues
Fix several security issues in x11-servers/xorg-server and slave ports which
ultimately can lead to local privilege escalations if xorg-server is running
privileged.
More info:
https://lists.x.org/archives/xorg-announce/2020-August/003058.html
Security: ffa15b3b-e6f6-11ea-8cbf-54e1ad3d6335
Approved by: ports-secteam (implicit, security update)
x11/libX11: Update to 1.6.12
Update x11/libX11 to 1.6.12, which contains a fix for a double free
vulnerability.
The update also contains fixes already included in the FreeBSD libX11 port.
Announcement and changelog:
https://lists.x.org/archives/xorg-announce/2020-August/003057.html
Security: 8da79498-e6f6-11ea-8cbf-54e1ad3d6335
Approved by: ports-secteam (implicit, security update)
games/libretro-fbneo: fix build on powerpc*
Merge upstream patch to solve:
undefined reference to __mftb()
and use newer GCC to solve:
cc1: error: unrecognized command line option "-Wno-pedantic"cc1: error: unrecognized command line option "-Wno-pedantic"
Approved by: portmgr (fix build blanket)
security/bsmtrace: backport the -fno-common fix
This port is the older version of bsmtrace and should go away in due time,
but it's easy enough to backport the fix in the meantime. This version did
need an additional fix to log.{c,h} that was no longer needed in 3.x.
PR: 248756
Approved by: csjp (maintainer, also discussed with)
Approved by: ports-secteam (implicit, -fno-common build fix)
security/bsmtrace3: update to the 3.1 -fno-common build fix
The only changes between 3.0 and 3.1 are a change to the README to note work
sponsored by an organization, and the -fno-common build fix.
-fno-common is now the default in LLVM 11/GCC 10.
PR: 248756
Approved by: csjp (maintainer, also discussed with)
Approved by: ports-secteam (implicit, -fno-common build fix)
games/libretro-uae: fix build on powerpc*
ifdef powerpc needs to be added to prevent compiling code with bad assembly.
Approved by: portmgr (fix build blanket)
textproc/qr: fix build on GCC architectures
sqrt() is only defined since C99:
/tmp/ccn0UwwD.o:(.text+0x1cc): undefined reference to `sqrt'
Approved by: portmgr (fix build blanket)
grapics/drm-legacy-kmod: Deprecate
Deprecate graphics/drm-legacy-kmod. Update the drivers to include a
deprecation message when the drivers are loaded.
drm-legacy-kmod is holding back changes in the FreeBSD VM subsystem, and it
requires substantial changes to be updated to work with the VM changes.
See the e-mail to x11@FreeBSD.org for more information.
Approved by: ports-secteam (implicit, drm-drivers blanket)