Package: libsys-syscall-perl
Version: 0.25-5
Tags: patch
The attached patch fixes the build of libsys-syscall-perl on the hppa/parisc
architecture.
Please apply.
Thanks,
Helge
diff -up ./lib/Sys/Syscall.pm.org ./lib/Sys/Syscall.pm
--- ./lib/Sys/Syscall.pm.org 2016-06-02 12:53:33.256234247 +0200
+++ ./lib/Sys/Syscall.pm 2016-06-02 17:52:59.163282166 +0200
@@ -83,6 +83,13 @@ if ($^O eq "linux") {
$SYS_epoll_wait = 232;
$SYS_sendfile = 40;
$SYS_readahead = 187;
+ } elsif ($machine =~ m/^parisc/) {
+ $SYS_epoll_create = 224;
+ $SYS_epoll_ctl = 225;
+ $SYS_epoll_wait = 226;
+ $SYS_sendfile = 122; # sys_sendfile64=209
+ $SYS_readahead = 207;
+ $u64_mod_8 = 1;
} elsif ($machine =~ m/^ppc64/) {
$SYS_epoll_create = 236;
$SYS_epoll_ctl = 237;