mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
net-im/uTox: Unbreak with openal-soft-1.20.0
/usr/local/include/AL/alc.h:34:26: error: typedef redefinition with different types ('struct ALCdevice' vs 'struct ALCdevice_struct') typedef struct ALCdevice ALCdevice; ^ .../src/av/audio.h:8:33: note: previous definition is here typedef struct ALCdevice_struct ALCdevice; ^
This commit is contained in:
parent
15a01399a3
commit
75418ec125
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518716
19
net-im/uTox/files/patch-src_av_audio.h
Normal file
19
net-im/uTox/files/patch-src_av_audio.h
Normal file
@ -0,0 +1,19 @@
|
||||
/usr/local/include/AL/alc.h:34:26: error: typedef redefinition with different types ('struct ALCdevice' vs 'struct ALCdevice_struct')
|
||||
typedef struct ALCdevice ALCdevice;
|
||||
^
|
||||
.../uTox/src/av/audio.h:8:33: note: previous definition is here
|
||||
typedef struct ALCdevice_struct ALCdevice;
|
||||
^
|
||||
|
||||
--- src/av/audio.h.orig 2019-09-21 22:31:59 UTC
|
||||
+++ src/av/audio.h
|
||||
@@ -4,8 +4,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
-
|
||||
-typedef struct ALCdevice_struct ALCdevice;
|
||||
+#include <AL/alc.h>
|
||||
|
||||
extern bool utox_audio_thread_init;
|
||||
|
Loading…
Reference in New Issue
Block a user