Fridrich Strba 2024-05-24 17:15:43 +00:00 committed by Git OBS Bridge
parent 89ca820a6f
commit bbc500cb28
3 changed files with 20 additions and 1 deletions

10
xmlsec1-gcc14.patch Normal file
View 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>

View File

@ -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>

View File

@ -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