Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 13:49:11 -0800 (PST)
From:      michael johnson <ahze@ahze.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/64011: [Patch] multimedia/mjpegtools -- Fix header for other programs.
Message-ID:  <200403092149.i29LnBqw034858@www.freebsd.org>
Resent-Message-ID: <200403092150.i29LoIJJ081444@freefall.freebsd.org>

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

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



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