From nobody Tue Jul 04 11:51:27 2023 X-Original-To: dev-commits-ports-all@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 4QwLjX0yxZz4lpsM; Tue, 4 Jul 2023 11:51:28 +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 4QwLjW2qp4z3pDb; Tue, 4 Jul 2023 11:51:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688471487; 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=U3Z4rJS8yhWvLBZmtnnr006SIQ563pK7hsJvZW9x7A4=; b=J+o6lReQNzis7HWVoHD9Dshu6RYCUWYPqd40hyiNa94LysoaBtVST2rO/KZKhhVSia60bv I3FCokUeavfgBlOkGeUXipbRGAbxPLxlKgXf3accFCFLEOwSdJOD4wcp8bXdjJkh5n7tT6 JolP4F9VQ+F9aCFH8jLdJdGo4CSirb9/jOFDwPL+oZs9iic+kEjeFUIcXBTgZNEfL73oKd 4++HGLYl+QthZ3/o0VoTtMKdRDiVIR8PAnoPrwubi74OOfQvLzVVL1QAFLXFeyuuloqjOo vPKdoA/GFaRdJhU5vZ0X7GsjZwG4JJxRUyL/7JIEvR6kVQm2SSQAH5ABDSecNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688471487; 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=U3Z4rJS8yhWvLBZmtnnr006SIQ563pK7hsJvZW9x7A4=; b=rKRszMlbN/+8GX0Gyir1YKqm+zVDoz0bAJOeR3d5oVospjVhfoHUJQW43CMm0Orma+H6UT iI63YQ2j6+s17Qg+A7QCCQ/JkJ2w2Sc2xbbI4fBWeWuUcJV3Dj6kRyXMVb39EWm9jwEYJX 39tzAO+InIydMHgrbLg36NlIbQeo4EVvWimH5h/trOR1dxE3apHqHSjQqgDY4Jk9kgpObA C+9N/1tJzzUDrquImE0PNtbx0wTx636zyh1weeOu4UKA3kG+wBkJs7DVsQo5sMQeAlerIO SjRh1II6x5tqCDpR9y/TnpXG99I8eFO0R7v+n5wxgs9qWVpcxkjdx+Mbl2Pj4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688471487; a=rsa-sha256; cv=none; b=dPmXE48lD18RJyMMsUauonOhoy6JcCnU8r7NivY1dYFx7XjkXLwD90k0RvJLpHuMWTGZQ8 cBH6CFYFqQRZB4pmWC1g/QxY7JKWtu6mKBsDZcBmTtOqrGmgOnlFn8QLFN37xCWR+RoguJ Fyjqoqn4J6tpV1QHbG7bCjJ/pfyYxfBOndicZccpvXq93ql27bMe5seQN1hqj/NI77yALe 7KVzM2x/BYUdaCdSevITrfiMNp93+AC41DZw1/FqurLShRwg/F5rRkWXxiNjOJC4pdlygI X9eOfEAEo7XuVlCeVVnV+asncxG2aoV4kq0DNFQJXh3EzJAnXiGS8VyqvHE8cw== 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 4QwLjW1wL7zWsh; Tue, 4 Jul 2023 11:51:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 364BpRnZ063912; Tue, 4 Jul 2023 11:51:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 364BpRAo063911; Tue, 4 Jul 2023 11:51:27 GMT (envelope-from git) Date: Tue, 4 Jul 2023 11:51:27 GMT Message-Id: <202307041151.364BpRAo063911@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 00ad410bc008 - main - games/trenchbroom: unbreak the port's build against Clang 16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00ad410bc0087d24ed61a88996839ec9aaeec023 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=00ad410bc0087d24ed61a88996839ec9aaeec023 commit 00ad410bc0087d24ed61a88996839ec9aaeec023 Author: Alexey Dokuchaev AuthorDate: 2023-07-04 11:50:50 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-07-04 11:50:50 +0000 games/trenchbroom: unbreak the port's build against Clang 16 Replace deprecated since C++11 and removed from C++17 `std::auto_ptr' smart pointer class with `std::unique_ptr' which luckily can be used as a drop-in replacement in this case. Reported by: pkg-fallout --- games/trenchbroom/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile index 3be5b482b795..b278d139973f 100644 --- a/games/trenchbroom/Makefile +++ b/games/trenchbroom/Makefile @@ -37,6 +37,9 @@ post-patch: ${WRKSRC}/common/src/IO/SystemPaths.cpp @${REINPLACE_CMD} -e '/return m_.*Margin/s,(),,' \ ${WRKSRC}/common/src/View/CellLayout.h + @${REINPLACE_CMD} -e '/typedef std::/s,auto_ptr,unique_ptr,' \ + ${WRKSRC}/common/src/IO/NodeSerializer.h \ + ${WRKSRC}/common/src/Renderer/FontTexture.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/TrenchBroom ${STAGEDIR}${PREFIX}/bin