Accepting request 1172468 from home:pgajdos
- added patches fix build with gcc14 + perl-Crypt-DES-gcc14.patch OBS-URL: https://build.opensuse.org/request/show/1172468 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DES?expand=0&rev=23
This commit is contained in:
parent
b009011b91
commit
bffa56a3d2
13
perl-Crypt-DES-gcc14.patch
Normal file
13
perl-Crypt-DES-gcc14.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: Crypt-DES-2.07/_des.h
|
||||
===================================================================
|
||||
--- Crypt-DES-2.07.orig/_des.h
|
||||
+++ Crypt-DES-2.07/_des.h
|
||||
@@ -2,6 +2,6 @@ typedef unsigned char des_user_key[8];
|
||||
typedef unsigned char des_cblock[8];
|
||||
typedef unsigned long des_ks[32];
|
||||
|
||||
-void _des_crypt( des_cblock in, des_cblock out, des_ks key, int encrypt );
|
||||
-void _des_expand_key( des_user_key userKey, des_ks key );
|
||||
+void perl_des_crypt( des_cblock in, des_cblock out, des_ks key, int encrypt );
|
||||
+void perl_des_expand_key( des_user_key userKey, des_ks key );
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 14:08:26 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix build with gcc14
|
||||
+ perl-Crypt-DES-gcc14.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 12:11:49 UTC 2013 - cfarrell@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-DES
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -23,8 +23,10 @@ Release: 0
|
||||
Summary: Perl DES encryption module
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Crypt-DES/
|
||||
URL: http://search.cpan.org/dist/Crypt-DES/
|
||||
Source: http://www.cpan.org/authors/id/D/DP/DPARIS/%{cpan_name}-%{version}.tar.gz
|
||||
# fix build with gcc14
|
||||
Patch0: perl-Crypt-DES-gcc14.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@ -40,7 +42,7 @@ methods
|
||||
=item decrypt
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -p1 -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user