From nobody Tue Jun 27 18:16:12 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 4QrCZh56txz4jt3M; Tue, 27 Jun 2023 18:16:12 +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 4QrCZh4cm1z4BNW; Tue, 27 Jun 2023 18:16:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687889772; 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=qqjZ6YLxmg39xh9KkHA1e+OD9EV/yN4vx2j+YsMaZWU=; b=E5cfrCbfi2nhQRXKVbSbRAIHEjPxX8Vv1X/qTDTBUsQ7zB+n9HqvIdZ2mQDYyDkuFHftDN labXKlDTOvtwLczhrL2lGotxBuapz8f2oZdpUZaynYH2qLZ+kDdAKO46Y6s10PIXYQqVj1 PgTaAA6fjohAb9CeLLcSHAPSwucIsAZhINnr4sY2pTiWcc57Qchabn+SOm6uLwaDunMrxG 7oTaXBFb9LEA5zhxmp00aCxyzoGoXJwVyWVa2mpODAOGkDEXVrWW6HcCq1Ym4ZxfQ6ErWc HNbcra3JF42lFWUPnHjaUa0D0GyaTXtBfHgc5yrtZTNOa1Sv6WHs2CDXo1z2KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687889772; 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=qqjZ6YLxmg39xh9KkHA1e+OD9EV/yN4vx2j+YsMaZWU=; b=kTFc9zgjVuEUKvkv0y03PfNJHrzXm187rmpVWbias9861MfiCmqatI9zPeSISYijT8IPin yuVAh5GH18ELv8DKbj4oA59CajXhmV5MPzA2Z9FjlmZgsdOZ1mn25ZHgwPNwXO8tzGOid6 AwENaOeM6YFS+WfmHCvWRKtXdxDjcDjDgiLy+rbs4S6zRzaHd3W3p5ett92b6+oCIn7J9w vneAOaY5DU7YF+1Cvqx600sv+MkFuAEYSGuQBv+LTTckaUF0BXXLUnxP8VSSKNJUakZl/4 0r3JiJsy2vyaPa3CyMcr1i+60um0cOojr5RWsMaVkZKeO9+6yxLnLyZCQYfFfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687889772; a=rsa-sha256; cv=none; b=WVCNA/0YxjK00F57vtQyRI5d0Gm+F9KnWkuJi+gPqiHVjs3GFTTUhFj8ebU3f1E+b5cx7p GZ1VThyz6bis31lq6eED3jEgIrCpXcXqpufQ2ZlrwiHKKHcEOxBQDQXiatRIJeCloyKm0P 05vtLzQuLeb9qc9ucr2Fn6xw0LDiQV2Ik7kZO8QJooFqcZLG747kkIFuoMmOKFnjO8a+5s OpvwOwCIPoKji2gTjKnAjglwaPGctwXid14y1659wLWfYzOscoQ3YExrBeEb28zAIbPrVi faJDqkv4hSnd7f9cUr/zcQEv/LUtlO4/hEPdDgA6CWTf+9Fi2POUULRI3B9b/A== 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 4QrCZh3gbgz12N1; Tue, 27 Jun 2023 18:16:12 +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 35RIGCxf005537; Tue, 27 Jun 2023 18:16:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35RIGCtk005536; Tue, 27 Jun 2023 18:16:12 GMT (envelope-from git) Date: Tue, 27 Jun 2023 18:16:12 GMT Message-Id: <202306271816.35RIGCtk005536@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Danilo Egea Gondolfo Subject: git: e714e6b229b9 - main - games/doomsday: Fix build with LLVM 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: danilo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e714e6b229b90e9a18e178541a1691cf2e1e9dc7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danilo: URL: https://cgit.FreeBSD.org/ports/commit/?id=e714e6b229b90e9a18e178541a1691cf2e1e9dc7 commit e714e6b229b90e9a18e178541a1691cf2e1e9dc7 Author: Danilo Egea Gondolfo AuthorDate: 2023-06-26 18:30:25 +0000 Commit: Danilo Egea Gondolfo CommitDate: 2023-06-27 18:15:58 +0000 games/doomsday: Fix build with LLVM 16 It was failing with "call to 'round' is ambiguous". --- .../patch-apps_client_src_ui_dialogs_filedownloaddialog.cpp | 11 +++++++++++ .../patch-apps_client_src_ui_widgets_cvarsliderwidget.cpp | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/games/doomsday/files/patch-apps_client_src_ui_dialogs_filedownloaddialog.cpp b/games/doomsday/files/patch-apps_client_src_ui_dialogs_filedownloaddialog.cpp new file mode 100644 index 000000000000..c0a3946791f3 --- /dev/null +++ b/games/doomsday/files/patch-apps_client_src_ui_dialogs_filedownloaddialog.cpp @@ -0,0 +1,11 @@ +--- apps/client/src/ui/dialogs/filedownloaddialog.cpp.orig 2023-06-26 18:10:09 UTC ++++ apps/client/src/ui/dialogs/filedownloaddialog.cpp +@@ -47,7 +47,7 @@ DENG_GUI_PIMPL(FileDownloadDialog) + if (!bytes.end) return; + + auto &indicator = self().progressIndicator(); +- indicator.setProgress(round(100.0 * double(bytes.size())/double(bytes.end))); ++ indicator.setProgress(de::round(100.0 * double(bytes.size())/double(bytes.end))); + + indicator.setText(tr("%1\n" _E(l)_E(F) "%2 file%3 / %4 MB") + .arg(message) diff --git a/games/doomsday/files/patch-apps_client_src_ui_widgets_cvarsliderwidget.cpp b/games/doomsday/files/patch-apps_client_src_ui_widgets_cvarsliderwidget.cpp new file mode 100644 index 000000000000..a93e67d0828d --- /dev/null +++ b/games/doomsday/files/patch-apps_client_src_ui_widgets_cvarsliderwidget.cpp @@ -0,0 +1,10 @@ +--- apps/client/src/ui/widgets/cvarsliderwidget.cpp.orig 2023-06-26 18:09:55 UTC ++++ apps/client/src/ui/widgets/cvarsliderwidget.cpp +@@ -87,6 +87,6 @@ void CVarSliderWidget::setCVarValueFromWidget() + } + else + { +- CVar_SetInteger(d->var(), round(value())); ++ CVar_SetInteger(d->var(), de::round(value())); + } + }