Control: tags -1 patch

Dear Maintainer,

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

  * Add patch to fix FTBFS with glibc-2.28.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic-updates
  APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 
'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-13-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 /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru blktool-4/debian/control blktool-4/debian/control
--- blktool-4/debian/control    2018-04-03 08:15:06.000000000 -0400
+++ blktool-4/debian/control    2019-01-06 21:50:30.000000000 -0500
@@ -1,8 +1,7 @@
 Source: blktool
 Section: admin
 Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
-XSBC-Original-Maintainer: Azat Khuzhin <a3at.m...@gmail.com>
+Maintainer: Azat Khuzhin <a3at.m...@gmail.com>
 Build-Depends: cdbs, debhelper (>= 9), libglib2.0-dev
 Standards-Version: 3.9.6
 Homepage: http://sourceforge.net/projects/gkernel/files/blktool/
diff -Nru blktool-4/debian/patches/0004-fix-FTBFS-with-glibc-2.28.patch 
blktool-4/debian/patches/0004-fix-FTBFS-with-glibc-2.28.patch
--- blktool-4/debian/patches/0004-fix-FTBFS-with-glibc-2.28.patch       
1969-12-31 19:00:00.000000000 -0500
+++ blktool-4/debian/patches/0004-fix-FTBFS-with-glibc-2.28.patch       
2019-01-06 21:50:28.000000000 -0500
@@ -0,0 +1,13 @@
+--- a/blktool.c
++++ b/blktool.c
+@@ -22,6 +22,10 @@
+ #include <errno.h>
+ #include <getopt.h>
+ 
++#ifdef __GNU_LIBRARY__
++#include <sys/sysmacros.h>
++#endif
++
+ #include <linux/hdreg.h>
+ #include <linux/fs.h>
+ #include <linux/cdrom.h>
diff -Nru blktool-4/debian/patches/series blktool-4/debian/patches/series
--- blktool-4/debian/patches/series     2015-06-12 18:05:10.000000000 -0400
+++ blktool-4/debian/patches/series     2019-01-06 21:47:12.000000000 -0500
@@ -1,3 +1,4 @@
 0001-fix-typos-in-manpage.patch
 0002-fix-string-error.patch
 0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch
+0004-fix-FTBFS-with-glibc-2.28.patch

Reply via email to