Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-fasttext for openSUSE:Factory
checked in at 2023-03-07 16:48:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fasttext (Old)
and /work/SRC/openSUSE:Factory/.python-fasttext.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fasttext"
Tue Mar 7 16:48:58 2023 rev:3 rq:1069655 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fasttext/python-fasttext.changes
2022-06-03 14:16:37.969313871 +0200
+++
/work/SRC/openSUSE:Factory/.python-fasttext.new.31432/python-fasttext.changes
2023-03-07 16:49:12.489228967 +0100
@@ -1,0 +2,6 @@
+Mon Mar 6 12:30:34 UTC 2023 - Martin Liška <[email protected]>
+
+- Add gcc13-fix.patch that fixes upstream issue:
+ https://github.com/facebookresearch/fastText/issues/1281
+
+-------------------------------------------------------------------
New:
----
gcc13-fix.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fasttext.spec ++++++
--- /var/tmp/diff_new_pack.ZOZ2uW/_old 2023-03-07 16:49:13.153232461 +0100
+++ /var/tmp/diff_new_pack.ZOZ2uW/_new 2023-03-07 16:49:13.161232503 +0100
@@ -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 @@
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}
++++++ gcc13-fix.patch ++++++
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 {