[packages/perl-IO-AIO] - updated to 4.79 - added glibc patch (workarounds glibc 2.36 <sys/mount.h> vs <linux/mount.h> confl

qboosh qboosh at pld-linux.org
Sat Feb 4 07:55:58 CET 2023


commit 4d2228d3dda40d2c4a1cc0de5c2c4b8517b2deca
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 4 07:57:22 2023 +0100

    - updated to 4.79
    - added glibc patch (workarounds glibc 2.36 <sys/mount.h> vs <linux/mount.h> conflict)

 IO-AIO-glibc.patch | 10 ++++++++++
 perl-IO-AIO.spec   | 10 ++++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/perl-IO-AIO.spec b/perl-IO-AIO.spec
index eace487..3d47216 100644
--- a/perl-IO-AIO.spec
+++ b/perl-IO-AIO.spec
@@ -1,19 +1,20 @@
 #
 # Conditional build:
-%bcond_with	tests	# do not perform "make test"
+%bcond_with	tests	# unit tests
 #
 %define		pdir	IO
 %define		pnam	AIO
 Summary:	IO::AIO - Perl Asynchronous Input/Output
 Summary(pl.UTF-8):	IO::AIO - asynchroniczne wejście/wyjście w Perlu
 Name:		perl-IO-AIO
-Version:	4.76
-Release:	2
+Version:	4.79
+Release:	1
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	https://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	e297226cde0ae19c936ab0aaaa3930d9
+# Source0-md5:	851fac98cf21ed9c3d69a2ddc395bde6
 Patch0:		%{pdir}-%{pnam}-path.patch
+Patch1:		%{pdir}-%{pnam}-glibc.patch
 URL:		https://metacpan.org/dist/IO-AIO
 BuildRequires:	perl-Canary-Stability >= 2001
 BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
@@ -36,6 +37,7 @@ metod obsługiwanych przez system operacyjny.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 PERL_CANARY_STABILITY_NOPROMPT=1 \
diff --git a/IO-AIO-glibc.patch b/IO-AIO-glibc.patch
new file mode 100644
index 0000000..ab66f0e
--- /dev/null
+++ b/IO-AIO-glibc.patch
@@ -0,0 +1,10 @@
+--- IO-AIO-4.79/AIO.xs.orig	2022-09-25 18:29:50.000000000 +0200
++++ IO-AIO-4.79/AIO.xs	2023-02-04 07:54:54.121666618 +0100
+@@ -123,6 +123,7 @@
+  * for you.
+  */
+ #if __linux__ && (defined __GLIBC__ || defined __UCLIBC__)
++# define _LINUX_MOUNT_H 1
+ # include <linux/fs.h> /* MUST be included after sys/mount.h */
+ # ifdef FS_IOC_FIEMAP
+ #  include <linux/types.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-IO-AIO.git/commitdiff/4d2228d3dda40d2c4a1cc0de5c2c4b8517b2deca



More information about the pld-cvs-commit mailing list