fix errno declaration, regen PLIST
This commit is contained in:
parent
5fc24d3cb3
commit
61676bd3b2
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2015/04/04 09:14:00 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2016/03/16 20:15:07 naddy Exp $
|
||||
|
||||
COMMENT= UCB's MPEG-I video stream encoder
|
||||
|
||||
DISTNAME= mpeg_encode-1.5b-src
|
||||
PKGNAME= ${DISTNAME:S/-src//}
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= graphics
|
||||
|
||||
# BSD
|
||||
|
@ -1,16 +1,25 @@
|
||||
$OpenBSD: patch-libpnmrw_c,v 1.1.1.1 2001/06/19 03:22:33 angelos Exp $
|
||||
--- libpnmrw.c.orig Wed Aug 16 18:24:26 1995
|
||||
+++ libpnmrw.c Sun Jun 10 01:33:48 2001
|
||||
@@ -126,7 +126,9 @@ static void
|
||||
$OpenBSD: patch-libpnmrw_c,v 1.2 2016/03/16 20:15:07 naddy Exp $
|
||||
--- libpnmrw.c.orig Thu Aug 17 00:24:26 1995
|
||||
+++ libpnmrw.c Wed Mar 16 21:10:23 2016
|
||||
@@ -27,6 +27,7 @@
|
||||
/* #define MSDOS */
|
||||
#endif
|
||||
|
||||
+#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "libpnmrw.h"
|
||||
|
||||
@@ -126,8 +127,9 @@ static void
|
||||
pm_perror( reason )
|
||||
char* reason;
|
||||
{
|
||||
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||
extern char* sys_errlist[];
|
||||
- extern int errno;
|
||||
+#endif
|
||||
extern int errno;
|
||||
char* e;
|
||||
|
||||
e = sys_errlist[errno];
|
||||
@@ -361,7 +363,7 @@ bit* bitrow;
|
||||
int cols, format;
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 00:50:10 espie Exp $
|
||||
bin/mpeg_encode
|
||||
@comment $OpenBSD: PLIST,v 1.3 2016/03/16 20:15:07 naddy Exp $
|
||||
@bin bin/mpeg_encode
|
||||
@man man/man1/mpeg_encode.1
|
||||
share/doc/mpeg_encode/
|
||||
share/doc/mpeg_encode/template.param
|
||||
|
Loading…
Reference in New Issue
Block a user