[med-svn] [Git][med-team/bart-view][master] add workaround for compiler bug

Martin Uecker (@uecker-guest) gitlab at salsa.debian.org
Wed Dec 29 12:52:51 GMT 2021



Martin Uecker pushed to branch master at Debian Med / bart-view


Commits:
242bf056 by Martin Uecker at 2021-12-29T13:52:05+01:00
add workaround for compiler bug

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0004-workaround-for-GCC-11-compiler-bug-debian-bug-100250.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+bart-view (0.1.00-5.1) UNRELEASED; urgency=medium
+
+  * Patch to work around compiler bug (Closes: #1001916)
+
+ -- Martin Uecker <ma.uecker at gmail.com>  Wed, 29 Dec 2021 13:28:33 +0100
+
 bart-view (0.1.00-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/0004-workaround-for-GCC-11-compiler-bug-debian-bug-100250.patch
=====================================
@@ -0,0 +1,21 @@
+From: Martin Uecker <ma.uecker at gmail.com>
+Date: Wed, 29 Dec 2021 13:26:27 +0100
+Subject: workaround for GCC 11 compiler bug (debian bug #1002505)
+
+---
+ src/draw.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/draw.h b/src/draw.h
+index 78d4dae..e45f4a9 100644
+--- a/src/draw.h
++++ b/src/draw.h
+@@ -6,7 +6,7 @@ enum mode_t { MAGN, MAGN_VIRIDS, CMPL, CMPL_MYGBM, PHSE, PHSE_MYGBM, REAL, FLOW
+ enum flip_t { OO, XO, OY, XY };
+ enum interp_t { NLINEAR, NEAREST };
+ 
+-extern complex float sample(int N, const float pos[N], const long dims[N], const long strs[N], enum interp_t interpolation, const complex float* in);
++extern complex float sample(int N, const float pos[/*N*/], const long dims[/*N*/], const long strs[/*N*/], enum interp_t interpolation, const complex float* in);
+ 
+ extern void resample(int X, int Y, long str, complex float* buf,
+ 	int N, const double pos[N], const double dx[N], const double dy[N], 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-install-create-parent-directories.patch
 0002-don-t-build-cfl2png.patch
 0003-enable-cross-build.patch
+0004-workaround-for-GCC-11-compiler-bug-debian-bug-100250.patch



View it on GitLab: https://salsa.debian.org/med-team/bart-view/-/commit/242bf056666db715afdc488882cc75b4be2c3cc6

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart-view/-/commit/242bf056666db715afdc488882cc75b4be2c3cc6
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/20211229/4a367d93/attachment-0001.htm>


More information about the debian-med-commit mailing list