From nobody Wed Jun 28 20:45:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qrtrw1H6wz4kZSv; Wed, 28 Jun 2023 20:45:52 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qrtrw0gzkz3ncG; Wed, 28 Jun 2023 20:45:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687985152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d8kSG8G6UTp7pwK3OyEp2bAhKtXC/JJTwCpqpIf6WJ4=; b=dcAbfQLnT2+HvBxL0gguNw+G+p6VBmtHSSFo3RwBAfQrkMXIbrDUZ4hmTmZNGDDKV8De5K c9m4kVvNtlgxTO91FRAB7y2s8K6/jA2aK1VOzJ2YhhZF9z+VIM7Zh0J694x8IQb48yRul2 iBa4M8FoA7wcVAeyrmhBbl7OYx1F5v9/y9CYgeAvhFA+WTlHohu2PdPKquxrwjGyrqTSW1 xNqjUyvH/tpV0R8dnvkmXGcNiwSqlPN/Mm355UbN/HC61NO6UYLAGFP8njROSySFsBvUjg fohzg7B4Pu2M4Ioj6oChlR+DFkV47Yh4pXGNgRmwlFG/q15F4tLKnWTpS7Cwsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687985152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d8kSG8G6UTp7pwK3OyEp2bAhKtXC/JJTwCpqpIf6WJ4=; b=hd2CgnKCz2dt842iVT6hDf8REvZuoYoLMf5ta3WDM3GYiuEFyMkhqyAxWhJMtvZbGB4t7J bB733NVVpmHI5jXmZKP4/8bnc6lo63Ntd6OJDLMtffLC21L3sy5oQuSlFFUk2wfnwvuMHq xEwFt6BQwTxnabX/EgRVjQRbVwKK8kdmDIzpyCeMDYuL9VSFsX+OFJ1GClzF5GC+0B56dF rS4fIDX0CJm80mseZmV96layo6Hi87u+YHb4/mzhgm+JsjEJYEMnr6JG0yFzY8orE99039 vywfs3f904Znwptyd1rQLtxtxSrXmh+LQHTJ2hqCTCj5WQq26IrmRkF8FeN7bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687985152; a=rsa-sha256; cv=none; b=P2h0OTP/GETcF/X//qGQrm0dRjNuXBYq+a89/k7+k8rkeGRPFL12XRGOd7vrYlHISwg6i+ HNemJap56NnuQgPIOxBaM3UaPbDzTVarvp14uNYg78siW1/j8UCjkVYUtarBwQG7AUSH0E sv+h4d50eyshsyaPRWL2svQVl4VZkCb5DDIxREejhrmrDMsREbtqdtTlZ4MN+0exckW0OE 5+Xi82iyNOrVLpVILmdj4f6++LinrxhTyTIvll6ijgi95G1fosIv72iSgZd+mreYjMtwDe ebK+WtYbpww5ruRQaxkNHhalBYH/2E0+R0c2M+UFa5ulwhXY5y1wxlVdpK1DHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qrtrv6tGwzpM1; Wed, 28 Jun 2023 20:45:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35SKjpiA058015; Wed, 28 Jun 2023 20:45:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35SKjpK7058014; Wed, 28 Jun 2023 20:45:51 GMT (envelope-from git) Date: Wed, 28 Jun 2023 20:45:51 GMT Message-Id: <202306282045.35SKjpK7058014@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 3416b961cead - main - games/freesynd: Fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3416b961ceadd9d80f475ec6fe3561bafe9c987b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=3416b961ceadd9d80f475ec6fe3561bafe9c987b commit 3416b961ceadd9d80f475ec6fe3561bafe9c987b Author: Guido Falsi AuthorDate: 2023-06-28 20:44:15 +0000 Commit: Guido Falsi CommitDate: 2023-06-28 20:44:15 +0000 games/freesynd: Fix build with clang 16 --- games/freesynd/files/patch-src_app.h | 21 +++++++++++++++++++++ games/freesynd/files/patch-src_dump.cpp | 11 +++++++++++ games/freesynd/files/patch-src_editor_editorapp.h | 19 +++++++++++++++++++ games/freesynd/files/patch-src_freesynd.cpp | 11 +++++++++++ 4 files changed, 62 insertions(+) diff --git a/games/freesynd/files/patch-src_app.h b/games/freesynd/files/patch-src_app.h new file mode 100644 index 000000000000..1554bf2d04ce --- /dev/null +++ b/games/freesynd/files/patch-src_app.h @@ -0,0 +1,21 @@ +--- src/app.h.orig 2016-05-01 20:07:33 UTC ++++ src/app.h +@@ -153,13 +153,13 @@ class App : public Singleton < App > { (private) + private: + bool running_; + /*! A structure to hold general application informations.*/ +- std::auto_ptr context_; ++ std::unique_ptr context_; + /*! A structure to hold player informations.*/ +- std::auto_ptr session_; ++ std::unique_ptr session_; + /*! Controls the game logic. */ +- std::auto_ptr game_ctlr_; +- std::auto_ptr screen_; +- std::auto_ptr system_; ++ std::unique_ptr game_ctlr_; ++ std::unique_ptr screen_; ++ std::unique_ptr system_; + + std::string iniPath_; + diff --git a/games/freesynd/files/patch-src_dump.cpp b/games/freesynd/files/patch-src_dump.cpp new file mode 100644 index 000000000000..c10f5972ad65 --- /dev/null +++ b/games/freesynd/files/patch-src_dump.cpp @@ -0,0 +1,11 @@ +--- src/dump.cpp.orig 2016-05-01 20:07:33 UTC ++++ src/dump.cpp +@@ -584,7 +584,7 @@ int main(int argc, char *argv[]) { + } + + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application...")) +- std::auto_ptr app(new EditorApp(disable_sound)); ++ std::unique_ptr app(new EditorApp(disable_sound)); + + if (app->initialize(iniPath)) { + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application completed")) diff --git a/games/freesynd/files/patch-src_editor_editorapp.h b/games/freesynd/files/patch-src_editor_editorapp.h new file mode 100644 index 000000000000..5459198c8641 --- /dev/null +++ b/games/freesynd/files/patch-src_editor_editorapp.h @@ -0,0 +1,19 @@ +--- src/editor/editorapp.h.orig 2016-05-01 20:07:33 UTC ++++ src/editor/editorapp.h +@@ -122,12 +122,12 @@ class EditorApp : public Singleton < EditorApp > { (pr + private: + bool running_; + +- std::auto_ptr screen_; +- std::auto_ptr system_; ++ std::unique_ptr screen_; ++ std::unique_ptr system_; + /*! A structure to hold general application informations.*/ +- std::auto_ptr context_; ++ std::unique_ptr context_; + /*! Controls the game logic. */ +- std::auto_ptr game_ctlr_; ++ std::unique_ptr game_ctlr_; + + std::string iniPath_; + diff --git a/games/freesynd/files/patch-src_freesynd.cpp b/games/freesynd/files/patch-src_freesynd.cpp new file mode 100644 index 000000000000..abd822874ac6 --- /dev/null +++ b/games/freesynd/files/patch-src_freesynd.cpp @@ -0,0 +1,11 @@ +--- src/freesynd.cpp.orig 2016-05-01 20:07:33 UTC ++++ src/freesynd.cpp +@@ -229,7 +229,7 @@ int main(int argc, char *argv[]) { + } + + LOG(Log::k_FLG_INFO, "Main", "main", ("----- Initializing application...")) +- std::auto_ptr app(new App(disable_sound)); ++ std::unique_ptr app(new App(disable_sound)); + + if (app->initialize(iniPath)) { + // setting the cheat codes