Bug#822266: paraview: diff for NMU version 5.0.1+dfsg1-5.1

Tobias Frost tobi at debian.org
Mon Apr 25 08:11:16 UTC 2016


Short update: Also hurd will need those includes.
I replaced the former NMU with thos one.

Anton, would be great if you'd let me to move it to 0-day ;-)

-- 
tobi

Regards.
diff -Nru paraview-5.0.1+dfsg1/debian/changelog paraview-5.0.1+dfsg1/debian/changelog
--- paraview-5.0.1+dfsg1/debian/changelog	2016-04-20 21:11:49.000000000 +0200
+++ paraview-5.0.1+dfsg1/debian/changelog	2016-04-25 10:08:00.000000000 +0200
@@ -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 -Nru paraview-5.0.1+dfsg1/debian/patches/fix-ftbfs-kfreebsd.patch paraview-5.0.1+dfsg1/debian/patches/fix-ftbfs-kfreebsd.patch
--- paraview-5.0.1+dfsg1/debian/patches/fix-ftbfs-kfreebsd.patch	1970-01-01 01:00:00.000000000 +0100
+++ paraview-5.0.1+dfsg1/debian/patches/fix-ftbfs-kfreebsd.patch	2016-04-25 10:05:59.000000000 +0200
@@ -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 -Nru paraview-5.0.1+dfsg1/debian/patches/series paraview-5.0.1+dfsg1/debian/patches/series
--- paraview-5.0.1+dfsg1/debian/patches/series	2016-04-20 15:54:06.000000000 +0200
+++ paraview-5.0.1+dfsg1/debian/patches/series	2016-04-24 10:44:40.000000000 +0200
@@ -8,3 +8,4 @@
 use_system_mpi4py.patch
 remove_webgl.patch
 ffmpeg.patch
+fix-ftbfs-kfreebsd.patch



More information about the debian-science-maintainers mailing list