Package: cloop
Version: 3.14.1.2
Followup-For: Bug #916049
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Hi,

In Ubuntu, the attached patch was applied to achieve the following:

  * extract_compressed_fs.c: Define _DEFAULT_SOURCE to fix FTBFS with glibc
    2.28+ due to loff_t only being defined when that macro is defined.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal
  APT policy: (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru cloop-3.14.1.2ubuntu2/extract_compressed_fs.c 
cloop-3.14.1.2ubuntu3/extract_compressed_fs.c
--- cloop-3.14.1.2ubuntu2/extract_compressed_fs.c       2015-05-03 
07:22:21.000000000 -0400
+++ cloop-3.14.1.2ubuntu3/extract_compressed_fs.c       2020-04-06 
22:15:51.000000000 -0400
@@ -4,6 +4,7 @@
 
 #define _LARGEFILE64_SOURCE
 #define _XOPEN_SOURCE 600
+#define _DEFAULT_SOURCE
 
 #include <stdio.h>
 #include <unistd.h>

Reply via email to