appleir: Add Apple IR receiver driver
HID driver for Apple IR receivers (USB HID, vendor 0x05ac).
Supports Apple Remote and generic IR remotes using NEC protocol.
Supported hardware:
- Apple IR Receiver (0x8240, 0x8241, 0x8242, 0x8243, 0x1440)
Apple Remote protocol (proprietary 5-byte HID reports):
- Key down/repeat/battery-low detection
- 17-key mapping with two-packet command support
- Synthesized key-up via 125ms callout timer
Generic IR remotes (NEC protocol):
- Format: [0x26][0x7f][0x80][code][~code]
- Checksum: code + ~code = 0xFF
- Default keymap with 8 common codes
- See: https://techdocs.altium.com/display/FPGA/NEC+Infrared+Transmission+Protocol
[9 lines not shown]
editors/emacs-devel: Update to 2026-04-15 snapshot
Highlights:
- frame-deletion crash fixes
- new seq.el functions
- org-mode has been updated version 9.8.2
- xwidgets re-enabled with newer webkit2gtk
Commit log: https://github.com/emacs-mirror/emacs/compare/faf19328757...324e5b41778
Sponsored by: The FreeBSD Foundation
devel/prjpeppercorn113: Add new port
This port is used by devel/nextpnr* to produce configuration bitstreams for
CologneChip GateMate FPGAs.
This port is versioned because of version compatibility requirements with
devel/nextpnr*.
bpf: fix handling the read timeout on ppc64
On platforms other than amd64, BIOCSRTIMEOUT is equal to
BIOCSRTIMEOUT32. Therefore, running the COMPAT_FREEBSD32 code
basically clears tv_usec on big endian platforms. When tcpdump is
used, the timeout requested is 100ms, which gets cleared to 0 on
ppc64 platforms. This results in tcpdump showing the packets only
when the read buffer is full.
Thanks to kib for guiding me to the correct fix.
Reported by: ivy
Reviewed by: adrian, kib
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D56399
devel/nextpnr*: Bump after dependency change
The devel/prjpeppercorn112 dependency was changed from using a custom
distfile mirror to upstream provided distfiles.
Bumping the consumers to trigger a rebuild to take the custom mirror
offline afterwards.
devel/prjpeppercorn112: Remove obsolete custom distfile mirror
Previously, some distfiles were mirrored on a 3rd-party host as upstream did not
provide versioned distfiles.
This is no longer necessary as upstream now ships the necessary files as part
of the git repository.
editors/emacs: Backport support for tree-sitter 0.26+
Obtained from upstream commits:
- d587ce8c65 - Support Tree-sitter version 0.26 and later
- b01435306a - Change tree-sitter query predicate names (bug#79687)
PR: 294394
vm_swapout: Remove a special case from vm_swapout_map_deactivate_pages()
John points out that this probably should have been removed in commit
472888018ce, which removed a special case where we'd set desired=0 if
the target process has P_INMEM clear. It's not obvious to me that the
desired=0 case can't arise by setting an RSS limit to 0, but I'm not
sure why we'd try to go the extra mile in that case anyway.
Reported by: jhb
Reviewed by: kib
MFC after: 2 weeks
Fixes: 472888018ce1 ("proc: Remove kernel stack swapping support, part 6")
Differential Revision: https://reviews.freebsd.org/D56140