[med-svn] [Git][med-team/roguenarok][master] Fix gcc-10 FTBFS

Nilesh Patra gitlab at salsa.debian.org
Mon Jul 27 12:09:29 BST 2020



Nilesh Patra pushed to branch master at Debian Med / roguenarok


Commits:
0caef8d3 by Nilesh Patra at 2020-07-27T16:34:56+05:30
Fix gcc-10 FTBFS

- - - - -


2 changed files:

- + debian/patches/fix-gcc10-build.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix-gcc10-build.patch
=====================================
@@ -0,0 +1,38 @@
+Author: Nilesh Patra <npatra974 at gmail.com>
+Description: Append relevant attribute flag to prevent gcc-10 FTBFS
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=957768
+Last-Updated: July 27, 2020
+
+--- a/BitVector.h
++++ b/BitVector.h
+@@ -49,7 +49,7 @@
+ #define NTH_BIT_IS_SET_IN_INT(integer,n) (integer & mask32[n])
+ #define MASK_LENGTH 32
+ 
+-char bits_in_16bits [0x1u << 16];
++__attribute__((__common__)) char bits_in_16bits [0x1u << 16];
+ extern BitVector *mask32;
+ 
+ void initializeMask();
+--- a/common.h
++++ b/common.h
+@@ -71,7 +71,7 @@
+ 
+ #define GET_FROM_UPPER_TRIANGLE(matrix,a,b,c) ((b<c) ? matrix[a][b][(c)-(b)] : matrix[a][c][(b)-(c)])
+ 
+-int processID;
++__attribute__((__common__)) int processID;
+ void  printVersionInfo(boolean toInfoFile);
+ int wrapStrToL(char *string);
+ void printBothOpen(const char* format, ... );
+--- a/parallel.h
++++ b/parallel.h
+@@ -58,7 +58,7 @@
+ } parallelArguments ; 
+ 
+ 
+-parallelArguments *globalPArgs; 
++__attribute__((__common__)) parallelArguments *globalPArgs; 
+ 
+ typedef struct
+ {


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 hardening.patch
+fix-gcc10-build.patch



View it on GitLab: https://salsa.debian.org/med-team/roguenarok/-/commit/0caef8d3822dcd0b62a517ebe7f5ec8b2f6480b9

-- 
View it on GitLab: https://salsa.debian.org/med-team/roguenarok/-/commit/0caef8d3822dcd0b62a517ebe7f5ec8b2f6480b9
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/20200727/d48a662b/attachment-0001.html>


More information about the debian-med-commit mailing list