svn commit: r518716 - head/net-im/uTox/files
Tobias Kortkamp
tobik at FreeBSD.org
Sat Nov 30 10:00:28 UTC 2019
Author: tobik
Date: Sat Nov 30 10:00:27 2019
New Revision: 518716
URL: https://svnweb.freebsd.org/changeset/ports/518716
Log:
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;
^
Added:
head/net-im/uTox/files/patch-src_av_audio.h (contents, props changed)
Added: head/net-im/uTox/files/patch-src_av_audio.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-im/uTox/files/patch-src_av_audio.h Sat Nov 30 10:00:27 2019 (r518716)
@@ -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;
+
More information about the svn-ports-head
mailing list