ports/64011: [Patch] multimedia/mjpegtools -- Fix header for other programs.

michael johnson ahze at ahze.net
Tue Mar 9 21:50:19 UTC 2004


>Number:         64011
>Category:       ports
>Synopsis:       [Patch] multimedia/mjpegtools -- Fix header for other programs.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 09 13:50:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        
>Organization:
>Environment:
>Description:
this fixes utils/yuv4mpeg.h so other programs can use it with out error.
>How-To-Repeat:
      
>Fix:
diff -ruN multimedia/mjpegtools.orig/Makefile multimedia/mjpegtools/Makefile
--- multimedia/mjpegtools.orig/Makefile	Tue Mar  9 16:27:10 2004
+++ multimedia/mjpegtools/Makefile	Tue Mar  9 16:45:25 2004
@@ -134,6 +134,9 @@
 .endif
 
 post-patch:
+	@${REINPLACE_CMD}  -e 's|#include <mjpeg_types.h>|#include "mjpeg_types.h"|; \
+		s|#include <mjpeg_logging.h>|#include "mjpeg_logging.h"|' \
+		${WRKSRC}/utils/yuv4mpeg.h
 	@${REINPLACE_CMD} -E -e 's|^(pkgconfigdir = )\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \
 		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list