sysutils/acpi_call: Check for errors from copyout()
The base system will soon require all copyout() calls to either preserve
the return value or explicitly ignore it.
PR: 275986
Approved by: antoine
sysutils/acpi_call: fix build after src:df38ada2931f
error: use of undeclared identifier MAXPATHLEN
sys/module.h SHALL be included AFTER sys/param.h
PR: 260333
Reported by: junchoon@dec.sakura.ne.jp
Approved by: gelraen.ua@gmail.com (maintainer, timeout 6 days)
When ioctl() on /dev/acpi fails with `Device not configured' message,
suggest most probable cause of this to reduce number of questions on
the mailing lists; slightly improve port description text while here.
Some aarch64 servers apparently have ACPI. Attempt to build on aarch64
just to see. (It should not hurt anything.)
Approved by: portmgr (tier-2 blanket)
- Do not assume that /sys always points to SYSDIR
- Set LICENSE to a more specific BSD2CLAUSE
- Standardize Makefile header; generally clean up the port
- Convert to USES=kmod and stagify the port while here
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
(Only the first 15 lines of the commit message are shown above )
- re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
PR: ports/169219
Submitted by: jgh@
Approved by: maintainer, gelraen.ua@gmail.com
Fails to compile on powerpc (missing header), so mark it as not for powerpc.
Presumably, no reason to try to compile this on sparc64, either.
Hat: portmgr
Add kernel module and utility for calling arbitrary ACPI methods
from userspace.
Submitted by: Maxim Ignatenko aka gelraen dot ua at gmail dot com
PR: ports/161678