Bug 126049

Summary: [PATCH] audio/sox: fix build after ffmpeg update
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: dnelson
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
sox-14.0.1_2.patch none

Description Dmitry Marakasov 2008-07-28 21:50:03 UTC
- Fix build after ffmpeg update

Port maintainer (dnelson@allantgroup.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-28 21:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-28 21:50:15 UTC
Maintainer of audio/sox,

Please note that PR ports/126049 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126049

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2008-07-28 21:50:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2008-07-28 22:09:34 UTC
Responsible Changed
From-To: miwi->amdmi3

Submitter has gnats access.
Comment 5 Dan Nelson 2008-07-28 22:51:52 UTC
> - Fix build after ffmpeg update
> 
> --- Makefile     7 Apr 2008 20:37:19 -0000       1.38
> +++ Makefile     28 Jul 2008 14:08:06 -0000
> @@ -7,7 +7,7 @@
>  PORTNAME=       sox
>  PORTVERSION=    14.0.1
> -PORTREVISION=   1
> +PORTREVISION=   2
>  CATEGORIES=     audio
>  MASTER_SITES=   SF
> @@ -159,5 +159,7 @@
>  post-patch:
>  	@${REINPLACE_CMD} -Ee 's![[:<:]]gsm/gsm.h!gsm.h!' ${WRKSRC}/configure \
>  	    ${WRKSRC}/src/gsm.c ${WRKSRC}/src/wav.c
> +	@${REINPLACE_CMD} -Ee 's!ffmpeg/avformat.h!libavformat/avformat.h!' \
> +	    ${WRKSRC}/configure ${WRKSRC}/src/ffmpeg.c
>  .include <bsd.port.post.mk>

The patch works for me.  Please commit!

-- 
	Dan Nelson
	dnelson@allantgroup.com
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2008-07-29 00:49:26 UTC
State Changed
From-To: feedback->closed

Actually, compatibility fix for ffmpeg was committed, so Ithis change is 
no longer needed. `if it works, don't fix it' :)