From owner-svn-ports-head@freebsd.org Sat Nov 30 22:36:29 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B26C1BAD16; Sat, 30 Nov 2019 22:36:29 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47QR7J6Y9Gz4cLd; Sat, 30 Nov 2019 22:36:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C41E25425; Sat, 30 Nov 2019 22:36:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAUMaSIY038942; Sat, 30 Nov 2019 22:36:28 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAUMaSwp038941; Sat, 30 Nov 2019 22:36:28 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201911302236.xAUMaSwp038941@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 30 Nov 2019 22:36:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518737 - head/games/spring/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/spring/files X-SVN-Commit-Revision: 518737 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 22:36:29 -0000 Author: tobik Date: Sat Nov 30 22:36:28 2019 New Revision: 518737 URL: https://svnweb.freebsd.org/changeset/ports/518737 Log: games/spring: Unbreak with openal-soft-1.20.0 In file included from rts/System/Sound/OpenAL/Sound.cpp:7: /usr/local/include/AL/alc.h:34:16: error: typedef 'ALCdevice' cannot be referenced with a struct specifier typedef struct ALCdevice ALCdevice; ^ rts/System/Sound/OpenAL/Sound.h:23:33: note: declared here typedef struct ALCdevice_struct ALCdevice; ^ 1 error generated. http://beefy6.nyi.freebsd.org/data/120amd64-default/518685/logs/errors/spring-98.0_19.log Added: head/games/spring/files/patch-rts_System_Sound_OpenAL_Sound.h (contents, props changed) Added: head/games/spring/files/patch-rts_System_Sound_OpenAL_Sound.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/spring/files/patch-rts_System_Sound_OpenAL_Sound.h Sat Nov 30 22:36:28 2019 (r518737) @@ -0,0 +1,28 @@ +In file included from rts/System/Sound/OpenAL/Sound.cpp:7: +/usr/local/include/AL/alc.h:34:16: error: typedef 'ALCdevice' cannot be referenced with a struct specifier +typedef struct ALCdevice ALCdevice; + ^ +rts/System/Sound/OpenAL/Sound.h:23:33: note: declared here +typedef struct ALCdevice_struct ALCdevice; + ^ +1 error generated. + +--- rts/System/Sound/OpenAL/Sound.h.orig 2019-11-30 22:16:43 UTC ++++ rts/System/Sound/OpenAL/Sound.h +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + #include "System/float3.h" + +@@ -19,8 +20,6 @@ + class CSoundSource; + class SoundBuffer; + class SoundItem; +-struct ALCdevice_struct; +-typedef struct ALCdevice_struct ALCdevice; + + namespace boost { + class thread;