pkgsrc/graphics/avifile/patches/patch-ad
zuntum 821cb0d8ef Initial import of avifile-0.53.5
An MPEG-4 (aka DivX) player built around the Windows binaries,
but does not need Wine.
There is also a xmps plugin you can build (manually).

NOTE: aviplay (player originally included in the package) does not work
and thus the package does not build it. I'll send mail about tiny,
but working player to netbsd-users@netbsd.org soon.
2001-04-12 21:26:21 +00:00

22 lines
573 B
Text

$NetBSD: patch-ad,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
--- lib/avifile/FastReadStream.cpp.orig Sun Nov 26 18:43:55 2000
+++ lib/avifile/FastReadStream.cpp
@@ -6,7 +6,7 @@
#include <string.h>
#include <errno.h>
#include <sys/types.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <features.h>
#endif
#include <unistd.h>
@@ -16,7 +16,7 @@
#include <stdlib.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
#define lseek64 lseek
#else
extern "C" __int64 lseek64(int fd, __int64 offset, int);