mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build with lang/gcc.
Reported by: Gautam Mani <gautam@execve.net> (via private email) Feature safe: yes
This commit is contained in:
parent
2ab1c87975
commit
07ff3cd47c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293582
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/audio_dec/xine_lpcm_decoder.c.orig
|
||||||
|
+++ src/audio_dec/xine_lpcm_decoder.c
|
||||||
|
@@ -30,6 +30,9 @@
|
||||||
|
#endif
|
||||||
|
/* avoid compiler warnings */
|
||||||
|
#define _BSD_SOURCE 1
|
||||||
|
+#ifdef __FreeBSD__
|
||||||
|
+#define __BSD_VISIBLE 1
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
Loading…
Add table
Reference in a new issue