From 8e44749bb5e0e94e734bd6c3db22e2484b5ecdb5 Mon Sep 17 00:00:00 2001 From: daichi Date: Thu, 3 Jul 2003 13:31:39 +0000 Subject: fix multimedia/avifile: avifile WITH_AC3PASSTHROUGH=yes build failure PR: 47240 Submitted by: Chris BeHanna --- .../avifile/files/patch-plugins::libac3pass::ac3-iec958.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 multimedia/avifile/files/patch-plugins::libac3pass::ac3-iec958.c (limited to 'multimedia') diff --git a/multimedia/avifile/files/patch-plugins::libac3pass::ac3-iec958.c b/multimedia/avifile/files/patch-plugins::libac3pass::ac3-iec958.c new file mode 100644 index 0000000..51facd5 --- /dev/null +++ b/multimedia/avifile/files/patch-plugins::libac3pass::ac3-iec958.c @@ -0,0 +1,13 @@ +--- plugins/libac3pass/ac3-iec958.c.orig Sun Jan 19 23:22:12 2003 ++++ plugins/libac3pass/ac3-iec958.c Sun Jan 19 23:29:53 2003 +@@ -21,7 +21,9 @@ + #include + #include + #include +-#ifndef __USE_XOPEN ++#if !defined(__USE_XOPEN) && ((__FreeBSD_cc_version < 460001) || \ ++ defined(_ANSI_SOURCE) || \ ++ defined(_POSIX_SOURCE)) + void swab(const void *from, void *to, ssize_t n); + #endif + #include "ac3-iec958.h" -- cgit v1.1