From bbc500cb288247283f2ff789d17ec481fb7a0b28f769e6a81cc342446c9cf80a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 24 May 2024 17:15:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=62 --- xmlsec1-gcc14.patch | 10 ++++++++++ xmlsec1.changes | 7 +++++++ xmlsec1.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 xmlsec1-gcc14.patch diff --git a/xmlsec1-gcc14.patch b/xmlsec1-gcc14.patch new file mode 100644 index 0000000..412face --- /dev/null +++ b/xmlsec1-gcc14.patch @@ -0,0 +1,10 @@ +--- xmlsec1-1.2.38/apps/crypto.c 2024-05-24 19:08:57.856528758 +0200 ++++ xmlsec1-1.2.38/apps/crypto.c 2024-05-24 19:09:45.526855641 +0200 +@@ -12,6 +12,7 @@ + #endif + + #include ++#include + + #include + #include diff --git a/xmlsec1.changes b/xmlsec1.changes index 49362e8..07eaf26 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 24 17:15:05 UTC 2024 - Fridrich Strba + +- Added patch: + * xmlsec1-gcc14.patch + + add missing include and fix gcc14 build + ------------------------------------------------------------------- Mon Feb 26 12:24:45 UTC 2024 - Dominique Leuenberger diff --git a/xmlsec1.spec b/xmlsec1.spec index 191fab4..ff3b467 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -1,7 +1,7 @@ # # spec file for package xmlsec1 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,7 @@ Source1: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.sig#/ Source2: %{name}.keyring Source99: xmlsec1-rpmlintrc Patch0: xmlsec1-ui_null.patch +Patch1: xmlsec1-gcc14.patch BuildRequires: libgcrypt-devel BuildRequires: libtool # Needed certutil for tests @@ -145,6 +146,7 @@ Libraries, includes, etc. for developing XML Security applications with NSS. %if 0%{?suse_version} < 1500 %patch -P 0 -p1 %endif +%patch -P 1 -p1 %build # Allow for deprecations