From 5b6e9cc98e366ce0ccdb1e97ace1ba9e69a26bab84a77e1f1bc45ff77a386a74 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 3 Dec 2024 09:29:46 +0000 Subject: [PATCH] Accepting request 1227932 from home:glaubitz:branches:devel:languages:python:Factory - Add add-loongarch64-support.patch to support loongarch64 OBS-URL: https://build.opensuse.org/request/show/1227932 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=152 --- add-loongarch64-support.patch | 25 +++++++++++++++++++++++++ python311.changes | 5 +++++ python311.spec | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 add-loongarch64-support.patch diff --git a/add-loongarch64-support.patch b/add-loongarch64-support.patch new file mode 100644 index 0000000..f0c8035 --- /dev/null +++ b/add-loongarch64-support.patch @@ -0,0 +1,25 @@ +Description: Add platform triplets for LoongArch. + +--- a/configure.ac ++++ b/configure.ac +@@ -976,6 +976,20 @@ cat > conftest.c <=6) && defined(_MIPSEL) diff --git a/python311.changes b/python311.changes index 6d769f0..d4c51e9 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 3 08:21:35 UTC 2024 - John Paul Adrian Glaubitz + +- Add add-loongarch64-support.patch to support loongarch64 + ------------------------------------------------------------------- Mon Dec 2 22:50:07 UTC 2024 - Matej Cepl diff --git a/python311.spec b/python311.spec index e4e6912..3b32b29 100644 --- a/python311.spec +++ b/python311.spec @@ -182,6 +182,8 @@ Patch22: gh120226-fix-sendfile-test-kernel-610.patch # PATCH-FIX-UPSTREAM CVE-2024-9287-venv_path_unquoted.patch gh#python/cpython#124651 mcepl@suse.com # venv should properly quote path names provided when creating a venv Patch23: CVE-2024-9287-venv_path_unquoted.patch +# PATCH-FIX-UPSTREAM Add platform triplets for 64-bit LoongArch gh#python/cpython#30939 glaubitz@suse.com +Patch24: add-loongarch64-support.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: fdupes @@ -445,6 +447,7 @@ other applications. %patch -p1 -P 19 %patch -p1 -P 22 %patch -p1 -P 23 +%patch -p1 -P 24 # drop Autoconf version requirement sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac