pkgsrc-wip/avifile-devel/patches/patch-ae
OBATA Akio dd4166de1d update avifile-devel to 0.7.45.
Changes were not noted.
2006-08-10 05:05:31 +00:00

15 lines
591 B
Text

$NetBSD: patch-ae,v 1.2 2006/08/10 05:05:31 obache Exp $
--- plugins/libac3pass/ac3-iec958.c.orig 2004-02-20 09:21:13.000000000 +0000
+++ plugins/libac3pass/ac3-iec958.c
@@ -21,7 +21,10 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#ifndef __USE_XOPEN
+#if !defined(__USE_XOPEN) && ((__FreeBSD_cc_version < 460001) || \
+ defined(_ANSI_SOURCE) || \
+ defined(_POSIX_SOURCE)) \
+ && !defined(__NetBSD__)
void swab(const void *from, void *to, ssize_t n);
#endif
#include "ac3-iec958.h"