Accepting request 1070337 from home:marxin:branches:LibreOffice:Factory
- Add upstream patch gcc13-fix.patch in order to support GCC 13. OBS-URL: https://build.opensuse.org/request/show/1070337 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/hfst-ospell?expand=0&rev=16
This commit is contained in:
parent
bde7824c78
commit
51e8b4b48c
21
gcc13-fix.patch
Normal file
21
gcc13-fix.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From 7481bffbf622bc9aee3547183fbe8db9cf8b22ce Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tino Didriksen <mail@tinodidriksen.com>
|
||||||
|
Date: Sun, 3 Jul 2022 23:16:52 +0200
|
||||||
|
Subject: [PATCH] Include cstdint (fixes #57)
|
||||||
|
|
||||||
|
---
|
||||||
|
hfst-ol.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/hfst-ol.h b/hfst-ol.h
|
||||||
|
index 0a83ec5..ee59b14 100644
|
||||||
|
--- a/hfst-ol.h
|
||||||
|
+++ b/hfst-ol.h
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
#include <climits>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <cstdlib>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <iostream>
|
||||||
|
#include <cstring>
|
||||||
|
#include <set>
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 9 07:04:33 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Add upstream patch gcc13-fix.patch in order to support GCC 13.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 27 14:25:33 UTC 2020 - Martin Liška <mliska@suse.cz>
|
Fri Mar 27 14:25:33 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hfst-ospell
|
# spec file for package hfst-ospell
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,6 +28,7 @@ URL: https://hfst.github.io/
|
|||||||
Source0: https://github.com/hfst/%{name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz
|
Source0: https://github.com/hfst/%{name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch0: gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch
|
Patch0: gcc10-Fix-a-typo-in-wide-string-conversion-function-49.patch
|
||||||
|
Patch1: gcc13-fix.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -58,6 +59,7 @@ Development headers and libraries for hfst-ospell
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# disable libxml++ as upstream requires version 2.6
|
# disable libxml++ as upstream requires version 2.6
|
||||||
|
Loading…
Reference in New Issue
Block a user