Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 16:16:16 -0500 (EST)
From:      Michael Johnson <ahze@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        molnarcs@gmail.com, lioux@FreeBSD.org
Subject:   ports/106618: [PATCH] multimedia/ffmpeg-devel: Don't patch non existent file 
Message-ID:  <200612112116.kBBLGGmQ074958@blueherron.ahze.net>
Resent-Message-ID: <200612112150.kBBLo2w3019932@freefall.freebsd.org>

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

>Number:         106618
>Category:       ports
>Synopsis:       [PATCH] multimedia/ffmpeg-devel: Don't patch non existent file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 11 21:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        
>Organization:
>Environment:
System:
>Description:
Curently bktr seems to be missing some bits and if you define
WITH_BKTR_FORMAT or WITH_BKTR_DEV make tries to REINPLACE_CMD
a non existent file then fails.

Reported by:	molnarcs@gmail.com

>How-To-Repeat:

cd multimedia/ffmpeg-devel && make patch WITH_BKTR_FORMAT=1 WITH_BKTR_DEV=1

>Fix:

--- ffmpeg-devel-0.4.9.c.2006032300_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/ffmpeg-devel/Makefile,v
retrieving revision 1.99
diff -u -r1.99 Makefile
--- Makefile	7 Oct 2006 19:22:01 -0000	1.99
+++ Makefile	11 Dec 2006 21:08:23 -0000
@@ -498,14 +498,14 @@
 		${WRKSRC}/libavformat/audio.c
 .endif
 .ifdef(WITH_BKTR_DEV)
-	@${REINPLACE_CMD} -E \
-		-e "s!idev = 0!idev = ${WITH_BKTR_DEV}!" \
-		${WRKSRC}/libavformat/grab_bsdbktr.c
+#	@${REINPLACE_CMD} -E \
+#		-e "s!idev = 0!idev = ${WITH_BKTR_DEV}!" \
+#		${WRKSRC}/libavformat/grab_bsdbktr.c
 .endif
 .ifdef(WITH_BKTR_FORMAT)
-	@${REINPLACE_CMD} -E \
-		-e "s!VIDEO_FORMAT NTSC!VIDEO_FORMAT ${WITH_BKTR_FORMAT}!" \
-		${WRKSRC}/libavformat/grab_bsdbktr.c
+#	@${REINPLACE_CMD} -E \
+#		-e "s!VIDEO_FORMAT NTSC!VIDEO_FORMAT ${WITH_BKTR_FORMAT}!" \
+#		${WRKSRC}/libavformat/grab_bsdbktr.c
 .endif
 .endif # WITH_VIDEO_CAPTURE
 .endif # ${ARCH} == i386
--- ffmpeg-devel-0.4.9.c.2006032300_4.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?200612112116.kBBLGGmQ074958>