[Debian-med-packaging] [mrtrix] 01/07: Add patch to fix FTBFS with new GSL

Michael Hanke mih at moszumanska.debian.org
Tue Dec 29 17:32:00 UTC 2015


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

mih pushed a commit to branch master
in repository mrtrix.

commit dd22d5267e876c0436d7f5219e35b235afdfb3ef
Author: Michael Hanke <michael.hanke at gmail.com>
Date:   Tue Dec 29 17:25:51 2015 +0100

    Add patch to fix FTBFS with new GSL
---
 debian/changelog            |  5 +++++
 debian/patches/series       |  1 +
 debian/patches/size_t-ftbfs | 10 ++++++++++
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 43958fd..4c167e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,8 @@
+mrtrix (0.2.12-2) UNRELEASED; urgency=medium
+
+  * Add patch to include <cstddef> to fix FTBFS due to missing size_t.
+    Courtesy of Iain Lane <iain at orangesquash.org.uk>.
+
 mrtrix (0.2.12-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/patches/series b/debian/patches/series
index 9a77d86..91ecc66 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 debian_build_cfg
 glib-single-include.patch
+size_t-ftbfs
diff --git a/debian/patches/size_t-ftbfs b/debian/patches/size_t-ftbfs
new file mode 100644
index 0000000..6fa68dc
--- /dev/null
+++ b/debian/patches/size_t-ftbfs
@@ -0,0 +1,10 @@
+--- mrtrix-0.2.12.orig/src/dwi/SH.cpp
++++ mrtrix-0.2.12/src/dwi/SH.cpp
+@@ -34,6 +34,7 @@
+ 
+ */
+ 
++#include <cstddef>
+ #include <gsl/gsl_sf_legendre.h>
+ #include "image/position.h"
+ #include "image/interp.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mrtrix.git



More information about the Debian-med-packaging mailing list