From nobody Fri Dec 31 17:25:38 2021 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 6E27B191A57B; Fri, 31 Dec 2021 17:25:39 +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 4JQX8z0HdGz3Lf4; Fri, 31 Dec 2021 17:25:39 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B07D37576; Fri, 31 Dec 2021 17:25:38 +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 1BVHPcb1080745; Fri, 31 Dec 2021 17:25:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BVHPcxV080744; Fri, 31 Dec 2021 17:25:38 GMT (envelope-from git) Date: Fri, 31 Dec 2021 17:25:38 GMT Message-Id: <202112311725.1BVHPcxV080744@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ab0e78078098 - main - audio/zita-alsa-pcmi: Update 0.3.2 -> 0.4.0 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ab0e780780983fa38787c9982778db890c14dbf2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640971539; 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=uYUjp8jdatS/h0WEy/ajU3JZjDhP01KMlsbvnRL/8BQ=; b=KKfVGrsaCyrc75ad1Ugdkp3JIoGngJRELBE1X0DNL5U5+WWWvU2WBzbGd+0CxQE/lUwCJk e/fWgcP12abSM/SSnV6ut46HQTZUbjvkz9CRsxEHcood9HO5ij32v0WoXEVfRymNDLIfTq +K+Q+ne3jn/ecc3VJAFu0UPxgfR5exBzxpN+gUxA8LJzByW6mjHxWVu4O1If24dMHg7xpd CQaiWullaqbkILz4FTkrXObRWxYLgyu8gUIDC90d0vVj/FARrwwvn050U95bB4FZkiagKZ m/d1oHGSLWsMia2o5sRl6/5IM8D7KtJmFEBW7PjK2aN/oknJBbVAkDoQLR2wng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640971539; a=rsa-sha256; cv=none; b=gzPibhPloa4BRN62x/36Ds0Cmx1uNefMqQrBZTM7XNMQVpXwOPezCC8Ic1vjGRpPn6IMI0 ai1GFGNpi8NOSTLCTTDUYxVaFL1gX5nUfQBfDtTdx7t/+mmvQCP41BxwhEOvSMCIYJv7wV YmOKZ9aphlWQMrSUXEc7DYU94peC3DRfG9ghtvUO0QfzmIBzuqN6KU73b/4kfyM2FvZQFo mD9vwDfI95tZ9iJGZZPXcdPA/qINbu1gzeq/xpHU0GNSawRmsM7RDDUekTnpEL2ZxhMpTT YM3ADdmeGoAyLWWOYtvYWLer3EF5l9U3RZlo0t/3xzECduNwXbOdLKhGHzhpgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab0e780780983fa38787c9982778db890c14dbf2 commit ab0e780780983fa38787c9982778db890c14dbf2 Author: Yuri Victorovich AuthorDate: 2021-12-31 17:08:26 +0000 Commit: Yuri Victorovich CommitDate: 2021-12-31 17:25:33 +0000 audio/zita-alsa-pcmi: Update 0.3.2 -> 0.4.0 Reported by: portscout --- audio/zita-alsa-pcmi/Makefile | 10 +++---- audio/zita-alsa-pcmi/distinfo | 6 ++-- .../files/patch-source_zita-alsa-pcmi.cc | 33 ++++++++++++++++++++-- 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/audio/zita-alsa-pcmi/Makefile b/audio/zita-alsa-pcmi/Makefile index 615435421c92..67efe783550b 100644 --- a/audio/zita-alsa-pcmi/Makefile +++ b/audio/zita-alsa-pcmi/Makefile @@ -1,5 +1,5 @@ PORTNAME= zita-alsa-pcmi -DISTVERSION= 0.3.2 +DISTVERSION= 0.4.0 CATEGORIES= audio MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ @@ -21,8 +21,8 @@ PLIST_FILES= bin/alsa_delay \ bin/alsa_loopback \ include/zita-alsa-pcmi.h \ lib/libzita-alsa-pcmi.so \ - lib/libzita-alsa-pcmi.so.0 \ - lib/libzita-alsa-pcmi.so.0.3.2 + lib/libzita-alsa-pcmi.so.${DISTVERSION:R:R} \ + lib/libzita-alsa-pcmi.so.${DISTVERSION} do-build: .for d in source apps @@ -40,10 +40,10 @@ do-install: post-install: @cd ${STAGEDIR}${PREFIX} && \ - (cd lib && ${RLN} libzita-alsa-pcmi.so.0.3.2 libzita-alsa-pcmi.so.0) && \ + (cd lib && ${RLN} libzita-alsa-pcmi.so.${DISTVERSION} libzita-alsa-pcmi.so.${DISTVERSION:R:R}) && \ ${STRIP_CMD} \ bin/alsa_delay \ bin/alsa_loopback \ - lib/libzita-alsa-pcmi.so.0.3.2 + lib/libzita-alsa-pcmi.so.${DISTVERSION} .include diff --git a/audio/zita-alsa-pcmi/distinfo b/audio/zita-alsa-pcmi/distinfo index 104b62a2ee28..a75c95e46b72 100644 --- a/audio/zita-alsa-pcmi/distinfo +++ b/audio/zita-alsa-pcmi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1626032654 -SHA256 (zita-alsa-pcmi-0.3.2.tar.bz2) = 1a1d9f7e373032bd5702382e4c923407911f4f791c449c0c0f027a725edba789 -SIZE (zita-alsa-pcmi-0.3.2.tar.bz2) = 21480 +TIMESTAMP = 1640969540 +SHA256 (zita-alsa-pcmi-0.4.0.tar.bz2) = bd8c9f360dfb541fb60e48a713baf1e22d41b2c74c19a0fe9f2d34e72f50f1c5 +SIZE (zita-alsa-pcmi-0.4.0.tar.bz2) = 21673 diff --git a/audio/zita-alsa-pcmi/files/patch-source_zita-alsa-pcmi.cc b/audio/zita-alsa-pcmi/files/patch-source_zita-alsa-pcmi.cc index 104799869342..81cfa0fd035c 100644 --- a/audio/zita-alsa-pcmi/files/patch-source_zita-alsa-pcmi.cc +++ b/audio/zita-alsa-pcmi/files/patch-source_zita-alsa-pcmi.cc @@ -1,11 +1,38 @@ ---- source/zita-alsa-pcmi.cc.orig 2021-07-11 19:49:44 UTC +--- source/zita-alsa-pcmi.cc.orig 2021-11-26 09:24:45 UTC +++ source/zita-alsa-pcmi.cc -@@ -18,7 +18,7 @@ +@@ -18,9 +18,17 @@ // ---------------------------------------------------------------------------- --#include ++#if defined(__FreeBSD__) +#include ++#else + #include ++#endif + #include ++#if defined(__FreeBSD__) ++#include ++#else + #include ++#endif #include #include "zita-alsa-pcmi.h" +@@ -983,7 +991,7 @@ char *Alsa_pcmi::play_floatre (const float *src, char + while (nfrm--) + { + d = *src; +- *((float *) dst) = __bswap_32 (d); ++ *((float *) dst) = bswap_32 (d); + dst += _play_step; + src += step; + } +@@ -1105,7 +1113,7 @@ const char *Alsa_pcmi::capt_floatre (const char *src, + while (nfrm--) + { + d = *((float *) src); +- *dst = __bswap_32 (d); ++ *dst = bswap_32 (d); + dst += step; + src += _capt_step; + }