[med-svn] [Git][med-team/plastimatch][master] 3 commits: Add gcc-11.patch: fix ftbfs with gcc-11

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Thu Apr 28 16:05:56 BST 2022



Étienne Mollier pushed to branch master at Debian Med / plastimatch


Commits:
58f7557c by Étienne Mollier at 2022-04-28T00:20:44+02:00
Add gcc-11.patch: fix ftbfs with gcc-11

- - - - -
b0267d2a by Étienne Mollier at 2022-04-28T12:27:23+02:00
d/control: build depends on libinsighttoolkit5-dev (>= 5.2.1-4)

This is necessary for getting the needed ITKReview module support.

- - - - -
08d8e91e by Étienne Mollier at 2022-04-28T17:05:27+02:00
ready for upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/gcc-11.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,8 @@
-plastimatch (1.9.3+dfsg.1-3) UNRELEASED; urgency=medium
+plastimatch (1.9.3+dfsg.1-3) unstable; urgency=medium
 
+  * Team upload.
+
+  [ Andreas Tille ]
   * Switch (Build-)Depends from libinsighttoolkit4-dev to
     libinsighttoolkit5-dev
   * Add missing build dependency on dh addon.
@@ -7,7 +10,13 @@ plastimatch (1.9.3+dfsg.1-3) UNRELEASED; urgency=medium
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
   * Enable building with C++17
 
- -- Andreas Tille <tille at debian.org>  Sat, 15 Jan 2022 11:09:04 +0100
+  [ Étienne Mollier ]
+  * d/control: build depends on libinsighttoolkit5-dev (>= 5.2.1-4) to get
+    ITKReview module support.
+  * Add gcc-11.patch: fix ftbfs with gcc-11
+    Closes: #1005485
+
+ -- Étienne Mollier <emollier at debian.org>  Thu, 28 Apr 2022 12:28:28 +0200
 
 plastimatch (1.9.3+dfsg.1-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
                libdlib-dev,
                libfftw3-dev,
                libgdcm-dev,
-               libinsighttoolkit5-dev,
+               libinsighttoolkit5-dev (>= 5.2.1-4),
                liblapack-dev,
                libpng-dev,
                libsqlite3-dev,


=====================================
debian/patches/gcc-11.patch
=====================================
@@ -0,0 +1,31 @@
+Description: fix failure to build from source starting with gcc-11
+ While the bug #1005485 is not about the issue addressed by this particular
+ patch, it is necessary to go through the build entirely.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005485
+Forwarded: no
+Last-Update: 2022-04-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- plastimatch.orig/libs/demons_itk_insight/LOGDomainDemons/itkVelocityFieldLieBracketFilter.h
++++ plastimatch/libs/demons_itk_insight/LOGDomainDemons/itkVelocityFieldLieBracketFilter.h
+@@ -79,7 +79,7 @@
+    * in order to inform the pipeline execution model.
+    *
+    * \sa ImageToImageFilter::GenerateInputRequestedRegion() */
+-  virtual void GenerateInputRequestedRegion() throw(InvalidRequestedRegionError);
++  virtual void GenerateInputRequestedRegion();
+  
+   /** ImageDimension constants */
+   itkStaticConstMacro( InputFieldDimension, unsigned int,
+--- plastimatch.orig/libs/demons_itk_insight/LOGDomainDemons/itkVelocityFieldLieBracketFilter.txx
++++ plastimatch/libs/demons_itk_insight/LOGDomainDemons/itkVelocityFieldLieBracketFilter.txx
+@@ -42,7 +42,7 @@
+ template <class TInputImage, class TOutputImage>
+ void
+ VelocityFieldLieBracketFilter<TInputImage,TOutputImage>
+-::GenerateInputRequestedRegion() throw (InvalidRequestedRegionError)
++::GenerateInputRequestedRegion()
+ {
+   // call the superclass' implementation of this method
+   Superclass::GenerateInputRequestedRegion();


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 cxx17.patch
+gcc-11.patch



View it on GitLab: https://salsa.debian.org/med-team/plastimatch/-/compare/5d71a499f6dd3f1fa676f7c76d67e3d668b8c0a1...08d8e91ea13d80034211f3727a29970563fd6858

-- 
View it on GitLab: https://salsa.debian.org/med-team/plastimatch/-/compare/5d71a499f6dd3f1fa676f7c76d67e3d668b8c0a1...08d8e91ea13d80034211f3727a29970563fd6858
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220428/49b0d5d4/attachment-0001.htm>


More information about the debian-med-commit mailing list