From nobody Thu Aug 29 13:00:22 2024 X-Original-To: dev-commits-ports-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 4WvhGG5wvMz5PPbn; Thu, 29 Aug 2024 13:00:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WvhGG5S1Nz4b9l; Thu, 29 Aug 2024 13:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724936422; 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=LVtmanZ4MqvRJU+8Dr0koUuic8nTgGWXnqvq4nc+HqI=; b=ksc36S4/iuCIFrJJMcGDF7jnkZPWs35UeFJ7GBPBPZ7DvkA9DUi+rSygQ9sgzycYaeMlDD AsxXre4h0fmplzLIfxvOpShsFuuhMlUSClXr57RNyOqAEB237b9QcYT8ywKsCZH0/KoCq4 xmnCsRrV97q1f0bQJt26LPG0f+01X/Cl6qH6nIlb+Yhxkzsh4P+KTkK2L74OQf7QQJ+PkK OZxEn4AvKpV1VGrRKNmr8HdVaIuAWlzjMbum+BQ6kBPIkJ96EO0XMAdmtuMCuZTfse7cWj rzNV/nJIwvab/dee/D4aVtjO2enLtw8f6pbHLc/gDQ93wYtBTIIV/wyGhY50KQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724936422; a=rsa-sha256; cv=none; b=ZVXULN5B3LnT5GK2rV2iQvKulvyXERhaNIKALZSHkCYaP4rHgibGs63VWqZJI8148U6IO3 IpAmGIxD4xO/IyhPYbHe3+MlRNwnvPrUyeVvDqy8iUQofVqRnSWt59AF8APPoiXMNX+7ad Wn9fCijuBYRA7VcboYxE5+0T6D9WuIZIQ8artg+uPlMlA8kkHJM+kWouCNRFrF/jEAZQZw 7WSQO4P9X24JEphPedDqRuoGhk21ZjtM/SxvR0i3cwgDTMXhSfXwn34vU99sQNNxIr9BEK A/sG9SJ1sZvdVIXAMm8lFIDKrzcrvL4Gdju/Z0G1G67vGWDayBF2SJSVSC9clQ== 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=1724936422; 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=LVtmanZ4MqvRJU+8Dr0koUuic8nTgGWXnqvq4nc+HqI=; b=cAEexVQH8cQ41ugNyXvCW7XO3A2oJDo2VMbav5tX3osb9Zc+bQo7LUEefuk54Lvt5oRnJH 0IreF9APHf+7VQsVwapK7SKBdllNrukjjpaRJugJvPYb2DpTNQJdMB1mO47+V7gCCef8Ah h0UauJnhmev+gNvXaUI3WV0JfYahIEF2OksTQt0gSA/y19zxpgRnWuBJIZbnt76pcH0GGZ bKwcmM+isXrY6R+U3BSQfs+k+RUb7mN95uT8hy70lZWn6hUEpYe6+0oIQ/nYzhvgETD4o6 abD7+5qZlUoy2nDs/8yQ+q8zsKmCXLjmVM+s0R0gi0IioKN/N0Toy9MCLBiCKg== 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 4WvhGG53DXzJNS; Thu, 29 Aug 2024 13:00:22 +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 47TD0MKR067593; Thu, 29 Aug 2024 13:00:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47TD0MLL067590; Thu, 29 Aug 2024 13:00:22 GMT (envelope-from git) Date: Thu, 29 Aug 2024 13:00:22 GMT Message-Id: <202408291300.47TD0MLL067590@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 981929d361d7 - main - audio/pulseaudio-module-sndio: Fix an error on loading List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 981929d361d7811d3d21205d5d4da213acc58d8a Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=981929d361d7811d3d21205d5d4da213acc58d8a commit 981929d361d7811d3d21205d5d4da213acc58d8a Author: Nicola Vitale AuthorDate: 2024-08-29 12:40:00 +0000 Commit: Nicola Vitale CommitDate: 2024-08-29 12:59:05 +0000 audio/pulseaudio-module-sndio: Fix an error on loading - Enabling this module in LOCALBASE/etc/pulse/default.pa.d/* pulseaudio prints this error on loading: Aug 29 14:33:26 ***** pulseaudio[3024]: [] module.c: Module "module-sndio" version (0.0) doesn't match the expected version (16.1). This patch fix the module version making it the same as pulseaudio's. The latter is retrieved via pkg-config. - Pet portclippy - Bump PORTREVISION --- audio/pulseaudio-module-sndio/Makefile | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/audio/pulseaudio-module-sndio/Makefile b/audio/pulseaudio-module-sndio/Makefile index 4cbea17b62a0..a904bfa5a2a3 100644 --- a/audio/pulseaudio-module-sndio/Makefile +++ b/audio/pulseaudio-module-sndio/Makefile @@ -1,6 +1,6 @@ PORTNAME= pulseaudio-module-sndio DISTVERSION= 13.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= https://github.com/t6/pulseaudio-module-sndio/releases/download/${DISTVERSION}/ @@ -11,12 +11,22 @@ WWW= https://github.com/t6/pulseaudio-module-sndio LICENSE= ISCL LGPL21+ LICENSE_COMB= multi -LIB_DEPENDS= libsndio.so:audio/sndio \ - libpulse.so:audio/pulseaudio +LIB_DEPENDS= libpulse.so:audio/pulseaudio \ + libsndio.so:audio/sndio USES= pkgconfig -PULSE_MODDIR= `pkg-config --variable=modlibexecdir libpulse` -PLIST_FILES= ${PULSE_MODDIR}/module-sndio.so + SUB_FILES= pkg-message +PLIST_FILES= ${PULSE_MODDIR}/module-sndio.so + +post-patch: + ${REINPLACE_CMD} \ + -e '/^PA_MODULE_VERSION/s/0.0/${PULSE_VERSION}/1' \ + ${WRKSRC}/module-sndio.c + +.include + +PULSE_MODDIR!= ${LOCALBASE}/bin/pkg-config --variable=modlibexecdir libpulse +PULSE_VERSION!= ${LOCALBASE}/bin/pkg-config --modversion libpulse -.include +.include