File project.diff of Package python-poetry-core

--- python-poetry-core.spec.orig
+++ python-poetry-core.spec
@@ -26,6 +26,7 @@ Group:          Development/Languages/Py
 URL:            https://github.com/python-poetry/poetry-core
 # Only the github archive provides the tests
 Source:         %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
+Patch1:         gcc14-fix.patch
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
@@ -49,6 +50,7 @@ PEP 517 compatible build frontends to bu
 
 %prep
 %setup -q -n poetry-core-%{version}
+%patch -P 1 -p1
 mkdir vendoredlicenses
 cp -p src/poetry/core/_vendor/lark/LICENSE              vendoredlicenses/lark.LICENSE
 cp -p src/poetry/core/_vendor/fastjsonschema/LICENSE    vendoredlicenses/fastjsonschema.LICENSE
openSUSE Build Service is sponsored by