Hello community, here is the log from the commit of package utox for openSUSE:Factory checked in at 2020-02-22 19:08:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/utox (Old) and /work/SRC/openSUSE:Factory/.utox.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "utox" Sat Feb 22 19:08:41 2020 rev:3 rq:778180 version:0.17.1 Changes: -------- --- /work/SRC/openSUSE:Factory/utox/utox.changes 2019-09-23 12:39:53.597585522 +0200 +++ /work/SRC/openSUSE:Factory/.utox.new.26092/utox.changes 2020-02-22 19:08:49.130631153 +0100 @@ -1,0 +2,5 @@ +Sat Feb 22 09:18:40 UTC 2020 - Andrey Karepin <egdf...@opensuse.org> + +- added patch fix_build_with_openAL_1.20.patch to fix build with openAL 1.20 + +------------------------------------------------------------------- New: ---- fix_build_with_openAL_1.20.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ utox.spec ++++++ --- /var/tmp/diff_new_pack.MIyLND/_old 2020-02-22 19:08:50.190633265 +0100 +++ /var/tmp/diff_new_pack.MIyLND/_new 2020-02-22 19:08:50.194633272 +0100 @@ -1,7 +1,7 @@ # # spec file for package utox # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source: https://github.com/uTox/uTox/releases/download/v%{version}/%{realname}-%{version}-full.tar.gz Source1: https://github.com/uTox/uTox/releases/download/v%{version}/%{realname}-%{version}-full.tar.gz.asc Source2: uTox.keyring +# PATCH-FEATURE-UPSTREAM fix_build_with_openAL_1.20.patch +Patch: fix_build_with_openAL_1.20.patch BuildRequires: c-toxcore-devel BuildRequires: cmake >= 3.2 BuildRequires: dbus-1-devel @@ -52,6 +54,7 @@ %prep %setup -q -n %{realname} +%patch0 -p1 %build %cmake \ ++++++ fix_build_with_openAL_1.20.patch ++++++ commit b608d584d9b6aeae916dec48c2cadf2e631f91b8 Author: Tobias Kortkamp <t...@tobik.me> Date: Sat Nov 30 17:10:58 2019 +0100 Unbreak build with OpenAL 1.20.0 In file included from /home/tobias/src/github.com/uTox/uTox/src/av/audio.c:33: /usr/local/include/AL/alc.h:34:26: error: typedef redefinition with different types ('struct ALCdevice' vs 'struct ALCdevice_struct') typedef struct ALCdevice ALCdevice; ^ /home/tobias/src/github.com/uTox/uTox/src/av/audio.h:8:33: note: previous definition is here typedef struct ALCdevice_struct ALCdevice; ^ 1 error generated. diff --git a/src/av/audio.h b/src/av/audio.h index 4edb0e45..e6b08550 100644 --- a/src/av/audio.h +++ b/src/av/audio.h @@ -5,7 +5,11 @@ #include <stdint.h> #include <stdbool.h> -typedef struct ALCdevice_struct ALCdevice; +#ifdef __APPLE__ +#include <OpenAL/alc.h> +#else +#include <AL/alc.h> +#endif extern bool utox_audio_thread_init;