On Sun, 29 Jun 2025 13:08:11 +0200, gregor herrmann wrote:
Complete debdiff attached.
2nd try :) -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe`-
diff -Nru libfile-lchown-perl-0.02/debian/changelog libfile-lchown-perl-0.02/debian/changelog --- libfile-lchown-perl-0.02/debian/changelog 2022-06-13 23:19:48.000000000 +0200 +++ libfile-lchown-perl-0.02/debian/changelog 2025-06-23 19:19:50.000000000 +0200 @@ -1,3 +1,11 @@ +libfile-lchown-perl (0.02-4) unstable; urgency=medium + + * Add patch to include missing header for lutimes() support. + Thanks to Victor Beumker for the bug report and the test. + (Closes: #1108218) + + -- gregor herrmann <gregoa@debian.org> Mon, 23 Jun 2025 19:19:50 +0200 + libfile-lchown-perl (0.02-3) unstable; urgency=medium [ Salvatore Bonaccorso ] diff -Nru libfile-lchown-perl-0.02/debian/patches/lutimes-includes.patch libfile-lchown-perl-0.02/debian/patches/lutimes-includes.patch --- libfile-lchown-perl-0.02/debian/patches/lutimes-includes.patch 1970-01-01 01:00:00.000000000 +0100 +++ libfile-lchown-perl-0.02/debian/patches/lutimes-includes.patch 2025-06-23 19:19:50.000000000 +0200 @@ -0,0 +1,21 @@ +Description: Add missing header for lutimes() + Currently the test for lutimes() fails because of a missing include, so + support for lutimes() is not built. +Origin: vendor +Bug-Debian: https://bugs.debian.org/1108218 +Author: Victor Beumker <vb@math.uni-bonn.de> +Reviewed-by: gregor herrmann <gregoa@debian.org> +Last-Update: 2025-06-23 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=167721 +Bug: https://rt.cpan.org/Ticket/Display.html?id=167721 + +--- a/Build.PL ++++ b/Build.PL +@@ -23,6 +23,7 @@ + source => <<'EOF' ); + #include <stdlib.h> + #include <unistd.h> ++#include <sys/time.h> + int main(int argc, char *argv[]) { + if(lutimes(".", NULL) != 0) + exit(1); diff -Nru libfile-lchown-perl-0.02/debian/patches/series libfile-lchown-perl-0.02/debian/patches/series --- libfile-lchown-perl-0.02/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libfile-lchown-perl-0.02/debian/patches/series 2025-06-23 19:19:50.000000000 +0200 @@ -0,0 +1 @@ +lutimes-includes.patch
Attachment:
signature.asc
Description: Digital Signature