From nobody Fri Jan 30 16:33:17 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4f2hQQ4Fplz6Q4xd for ; Fri, 30 Jan 2026 16:33:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f2hQQ0PrPz40sp for ; Fri, 30 Jan 2026 16:33:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769790798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y+u3Pn0DYrvac8fYeGkuWZA/S5WA47ng3nRaRMl+rHw=; b=AyQcffjUcQE6M0kyDjeeCkXCkaxkhbZBFn4IREZ4hUqnjV5a7zop/j66eCyVsN+xYTKLWO y1VsyzQnT3h2KvtIASgkzL+ip77Cgq3uYT4RPBFBOIWWpscwcdqIcLBNP3E3K0XehB0IgU ul8uDKxKQjX3j6kzvUhe+Fd6zj28nVs7V8h8Sae3gdFDLw7gf8CzvzJekwcID4e85e8Fgh HIEZHuSQeyMC6cvQEq/lNVKZ8vNSyYUaAcu17i9FU5DuCvkO37rLJ9togCoU6UcWGKLN8p ZxAxc2nJbNYc7dN80eMAK/sDmfpVVKk+qrDnu3yhOev/mWBo9qsyyzq4s2AFrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769790798; a=rsa-sha256; cv=none; b=xQR2flF97i0XUwKwrlg/A4GEElSPy/oECSg2K8KAVzZDf0V0JAKpxGF+cAHeMM8BnHGges XihC1yr9xDHt3Su3IuXgJCUsQNLHNlYEAVESEeIT5LArDY4ERJEyEDI87AeULbJbXOaSNo grbVJKXK1jCCyTVf5rpKDDRDqne63rHAsht6idTRMujF9X/11hTQ1+S5MksTrlEtSwDWBo v3TclEFk/Lj3GFhv8Iz3Chr4svDp5EwVhqDS4qUj62BQEmCgnCZLaZnw5IB7B4MhtATS4v omGdnSOwANLf79nsgsBn2E0edk11h/r/AZcLmVgZv6hcVBMPLvYfqlL0Qz4P5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769790798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y+u3Pn0DYrvac8fYeGkuWZA/S5WA47ng3nRaRMl+rHw=; b=VQ2LGm5ba/exCVaNQsChGF1ZyZEDkZEsQLvvu1pS5KxjUxtlfIkLrJ6qoPocZjW4uoNHWB /1YzJaIWxApuF2pTmypKUL3avTvkrPPEmUfVeknFgHhwQyy1HjXxT9JxbawDoFU/dfJ0Bc ui8bNkSSDw3rpoEWMuy9abn+3+3NTAHO5L+F/YE/L2QsvyZLj766YrkK3AU0fsJqtMcZXA AGqtuw81EmaOAqBAjqSCZnIfHpjXV3/xHM28gFxo0MQkulpqlhuJ8daC7/Vv+alrnZpi/C EIV9Ze5OKsq/eabu6cxdxJDe2TATmIrTRZRGgFNi02KhejJS71Dkwynoo6RngQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f2hQP0N6nz1Jm for ; Fri, 30 Jan 2026 16:33:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d81b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 30 Jan 2026 16:33:17 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Brooks Davis From: Christos Margiolis Subject: git: f3888268299d - stable/15 - lib/virtual_oss: don't (over)link to libsamplerate List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: f3888268299db8d9623c46ccd1f456a4f6e49eea Auto-Submitted: auto-generated Date: Fri, 30 Jan 2026 16:33:17 +0000 Message-Id: <697cdd4d.3d81b.479a291@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=f3888268299db8d9623c46ccd1f456a4f6e49eea commit f3888268299db8d9623c46ccd1f456a4f6e49eea Author: Brooks Davis AuthorDate: 2026-01-16 09:34:18 +0000 Commit: Christos Margiolis CommitDate: 2026-01-30 16:30:06 +0000 lib/virtual_oss: don't (over)link to libsamplerate These plugins require samplerate.h due to virtual_oss's int.h including it, but don't use any symbols directly so don't link to the library. Centralize adding the include path. Reviewed by: christos Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D54705 (cherry picked from commit d78291b0e9736f39f22c55c163978c1b92e601e4) (cherry picked from commit c88f012faa13c39f13efdcef88d3141253a300ab) --- lib/virtual_oss/Makefile.inc | 2 ++ lib/virtual_oss/bt/Makefile | 3 +-- lib/virtual_oss/null/Makefile | 3 --- lib/virtual_oss/oss/Makefile | 3 --- lib/virtual_oss/sndio/Makefile | 4 +--- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/lib/virtual_oss/Makefile.inc b/lib/virtual_oss/Makefile.inc index 2a0c75218f49..b3f00b075640 100644 --- a/lib/virtual_oss/Makefile.inc +++ b/lib/virtual_oss/Makefile.inc @@ -3,5 +3,7 @@ PACKAGE= sound SHLIBDIR= ${LIBDIR}/virtual_oss CFLAGS+= -I${SRCTOP}/usr.sbin/virtual_oss/virtual_oss +# XXX virtual_oss/int.h includes samplerate.h, but the library isn't used +CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/samplerate .include "../Makefile.inc" diff --git a/lib/virtual_oss/bt/Makefile b/lib/virtual_oss/bt/Makefile index 9a4ce586ef95..f7c4077eb8f4 100644 --- a/lib/virtual_oss/bt/Makefile +++ b/lib/virtual_oss/bt/Makefile @@ -4,8 +4,7 @@ SRCS= bt.c \ avdtp.c \ sbc_encode.c -CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/samplerate -LIBADD= bluetooth samplerate sdp +LIBADD= bluetooth sdp .if defined(HAVE_LIBAV) CFLAGS+= -I${LOCALBASE:U/usr/local}/include -DHAVE_LIBAV diff --git a/lib/virtual_oss/null/Makefile b/lib/virtual_oss/null/Makefile index 5c265d1be055..a5a8d4ec6a24 100644 --- a/lib/virtual_oss/null/Makefile +++ b/lib/virtual_oss/null/Makefile @@ -2,7 +2,4 @@ SHLIB_NAME= voss_null.so SRCS= null.c -CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/samplerate -LIBADD= samplerate - .include diff --git a/lib/virtual_oss/oss/Makefile b/lib/virtual_oss/oss/Makefile index 773b3518602e..795d9c45469d 100644 --- a/lib/virtual_oss/oss/Makefile +++ b/lib/virtual_oss/oss/Makefile @@ -2,7 +2,4 @@ SHLIB_NAME= voss_oss.so SRCS= oss.c -CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/samplerate -LIBADD= samplerate - .include diff --git a/lib/virtual_oss/sndio/Makefile b/lib/virtual_oss/sndio/Makefile index 238507be1e4b..59a19aeb2ba5 100644 --- a/lib/virtual_oss/sndio/Makefile +++ b/lib/virtual_oss/sndio/Makefile @@ -2,9 +2,7 @@ SHLIB_NAME= voss_sndio.so SRCS= sndio.c -CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/private/samplerate \ - -I${LOCALBASE:U/usr/local}/include +CFLAGS+= -I${LOCALBASE:U/usr/local}/include LDFLAGS+= -L${LOCALBASE:U/usr/local}/lib -lsndio -LIBADD= samplerate .include