Accepting request 1173612 from devel:languages:perl

- added patches
  fix build with gcc14
  + perl-Crypt-DES-gcc14.patch (forwarded request 1172468 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/1173612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-DES?expand=0&rev=25
This commit is contained in:
Ana Guerrero 2024-05-14 11:37:11 +00:00 committed by Git OBS Bridge
commit f20ac5a481
3 changed files with 26 additions and 4 deletions

View 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 );

View File

@ -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 Mon Jul 29 12:11:49 UTC 2013 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Crypt-DES # 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 # 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Summary: Perl DES encryption module
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/Perl 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 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
@ -40,7 +42,7 @@ methods
=item decrypt =item decrypt
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -p1 -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644 find . -type f -print0 | xargs -0 chmod 644
%build %build