ports/126049: [PATCH] audio/sox: fix build after ffmpeg update

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jul 28 20:50:04 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list