[paraview] 01/01: Fix FTBFS on kfreebsd-*. (Closes: #822266)

Anton Gladky gladk at moszumanska.debian.org
Mon Apr 25 19:38:22 UTC 2016


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

gladk pushed a commit to branch master
in repository paraview.

commit 3db5bfce3db7be0660f0148bd253cb545e11c978
Author: Tobias Frost <tobi at debian.org>
Date:   Mon Apr 25 21:37:46 2016 +0200

    Fix FTBFS on kfreebsd-*. (Closes: #822266)
---
 debian/changelog                        |  9 +++++++++
 debian/patches/fix-ftbfs-kfreebsd.patch | 18 ++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9daf1d8..49ede8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+paraview (5.0.1+dfsg1-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on kfreebsd-* by including the required headers not only on
+    linux but also on kfreebsd. (Closes: #822266) While on it, also do that
+    for hurd.
+
+ -- Tobias Frost <tobi at debian.org>  Sun, 24 Apr 2016 16:55:06 +0200
+
 paraview (5.0.1+dfsg1-5) unstable; urgency=medium
 
   * [ad5f3f0] Fix FTBFS against ffmpeg_3.0. (Closes: #821419)
diff --git a/debian/patches/fix-ftbfs-kfreebsd.patch b/debian/patches/fix-ftbfs-kfreebsd.patch
new file mode 100644
index 0000000..6e18f44
--- /dev/null
+++ b/debian/patches/fix-ftbfs-kfreebsd.patch
@@ -0,0 +1,18 @@
+Description: Fix FTBFS on kfreeBSD and hurd
+ also include the linux headers for this arch
+Author: Tobias Frost <tobi at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822266
+Last-Update: 2014-04-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Plugins/CDIReader/cdilib.c
++++ b/Plugins/CDIReader/cdilib.c
+@@ -47,7 +47,7 @@
+ #define _XOPEN_SOURCE 600
+ #endif
+ 
+-#ifdef __linux__ 
++#if defined (__linux__) || defined (__FreeBSD_kernel__) || defined (__GNU__)
+   #include <unistd.h>
+   #include <stdbool.h>
+   #include <sys/types.h>
diff --git a/debian/patches/series b/debian/patches/series
index f9598f9..a1a0769 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ use_system_utf8.patch
 use_system_mpi4py.patch
 remove_webgl.patch
 ffmpeg.patch
+fix-ftbfs-kfreebsd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/paraview.git



More information about the debian-science-commits mailing list