mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
fix multimedia/avifile: avifile WITH_AC3PASSTHROUGH=yes build failure
PR: 47240 Submitted by: Chris BeHanna <chris@pennasoft.com>
This commit is contained in:
parent
2be3e37efb
commit
f5b3c117bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84133
@ -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 <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))
|
||||
void swab(const void *from, void *to, ssize_t n);
|
||||
#endif
|
||||
#include "ac3-iec958.h"
|
Loading…
Reference in New Issue
Block a user