Re: git: 1701f4cd0890 - main - audio/libremidi: update 3.0 → 4.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 01 Oct 2023 21:01:40 UTC
Yuri Victorovich <yuri@FreeBSD.org> writes:

> The branch main has been updated by yuri:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=1701f4cd0890badedd189d69b76f3f40705fa1f4
>
> commit 1701f4cd0890badedd189d69b76f3f40705fa1f4
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2023-09-19 05:18:09 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2023-09-19 05:26:45 +0000
>
>     audio/libremidi: update 3.0 → 4.0
>     
>     ALSA support is disabled in the port because the project now
>     uses linuxisms like timerfd in the ALSA code.
>     
>     Reported by:    portscout

FWIW, FreeBSD >= 14.0 has native timerfd(2) while FreeBSD < 14 can use
devel/libepoll-shim e.g.,

# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
# https://cgit.freebsd.org/src/commit/?id=af93fea71038
.if !exists(/usr/include/sys/timerfd.h)
LIB_DEPENDS+=	libepoll-shim.so:devel/libepoll-shim
CPPFLAGS+=	`pkg-config --cflags epoll-shim`
LDFLAGS+=	`pkg-config --libs epoll-shim`
.endif