llvm15/libcxx-remove-unused-imports.patch
Aaron Puchert 5435029fbe - Add patches, to actually fix the build with Python 3.13:
* libcxx-use-shlex-quote.patch
  * libcxx-remove-unused-imports.patch
  * lldb-support-python-3.13.patch
  * use-shlex-quote.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=44
2025-03-06 23:47:08 +00:00

20 lines
562 B
Diff

From 017396310bb6515786eb9d9cf9fb0256de08d65b Mon Sep 17 00:00:00 2001
From: "Stephan T. Lavavej" <stl@nuwen.net>
Date: Tue, 28 Nov 2023 16:33:11 -0800
Subject: [PATCH] Remove unused Python imports.
Index: libcxx-15.0.7.src/utils/libcxx/test/format.py
===================================================================
--- libcxx-15.0.7.src.orig/utils/libcxx/test/format.py
+++ libcxx-15.0.7.src/utils/libcxx/test/format.py
@@ -9,9 +9,7 @@
import lit
import lit.formats
import os
-import pipes
import re
-import shutil
def _getTempPaths(test):
"""