ports/106618: [PATCH] multimedia/ffmpeg-devel: Don't patch non existent file

Michael Johnson ahze at FreeBSD.org
Mon Dec 11 22:08:50 UTC 2006


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



More information about the freebsd-ports-bugs mailing list