Package: gsl Version: 2.0+dfsg-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu xenial ubuntu-patch
I noticed when rebuilding packages for the gsl transition in Ubuntu that mrtrix FTBFS due to disabled deprecatead functions. Maybe we should re-enable them for now to ease the transition? Patch attached. Cheers, -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [ la...@debian.org ] Ubuntu Developer [ la...@ubuntu.com ]
diff -Nru gsl-2.0+dfsg/debian/patches/dont-disable-deprecated gsl-2.0+dfsg/debian/patches/dont-disable-deprecated --- gsl-2.0+dfsg/debian/patches/dont-disable-deprecated 1970-01-01 01:00:00.000000000 +0100 +++ gsl-2.0+dfsg/debian/patches/dont-disable-deprecated 2015-11-11 11:18:43.000000000 +0000 @@ -0,0 +1,28 @@ +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -566,10 +566,6 @@ + AH_BOTTOM([#define RETURN_IF_NULL(x) if (!x) { return ; } + ]) + +-AH_VERBATIM([GSL_DISABLE_DEPRECATED], +-[/* Disable deprecated functions and enums while building */ +-#define GSL_DISABLE_DEPRECATED 1]) +- + dnl + AC_CONFIG_FILES([ \ + Makefile \ +Index: b/multifit/fdjac.c +=================================================================== +--- a/multifit/fdjac.c ++++ b/multifit/fdjac.c +@@ -135,7 +135,7 @@ + if (status) + return status; + +- status = fdjac(x, fdf, f, J); ++ status = fdjac(x, NULL, fdf, f, J); + if (status) + return status; + diff -Nru gsl-2.0+dfsg/debian/patches/series gsl-2.0+dfsg/debian/patches/series --- gsl-2.0+dfsg/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ gsl-2.0+dfsg/debian/patches/series 2015-11-11 11:13:47.000000000 +0000 @@ -0,0 +1 @@ +dont-disable-deprecated