Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 10:00:27 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518716 - head/net-im/uTox/files
Message-ID:  <201911301000.xAUA0R1L092115@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911301000.xAUA0R1L092115>