From nobody Thu Oct 12 23:45:55 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 4S65ql6csJz4x5D7; Thu, 12 Oct 2023 23:45:55 +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 4S65ql63p7z4RvR; Thu, 12 Oct 2023 23:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697154355; 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=ImYd4Ritm1a03MiF/Y8jBBuYJAJkshXM3NrVx1jGO8g=; b=iB5EfGJwyBpjne5mJ4gdXUDC4Wa+2C+RxHs+LTrtk8QhxJ1LAwIxWqb0eQZOrntmTebZOk s02zTF1e0a1dlOB2KDKXR2ctmgISS2TTzWmp19Q2/rC8niEpN5fMIacGEdfp+vRZ8e3vKO MC7+W/suIg2HET9Rr2SRCNEKGH2rOamp1Sltr2YBNWlVALbOT9CQEiFBeu61/66vXdHUvv 1lyYQaH9iM00AfMIHl1agrc4Bx/Ba+0uBmzUEp0SKwOuFUu6gDirwPTIE62VdqD9INKnew eRcZRWiVD6n1GAxKs6YnbM1q345gyq99uFWD3pkQfSmk3wAnCyIH55Q6BD7MyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697154355; a=rsa-sha256; cv=none; b=FYgtYtO3IGIt3k/2OWGyY4g/Bn0XwHkVAlbZIZ9PgpoOc9f0WrSmMV6vkn8cHd9xzSI32e bSVN/Q+9Knm6C+IO0XbCI3X5noOt4MnFANLY8dlGPxst4nwEQjUF+QSz+Wvhsf2Hy/YNCl rTyI26I+TqK/KGrbyfiFhY+EPUKu46s7Rf8aBKL2j55y60Oy1ZO7XeqdG8cQeYDM/asnjx DOuR3xDekWpDZoAvtHQT2FY0YlpmBiY8nMegag7NhfL+2oKsUuZgVuOSB1ndmhA2xNSi7z 8j3WYG3Uk1PtOAqTtKFXtHC4FYBy8BYQroRlg8l+/Rjdg+0itsbzhaL5bK31nA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697154355; 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=ImYd4Ritm1a03MiF/Y8jBBuYJAJkshXM3NrVx1jGO8g=; b=MYAhHQUEnmztejw2VHZlyZ+4M8n8ClPUMT8AkkmNvS564ryHSbmlleq1sf2bwYJi/JPAnE TNAymtvYYd2UGWt2S0JKl9/Yc1AbOotwVmvQPfYJmi79q0/DNh6iRxJj8vNDSN+iPcAqLG lWjvyjN8TIrNvjVviWaai2qRAN/aTqbaQ+SJSA28OqjAZvBBvdjKhYLKC6erjK0Sy3G2VK qKY3cXlV39z0+7hrqGq5qu/zyb/uSaHVNpxkF6Maob8xGRf4ny4jMNGk0el6gOB5j6Usda 7tlvfWSbgHIGhzr6Njhn65/uyqtXOX6KuOIYNJUPevNeHlYbyEOnJVEkqC8eLA== 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 4S65ql582Bz9ql; Thu, 12 Oct 2023 23:45:55 +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 39CNjtLJ021602; Thu, 12 Oct 2023 23:45:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39CNjtdH021599; Thu, 12 Oct 2023 23:45:55 GMT (envelope-from git) Date: Thu, 12 Oct 2023 23:45:55 GMT Message-Id: <202310122345.39CNjtdH021599@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: 2295fcc1d4f0 - main - devel/llvm17: remove obsolete powerpc patch 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: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2295fcc1d4f02081c88b85d02e7b826e17adf43d Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=2295fcc1d4f02081c88b85d02e7b826e17adf43d commit 2295fcc1d4f02081c88b85d02e7b826e17adf43d Author: Brooks Davis AuthorDate: 2023-10-12 23:45:10 +0000 Commit: Brooks Davis CommitDate: 2023-10-12 23:45:10 +0000 devel/llvm17: remove obsolete powerpc patch The lines immediatly below the inserted code do the same thing with more elegance. Technically this changes the package contents, but there is no functional change so don't make everyone build with a PORTREVSION bump. We'll do that soon enough when 17.0.3 comes out. Reported by: Brad Smith --- .../patch-lib_Target_PowerPC_PPCTargetMachine.cpp | 23 ---------------------- 1 file changed, 23 deletions(-) diff --git a/devel/llvm17/files/patch-lib_Target_PowerPC_PPCTargetMachine.cpp b/devel/llvm17/files/patch-lib_Target_PowerPC_PPCTargetMachine.cpp deleted file mode 100644 index ff0dba234b50..000000000000 --- a/devel/llvm17/files/patch-lib_Target_PowerPC_PPCTargetMachine.cpp +++ /dev/null @@ -1,23 +0,0 @@ ---- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp.orig 2019-07-04 07:43:51 UTC -+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp -@@ -209,6 +209,20 @@ static PPCTargetMachine::PPCABI computeTargetABI(const - if (TT.isMacOSX()) - return PPCTargetMachine::PPC_ABI_UNKNOWN; - -+ if (TT.isOSFreeBSD()) { -+ switch (TT.getArch()) { -+ case Triple::ppc64le: -+ case Triple::ppc64: -+ if (TT.getOSMajorVersion() >= 13) -+ return PPCTargetMachine::PPC_ABI_ELFv2; -+ else -+ return PPCTargetMachine::PPC_ABI_ELFv1; -+ case Triple::ppc: -+ default: -+ return PPCTargetMachine::PPC_ABI_UNKNOWN; -+ } -+ } -+ - switch (TT.getArch()) { - case Triple::ppc64le: - return PPCTargetMachine::PPC_ABI_ELFv2;