[Pkg-wmaker-commits] [wmrack] 71/97: debian/patches: (fix_kfreebsd_ftbfs.patch) Fix FTBFS on GNU/kFreeBSD.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:42:07 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 f0a0bdf4a907b4b43a759d842110f13b5ea9d441
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Oct 14 23:11:57 2014 -0500
debian/patches: (fix_kfreebsd_ftbfs.patch) Fix FTBFS on GNU/kFreeBSD.
---
debian/patches/fix_kfreebsd_ftbfs.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/fix_kfreebsd_ftbfs.patch b/debian/patches/fix_kfreebsd_ftbfs.patch
new file mode 100644
index 0000000..a80326d
--- /dev/null
+++ b/debian/patches/fix_kfreebsd_ftbfs.patch
@@ -0,0 +1,15 @@
+Description: Fix FTBFS on kfreebsd-*.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2014-10-14
+
+--- a/cdrom.c
++++ b/cdrom.c
+@@ -31,7 +31,7 @@
+ # include <sys/cdio.h>
+ # include <sys/statvfs.h>
+ # define statfs statvfs
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # include <sys/mount.h>
+ # include <sys/cdio.h>
+
diff --git a/debian/patches/series b/debian/patches/series
index b317288..2d02dcb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_manpage.patch
add_format_arg_to_fprintf.patch
update_autotools.patch
fix_hurd_ftbfs.patch
+fix_kfreebsd_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