[Pkg-wmaker-commits] [wmrack] 62/97: debian/patches/fix_hurd_ftbfs.patch: Use sys/cdrom.h on the Hurd. Thanks to Samuel Thibault <sthibault at debian.org> (Closes: #647977).

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:42:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmrack.

commit b6bc9db824d3e38c5ebb4577b0dd4197fe8d2a71
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Aug 14 22:07:55 2014 -0500

    debian/patches/fix_hurd_ftbfs.patch: Use sys/cdrom.h on the Hurd. Thanks to Samuel Thibault <sthibault at debian.org> (Closes: #647977).
---
 debian/patches/fix_hurd_ftbfs.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/fix_hurd_ftbfs.patch b/debian/patches/fix_hurd_ftbfs.patch
new file mode 100644
index 0000000..1c0f01d
--- /dev/null
+++ b/debian/patches/fix_hurd_ftbfs.patch
@@ -0,0 +1,26 @@
+Description: FTBFS on hurd-i386
+ Hello,
+ .
+ wmrack currently FTBFS on hurd-i386, due to inclusion of a linux-specific
+ header <linux/cdrom.h>. The attached patch fixes it by including
+ <sys/cdrom.h> instead, could you please apply it?
+ .
+ Thanks,
+ Samuel
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647977
+Author: Samuel Thibault <sthibault at debian.org>
+Reviewed-By: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2014-08-14
+
+--- a/cdrom.c
++++ b/cdrom.c
+@@ -24,6 +24,9 @@
+ #ifdef linux
+ #  include <sys/vfs.h>
+ #  include <linux/cdrom.h>
++#elif defined(__GNU__)
++#  include <sys/cdrom.h>
++#  include <sys/statfs.h>
+ #elif defined(__sun) && defined(__SVR4) /* Solaris */
+ #  include <sys/cdio.h>
+ #  include <sys/statvfs.h>
diff --git a/debian/patches/series b/debian/patches/series
index 68ba6dc..b317288 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix_manpage.patch
 add_format_arg_to_fprintf.patch
 update_autotools.patch
+fix_hurd_ftbfs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmrack.git



More information about the Pkg-wmaker-commits mailing list