diff --git a/multimedia/mpeg_encode/Makefile b/multimedia/mpeg_encode/Makefile index 6f314de8cd4c..d65411bb870d 100644 --- a/multimedia/mpeg_encode/Makefile +++ b/multimedia/mpeg_encode/Makefile @@ -1,26 +1,27 @@ PORTNAME= mpeg_encode PORTVERSION= 1.5b +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= LOCAL/ahze DISTNAME= ${PKGNAME}-src MAINTAINER= multimedia@FreeBSD.org COMMENT= UCB's MPEG-I video stream encoder OPTIONS_DEFINE= DOCS WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: @(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \ ${XARGS} ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/") do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in users-guide.ps template.param @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/multimedia/mpeg_encode/files/patch-libpnmrw.c b/multimedia/mpeg_encode/files/patch-libpnmrw.c index 5af9c672ec4a..5eada909fcc1 100644 --- a/multimedia/mpeg_encode/files/patch-libpnmrw.c +++ b/multimedia/mpeg_encode/files/patch-libpnmrw.c @@ -1,11 +1,21 @@ ---- ./libpnmrw.c~ Thu Aug 1 08:52:14 1996 -+++ ./libpnmrw.c Thu Aug 1 08:51:26 1996 -@@ -126,7 +126,9 @@ +--- ./libpnmrw.c.orig ++++ ./libpnmrw.c +@@ -27,6 +27,7 @@ + /* #define MSDOS */ + #endif + ++#include + #include + #include "libpnmrw.h" + +@@ -126,8 +127,10 @@ pm_perror( reason ) char* reason; { +#ifndef __FreeBSD__ extern char* sys_errlist[]; -+#endif extern int errno; ++#endif char* e; + + e = sys_errlist[errno];