File: gcc6.patch

package info (click to toggle)
mssstest 3.0-7
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 240 kB
  • sloc: cpp: 1,895; makefile: 31
file content (13 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
DescriptionL fix building with GCC6
Author: Sascha Steinbiss <satta@debian.org>
--- a/neededroutines.cpp
+++ b/neededroutines.cpp
@@ -169,7 +169,7 @@
   int *intranks;
 
   intranks = new int [len+1];
-  rank(len, arr, intranks);
+  ::rank(len, arr, intranks);
 
   for (i=1; i<=len; i++)
     ranks[i] = (float) intranks[i];