Bug 280857 - audio/pulseaudio-module-sndio doesn't match the expected version
Summary: audio/pulseaudio-module-sndio doesn't match the expected version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-16 10:29 UTC by Per Gunnarsson
Modified: 2024-12-08 08:13 UTC (History)
1 user (show)

See Also:
jbeich: merge-quarterly+


Attachments
chenges version number from 0.0 to 16.1 in the file module-sndio.c (352 bytes, patch)
2024-08-16 10:29 UTC, Per Gunnarsson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Gunnarsson 2024-08-16 10:29:41 UTC
Created attachment 252816 [details]
chenges version number from 0.0 to 16.1 in the file module-sndio.c

I tried to update the port, but I forgot how to make ports apply my påatches.
I provide a patch which may not work in ports but shows one solution tp the problem.

Changing the version number in module-sndio.c to the pulseaudio ports version number works for me.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-12-08 08:07:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=060f5301747fc31ed67f0fef2c94d10c97405e15

commit 060f5301747fc31ed67f0fef2c94d10c97405e15
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-12-08 07:40:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-12-08 08:06:40 +0000

    audio/pulseaudio-module-sndio: unbreak module version again

    Either pkgconfig or pulseaudio may not be available during patch phase.
    For example, poudriere shows the following:

    /bin/sh: /usr/local/bin/pkg-config: not found

    PR:             280857

 audio/pulseaudio-module-sndio/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-12-08 08:09:08 UTC
A commit in branch 2024Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63698f06a1f6e1f2bfa1ea5b50506d86596a5524

commit 63698f06a1f6e1f2bfa1ea5b50506d86596a5524
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-12-08 07:40:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-12-08 08:08:06 +0000

    audio/pulseaudio-module-sndio: unbreak module version again

    Either pkgconfig or pulseaudio may not be available during patch phase.
    For example, poudriere shows the following:

    /bin/sh: /usr/local/bin/pkg-config: not found

    PR:             280857
    (cherry picked from commit 060f5301747fc31ed67f0fef2c94d10c97405e15)

 audio/pulseaudio-module-sndio/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Jan Beich freebsd_committer freebsd_triage 2024-12-08 08:13:41 UTC
Originally fixed by ports 981929d361d7 then ports 35db13a201c4 but, for some reason, https://lists.freebsd.org/archives/dev-commits-ports-main/2024-August/118486.html ended up ignored.