From nobody Wed Feb 9 14:25:08 2022 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 1A02A19B883F; Wed, 9 Feb 2022 14:25:09 +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 4Jv2GD6wp7z3DBf; Wed, 9 Feb 2022 14:25:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644416709; 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=pn/JxWcXrnFvjBbhSmf5Dwa4XmCVt7srmlSgUYkBTyw=; b=JJL94zheY9tof+aUWht4nJk2iCqTUuS672e+HOxw0fy+DMbiWFFInbF8VslL+JDgqI17nl a07Axkduttl4utpWzz/x8bSLyl3VdPhkCfsiy/UKUB0ojUvmWUpKsLqVMMmEw7qBRS5GKH 297ZJZAte5WK2u0Ww0v82HgCoVTh9XkmWVJjZ5devUb9vh0TKEAhfNW4SUJoueG+Yh7jeJ u+gWyG0GHJQbLDlbCe76ZK9XUM+nknQRPp6gtTFKSGSGPhOFH52laSMpYt2bLgI4jHRHpk kaPSmOuRjSBvBWcL1VLzYFKlgVlgPyEOk7xRgCCx6Kis7Z8uOjdAPP8UbI1pug== 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 C114C65F9; Wed, 9 Feb 2022 14:25:08 +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 219EP8jc078251; Wed, 9 Feb 2022 14:25:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 219EP8c6078250; Wed, 9 Feb 2022 14:25:08 GMT (envelope-from git) Date: Wed, 9 Feb 2022 14:25:08 GMT Message-Id: <202202091425.219EP8c6078250@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: 39f7031c79eb - main - emulators/virtualbox-ose-legacy: Fix build on head 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: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39f7031c79eb0da62240461fe830b9df08545f55 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644416709; 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=pn/JxWcXrnFvjBbhSmf5Dwa4XmCVt7srmlSgUYkBTyw=; b=HPPjTNGEanZBq/YHOQ7hvy8r7rxTA8ydzVp8ppHobR/cls6SAUUH+3j8wFM8qudXe8YLhU tadrSvNBYFk8t3HxthHEqkQ4ENh6sbkS7yvX6U8CEH+g7Kjy5/HpGgGdmM5Ylu/hItQMSD l8JnspN/XoT8F9lwdXFYASV2bi9zOAdV16zYfRGmmUZIwOFwQqom1a7Yxi2sq9KGDHz3wY jDzS81FgQ8e80QgfgF1j6vPrhwx/ETkYdBysM/IKhZQCGsnRDJ/BvfLUwFFfkqljm8tjB6 cfNc0jL8BogLvOM2C37oxPr5Dl4+455u2NpBJ6idozJMGvHWxXL8Dtf3MhyTMg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644416709; a=rsa-sha256; cv=none; b=cKckTUKdeXmq/MX/g7XegCtc/zvFzAuxvECjow8nPZn1VqNsgRzR5cP7Qzq3eyyX1YVBHS O60sDk8U6B/VgNlGTiEeHnmrgfISY2GD+q36HTiLiHYJY9xHlFn2YYpV/klCI2PN9E6mf5 XjusfbhCimRemvkf1q80Z5Zz+EGyUbYAWScEFlHM2i46DkY/DmZKDhiTzpmulEjZVQMSSh vHeEbGj5MZhHH5oXBb8vXDsKb5sDD3t8P3SQH1g/QQt+9T3aSkp9idyIHxlpC7OBxBCqXA J77NTubbRGc7L37o55cKE3L2dcLeS3pzkBXjhR9x+mnAjUCl0wWpgJJjsGNwwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=39f7031c79eb0da62240461fe830b9df08545f55 commit 39f7031c79eb0da62240461fe830b9df08545f55 Author: Guido Falsi AuthorDate: 2022-02-09 14:20:54 +0000 Commit: Guido Falsi CommitDate: 2022-02-09 14:20:54 +0000 emulators/virtualbox-ose-legacy: Fix build on head The legacy version of virtualbox fails to build on head with clang > 11, so force using clang 11 there. PR: 254616 (suggested in) --- emulators/virtualbox-ose-legacy/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 7d0e5812f01a..9276da479d50 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -206,6 +206,16 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include +.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} > 1400022 +# clang > 11 included in FreeBSD 14 fails to compile this legacy version +# of virtualbox-ose, force clang 11 on FreeBSD 14 where a newer clang is +# included. +BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} +CC= clang${VBOX_LLVM_VER} +CXX= clang++${VBOX_LLVM_VER} +VBOX_LLVM_VER?= 11 +.endif + .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc