From nobody Mon Sep 15 13:11:00 2025 X-Original-To: dev-commits-src-main@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 4cQQQF1052z67Ksj; Mon, 15 Sep 2025 13:11:01 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQQQF0JvJz3DT5; Mon, 15 Sep 2025 13:11:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757941861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rC0mOiFvrJLhfvV9x17uW+PPB3AZFublLO+OoRb4k1Q=; b=fwEqg/pHCU06nDkO2LAnQ3ASBI9Qy7rxpNqMMTKiaThNtOj7suerJap/ad0YLWrqQGjmvD hVk8LK2Rd6Gd1MVfwTpY4iL+Ifhy7q61CJho0B7vAOTM1JmnzSc4tjPKPzsIkqeA+rLLZx gcFFKzjJ99GUXv0Hpr6mzJUn98T70Q3Myyy4ngq0Q2/mkt2xIvRFHX/hg0ColzGxEwcezu tOmLx7jBs3Prax3bWHpIP+hPL1mVR/FsGkEC6G7PofoG8pYdW7TFfWcGam7dndllh7lW5R ep2zWATvrSW6YvX9ncfM237dbKbsdeACyQDVAQSZoUgAbBi45CTqOLiS5FbjmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757941861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rC0mOiFvrJLhfvV9x17uW+PPB3AZFublLO+OoRb4k1Q=; b=myYJYk3gCwioXBpvogAClneLvT8jgwdA3yrJgzWJIFq0VwTZV3JO5dzmWRKv3cTJe4+CAJ mEudLUgWGg6ADhUmmP9jNutJ4c77D+T/tp+Z1WXCWkIY+qe957+R4u6XhwpvGx+LJrujLq DmuBFB6MjLWFuBo4Dv2/McKG3HYHqqs3cTNnjMgF8ZAsM1+ZvdwJd6GGa49wfTaj6RW0zH MWz7bZugTwTzAHes2kR82/L9LjODwyGyHDwLnxSGncAYnNq/hXXYNmJ5Hfauv6W9Q5gc5P pGdzO6xhKW4UVh3pmPDD2Bp4V3BDtHqvJDOPWnUUZGcuRY+CQBPbFxPrbCbnIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757941861; a=rsa-sha256; cv=none; b=Hgwf6DlHV8FeemTC7XTHu6blwFAMTOZTKqqzNs/unE8yub8dCjkyMwAD0i08V69n4PnTlZ b4ZZreErRGmVLDNceeWhA5Ym5qyPyhpIhv0DvGJ3SUpPXD0oq8y/6zAfknqHkEy1wf+hyC gdttEUomoViGH+hnxvTXAAbBSfBZVJksYCNu317KsRd5CI1WsaU1k3h1j705I8PMm4y3I/ Kf2lnszTTlcUleF/GkYZLDPbKCxCXmHz472eHmUKWmVUlUQVdMTWhstYpHcJ1ShGOeJG21 49NnM2SYMdo9UJZ9p5Mm1WKWxZclS0/3IZsqvS2tl6JTXY8M2R8XVnJo5mIlyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cQQQD72X0zvQ0; Mon, 15 Sep 2025 13:11:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58FDB0WE072207; Mon, 15 Sep 2025 13:11:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58FDB0eo072204; Mon, 15 Sep 2025 13:11:00 GMT (envelope-from git) Date: Mon, 15 Sep 2025 13:11:00 GMT Message-Id: <202509151311.58FDB0eo072204@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: dafd960a3d65 - main - libsamplerate: Define as PRIVATELIB List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: dafd960a3d65cdaccb1f8b9395fad14092ec9eb2 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=dafd960a3d65cdaccb1f8b9395fad14092ec9eb2 commit dafd960a3d65cdaccb1f8b9395fad14092ec9eb2 Author: Christos Margiolis AuthorDate: 2025-09-15 13:09:38 +0000 Commit: Christos Margiolis CommitDate: 2025-09-15 13:09:38 +0000 libsamplerate: Define as PRIVATELIB Fixes the following warnings: ld: error: relocation R_X86_64_32S cannot be used against local symbol; recompile with -fPIC >>> defined in /usr/obj/usr/src/amd64.amd64/lib/libsamplerate/libsamplerate.a(samplerate.o) >>> referenced by samplerate.c:498 (/usr/src/contrib/libsamplerate/samplerate.c:498) >>> >>> samplerate.o:(src_new) in archive /usr/obj/usr/src/amd64.amd64/lib/libsamplerate/libsamplerate.a Related discussion: https://reviews.freebsd.org/D52306 Sponsored by: The FreeBSD Foundation Reviewed by: fuz Differential Revision: https://reviews.freebsd.org/D52307 --- etc/mtree/BSD.usr.dist | 2 ++ lib/libsamplerate/Makefile | 2 +- share/mk/src.libnames.mk | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 7d3a72f43fa1..19da845e962f 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -26,6 +26,8 @@ .. .. .. + samplerate + .. sqlite3 .. ucl diff --git a/lib/libsamplerate/Makefile b/lib/libsamplerate/Makefile index 256f2087284f..6ca87d8b20ca 100644 --- a/lib/libsamplerate/Makefile +++ b/lib/libsamplerate/Makefile @@ -1,7 +1,7 @@ .PATH: ${SRCTOP}/contrib/libsamplerate LIB= samplerate -INTERNALLIB= +PRIVATELIB= SRCS= samplerate.c \ src_linear.c \ diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 9ca043e7733c..d6597caf7e2a 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -29,6 +29,7 @@ _PRIVATELIBS= \ heimipcs \ kldelf \ ldns \ + samplerate \ sqlite3 \ ssh \ ucl \ @@ -72,7 +73,6 @@ _INTERNALLIBS= \ pfctl \ pkgecc \ pmcstat \ - samplerate \ sl \ sm \ smdb \