forked from pool/xmlsec1
Accepting request 1176772 from LibreOffice:Factory
Fix gcc14 build OBS-URL: https://build.opensuse.org/request/show/1176772 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlsec1?expand=0&rev=27
This commit is contained in:
commit
dc0b8ef8ed
10
xmlsec1-gcc14.patch
Normal file
10
xmlsec1-gcc14.patch
Normal file
@ -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 <string.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <xmlsec/xmlsec.h>
|
||||||
|
#include <xmlsec/keys.h>
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 17:15:05 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* xmlsec1-gcc14.patch
|
||||||
|
+ add missing include and fix gcc14 build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 12:24:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 12:24:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xmlsec1
|
# 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
|
# 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
|
||||||
@ -33,6 +33,7 @@ Source1: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.sig#/
|
|||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source99: xmlsec1-rpmlintrc
|
Source99: xmlsec1-rpmlintrc
|
||||||
Patch0: xmlsec1-ui_null.patch
|
Patch0: xmlsec1-ui_null.patch
|
||||||
|
Patch1: xmlsec1-gcc14.patch
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
# Needed certutil for tests
|
# Needed certutil for tests
|
||||||
@ -145,6 +146,7 @@ Libraries, includes, etc. for developing XML Security applications with NSS.
|
|||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
%patch -P 0 -p1
|
%patch -P 0 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Allow for deprecations
|
# Allow for deprecations
|
||||||
|
Loading…
Reference in New Issue
Block a user