From nobody Fri Nov 25 16:46:32 2022 X-Original-To: dev-commits-ports-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 4NJgk04DMqz4jDHj; Fri, 25 Nov 2022 16:46:32 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NJgk03nfbz4G0r; Fri, 25 Nov 2022 16:46:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669394792; 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=EuH6JBR3KJguxNdCjOZ1FQQMQqQEZWxfyYXhga77HQw=; b=WOFJcQrZjh1+F1IB+zvO04i23BRcfhR/eG4sfxeO1ercsX/fwi8vwTT8y0l2vG21eorjS7 LqWEMAvg5E9c4DjIc/QNbeUOZ7Bj6CBgp0VKc9iQ8p6yP5flfemV9m6+XJmhhGeSRjAI11 U1GgLu3hjfvSA3UPnclRfB6yvmbvkPaOnqh+6CWoTIe5F+IjMzvgCovvvKGKM1c2zl/1zb uqfJIio1dcCCRF6H5BN10hmt1NMUJjfmwAZLk2IZqW3Yo0ELeoap+lwbDADaPwyhAd3T2i KWl73dmP54QybqzqBqAlkKUTPcQsSi5ubK4pNtWoFvVL5AeHXOaOlDgUdoxm7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669394792; 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=EuH6JBR3KJguxNdCjOZ1FQQMQqQEZWxfyYXhga77HQw=; b=WsB1HiWdRAyfZOYYA/F4cOaNyB9aA82FFvfMF2A6bX38ZyKu/mLcBN73EVYNql9vDsFwxC c6WikrrI7QHxYXdP6X+aQfQ1kQiHoByHOHXMkZnOh4pA8PdhYtf6arTA5lq7terlRmpCrq bZF/Gs4go59zNwobNcrli9PkYqVi7xhXl4RikpAvyFcw+GPdSp/H+GR69OHnWhRw0c6Q70 1/3ip7gVVHrcxjHy904IEbxllvxt8aWB9LarlkFzXmKJwB92EaPIHPX1C+D2tULbE4VLTg aPNkCVzbns43zW1Ic/vTit9NUqYTBI3xX2SCroewVZufVhFXGmNTyaB/o+wI0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669394792; a=rsa-sha256; cv=none; b=e2pN39FrrNjwJ8vNiB0VZbzWgLm2iXOe8BZGiugmndvqJR4P1wALE7HccNPPd7PcjWOV/K YeMeXRmCHckxmQdEi7MKdkXRc+P5eBGtB21mit2WCBM1HZY402fhgnBKFGFcXBkjGJsMnX RODEbylxEfPHt0Ts0Mc4C516QlY7tm1RS4VgusavdhoU/IAIw9F5GgTjH6oAVi1zf2dMOs havt1emowGn/GDuZK3rk8M8Nh43NYrpVOv7AImhuetGdhxX6AVQ1FKGtLyjAJivwY4hY6g ++efmOETpOyKfh9EW+d5CvlTVNYgk2meUSI53nynyeTubF/QUd3UFBxWqXV8LA== 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 4NJgk02shLznYp; Fri, 25 Nov 2022 16:46:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2APGkWFi096631; Fri, 25 Nov 2022 16:46:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2APGkWk4096630; Fri, 25 Nov 2022 16:46:32 GMT (envelope-from git) Date: Fri, 25 Nov 2022 16:46:32 GMT Message-Id: <202211251646.2APGkWk4096630@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 0613b0fd68fa - main - audio/sox: fix man page. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0613b0fd68faf2d13925745831b046ed306dbbb8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=0613b0fd68faf2d13925745831b046ed306dbbb8 commit 0613b0fd68faf2d13925745831b046ed306dbbb8 Author: Dan Nelson AuthorDate: 2022-11-25 06:35:15 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-11-25 16:42:33 +0000 audio/sox: fix man page. Rename custom macros. Use \fB..\fR to let mandoc(1) run without warnings. PR: 267908 Reported by: dgilbert@eicat.ca --- audio/sox/Makefile | 9 +++++++++ audio/sox/files/patch-sox.1 | 26 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/audio/sox/Makefile b/audio/sox/Makefile index bdf11551d501..5d236fafd4c6 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -1,5 +1,6 @@ PORTNAME= sox DISTVERSION= 14.4.2.20210509 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://dev.gentoo.org/~fordfrog/distfiles/ DISTNAME= sox-code-42b3557e13e0fe01a83465b672d89faddbe65f49 @@ -96,4 +97,12 @@ OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile INSTALL_TARGET= install-strip +post-patch: + # rename sox's custom EX/EE macros so they don't get overridden by + # the default ones + ${REINPLACE_CMD} \ + -e 's/EX$$/soxEX/' \ + -e 's/EE$$/soxEE/' \ + ${WRKSRC}/*.[0-9] + .include diff --git a/audio/sox/files/patch-sox.1 b/audio/sox/files/patch-sox.1 new file mode 100644 index 000000000000..3628e76db25b --- /dev/null +++ b/audio/sox/files/patch-sox.1 @@ -0,0 +1,26 @@ +--- sox.1.orig 2021-05-09 20:19:07 UTC ++++ sox.1 +@@ -3531,8 +3531,7 @@ The average of the absolute value of each sample in th + T} + Mean amplitude \(S1/\s-2n\s+2\^\(*S\^\fIx\s-2\dk\u\s0\fR T{ + The average of each sample in the audio. If this figure is non-zero, then it indicates the +-presence of a D.C. offset (which could be removed using the +-.B dcshift ++presence of a D.C. offset (which could be removed using the \fBdcshift\fR + effect). + T} + RMS amplitude \(sr(\(S1/\s-2n\s+2\^\(*S\^\fIx\s-2\dk\u\s0\fR\(S2) T{ +@@ -3545,11 +3544,9 @@ Mean delta \(S1/\s-2n\-1\s+2\^\(*S\^\^\(br\^\fIx\s-2\d + RMS delta \(sr(\(S1/\s-2n\-1\s+2\^\(*S\^(\fIx\s-2\dk\u\s0\fR\^\-\^\fIx\s-2\dk\-1\u\s0\fR)\(S2) + Rough frequency \ In Hz. + Volume Adjustment \ T{ +-The parameter to the +-.B vol ++The parameter to the \fBvol\fR + effect which would make the audio as loud as possible without clipping. +-Note: See the discussion on +-.B Clipping ++Note: See the discussion on \fBClipping\fR + above for reasons why it is rarely a good idea actually to do this. + T} + .TE