git: 2295fcc1d4f0 - main - devel/llvm17: remove obsolete powerpc patch

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Thu, 12 Oct 2023 23:45:55 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2295fcc1d4f02081c88b85d02e7b826e17adf43d

commit 2295fcc1d4f02081c88b85d02e7b826e17adf43d
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-10-12 23:45:10 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
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 <brad@comstyle.com>
---
 .../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;