Control: tags 1065778 + patch

Dear maintainer,

I've prepared an NMU for libcdio (versioned as 2.1.0-4.2). The diff
is attached to this message.

Cheers
-- 
Sebastian Ramacher
diff -Nru libcdio-2.1.0/debian/changelog libcdio-2.1.0/debian/changelog
--- libcdio-2.1.0/debian/changelog	2024-02-29 11:35:17.000000000 +0100
+++ libcdio-2.1.0/debian/changelog	2024-04-12 09:09:50.000000000 +0200
@@ -1,3 +1,13 @@
+libcdio (2.1.0-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload
+
+  [ Zixing Liu ]
+  * debian/patches/arm-t64-redirect-fix.patch: Fix implicit declaration
+    after armhf time_t transition. (Closes: #1065778)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Fri, 12 Apr 2024 09:09:50 +0200
+
 libcdio (2.1.0-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libcdio-2.1.0/debian/patches/arm-t64-redirect-fix.patch libcdio-2.1.0/debian/patches/arm-t64-redirect-fix.patch
--- libcdio-2.1.0/debian/patches/arm-t64-redirect-fix.patch	1970-01-01 01:00:00.000000000 +0100
+++ libcdio-2.1.0/debian/patches/arm-t64-redirect-fix.patch	2024-04-12 09:08:57.000000000 +0200
@@ -0,0 +1,22 @@
+Description: Fix implicit declaration after armhf time_t transition
+Author: Zixing Liu <zixing....@canonical.com>
+Forwarded: no
+Last-Update: 2024-04-03
+
+Index: libcdio/lib/driver/_cdio_stdio.h
+===================================================================
+--- libcdio.orig/lib/driver/_cdio_stdio.h
++++ libcdio/lib/driver/_cdio_stdio.h
+@@ -22,6 +22,12 @@
+ 
+ #include "_cdio_stream.h"
+ 
++#include <features.h>
++#if defined(_FILE_OFFSET_BITS) && defined(__REDIRECT) && (_FILE_OFFSET_BITS == 64)
++#define lseek64 lseek
++#define fseeko64 fseeko
++#endif
++
+ /*!
+   Initialize a new stdio stream reading from pathname.
+   A pointer to the stream is returned or NULL if there was an error.
diff -Nru libcdio-2.1.0/debian/patches/series libcdio-2.1.0/debian/patches/series
--- libcdio-2.1.0/debian/patches/series	2022-09-27 11:36:24.000000000 +0200
+++ libcdio-2.1.0/debian/patches/series	2024-04-12 09:08:57.000000000 +0200
@@ -3,3 +3,4 @@
 src-cdda-player.c-always-use-s-style-format-for-prin.patch
 Correct-realpath-test-failure.patch
 Use-getmntent-setmntent-for-reading-mounts.patch
+arm-t64-redirect-fix.patch

Reply via email to