Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2008 00:49:30 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dnelson@allantgroup.com
Subject:   ports/126049: [PATCH] audio/sox: fix build after ffmpeg update
Message-ID:  <20080728204930.CF0CB1702F@hades.panopticon>
Resent-Message-ID: <200807282050.m6SKo3Oa035754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126049
>Category:       ports
>Synopsis:       [PATCH] audio/sox: fix build after ffmpeg update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 28 20:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008
>Description:
- Fix build after ffmpeg update

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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- sox-14.0.1_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/audio/sox/Makefile,v
retrieving revision 1.38
diff -u -u -r1.38 Makefile
--- 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>
--- sox-14.0.1_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080728204930.CF0CB1702F>