Accepting request 1069631 from home:marxin:branches:devel:languages:python
- Add gcc13-fix.patch that fixes upstream issue: https://github.com/facebookresearch/fastText/issues/1281 OBS-URL: https://build.opensuse.org/request/show/1069631 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasttext?expand=0&rev=7
This commit is contained in:
parent
3ad1bbe565
commit
3541343f00
12
gcc13-fix.patch
Normal file
12
gcc13-fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/args.cc b/src/args.cc
|
||||
index 7ac8c2f..0a7e8c6 100644
|
||||
--- a/src/args.cc
|
||||
+++ b/src/args.cc
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
+#include <cstdint>
|
||||
|
||||
namespace fasttext {
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 12:30:34 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add gcc13-fix.patch that fixes upstream issue:
|
||||
https://github.com/facebookresearch/fastText/issues/1281
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 1 09:51:33 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fasttext
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -28,6 +28,7 @@ License: MIT
|
||||
URL: https://github.com/facebookresearch/fastText
|
||||
Source: https://github.com/facebookresearch/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||
Patch0: reproducible.patch
|
||||
Patch1: gcc13-fix.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pybind11-devel}
|
||||
|
Loading…
Reference in New Issue
Block a user