[med-svn] [Git][med-team/minc-tools][master] 5 commits: Fix gcc-10 FTBFS

Nilesh Patra gitlab at salsa.debian.org
Thu Jul 30 15:10:29 BST 2020



Nilesh Patra pushed to branch master at Debian Med / minc-tools


Commits:
c1e3fbbd by Nilesh Patra at 2020-07-30T19:19:38+05:30
Fix gcc-10 FTBFS

- - - - -
af414ea7 by Nilesh Patra at 2020-07-30T19:24:32+05:30
Add upstream/metadata

- - - - -
6b4020e7 by Nilesh Patra at 2020-07-30T19:25:28+05:30
Remove compat, switch to debhelper-compat version 13

- - - - -
9faf4210 by Nilesh Patra at 2020-07-30T19:26:01+05:30
standards-version: 4.5.0

- - - - -
69e6ca35 by Nilesh Patra at 2020-07-30T19:26:41+05:30
Add "Rules-Requires-Root: no"

- - - - -


5 changed files:

- − debian/compat
- debian/control
- + debian/patches/fix-gcc10-build.patch
- debian/patches/series
- + debian/upstream/metadata


Changes:

=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11
\ No newline at end of file


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Steve M. Robbins <smr at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 13),
                cmake,
                bison,
                flex,
@@ -14,10 +14,11 @@ Build-Depends: debhelper (>= 11~),
                zlib1g-dev,
                texlive-latex-base,
                libhdf5-dev
-Standards-Version: 4.2.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/minc-tools
 Vcs-Git: https://salsa.debian.org/med-team/minc-tools.git
 Homepage: http://www.bic.mni.mcgill.ca/ServicesSoftware/HomePage
+Rules-Requires-Root: no
 
 Package: minc-tools
 Architecture: any


=====================================
debian/patches/fix-gcc10-build.patch
=====================================
@@ -0,0 +1,20 @@
+Author: Nilesh Patra <npatra974 at gmail.com>
+Description: Append attribute flag to prevent gcc-10 FTBFS
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=957542
+Forwarded: no
+Last-Updated: July 30, 2020
+
+--- a/conversion/minctoecat/ecat_write.h
++++ b/conversion/minctoecat/ecat_write.h
+@@ -39,9 +39,9 @@
+   BitData
+ } MatrixDataType;
+ 
+-MatrixErrorCode matrix_errno;
++__attribute__((__common__)) MatrixErrorCode matrix_errno;
+ 
+-char matrix_errtxt[132];
++__attribute__((__common__)) char matrix_errtxt[132];
+ 
+ typedef struct XMAIN_HEAD {
+   char magic_number[14];


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ build-with-libnifti
 hdf5-1.10-support.patch
 spelling.patch
 fix_manpages.patch
+fix-gcc10-build.patch


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,7 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/BIC-MNI/libminc/issues
+Contact: https://github.com/BIC-MNI/libminc/issues
+Name: libminc
+Repository: https://github.com/BIC-MNI/libminc.git
+Repository-Browse: https://github.com/BIC-MNI/libminc



View it on GitLab: https://salsa.debian.org/med-team/minc-tools/-/compare/2e9add97bcfaaf702a1ecef2274609236be4fcbd...69e6ca35676370c7f7ef725ad356a3481c8d18d6

-- 
View it on GitLab: https://salsa.debian.org/med-team/minc-tools/-/compare/2e9add97bcfaaf702a1ecef2274609236be4fcbd...69e6ca35676370c7f7ef725ad356a3481c8d18d6
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/20200730/00c0a090/attachment-0001.html>


More information about the debian-med-commit mailing list