]> git.pld-linux.org Git - packages/perl-IO-AIO.git/commitdiff
- updated to 4.79 auto/th/perl-IO-AIO-4.79-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Feb 2023 06:57:22 +0000 (07:57 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Feb 2023 06:57:22 +0000 (07:57 +0100)
- added glibc patch (workarounds glibc 2.36 <sys/mount.h> vs <linux/mount.h> conflict)

IO-AIO-glibc.patch [new file with mode: 0644]
perl-IO-AIO.spec

diff --git a/IO-AIO-glibc.patch b/IO-AIO-glibc.patch
new file mode 100644 (file)
index 0000000..ab66f0e
--- /dev/null
@@ -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>
index eace487100b6ba0ba69a24428083fd15b39ccc38..3d4721639a1adfbb22a6fa0046e235b8eb9fa4d0 100644 (file)
@@ -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 \
This page took 0.172284 seconds and 4 git commands to generate.