File: clang-ftbfs.patch

package info (click to toggle)
ampliconnoise 1.29-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,316 kB
  • sloc: ansic: 18,085; sh: 2,901; perl: 2,089; makefile: 240
file content (38 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Author: Arthur Marble <arthur@info9.net>
Last-Update: 2014-02-24
Bug-Debian: http://bugs.debian.org/740029
Description: Fix FTBFS with clang instead of gcc
 The package is orphaned upstream, hence not forwarded.
Forwarded: no

--- a/FCluster/FCluster.c
+++ b/FCluster/FCluster.c
@@ -857,7 +857,7 @@ int outputCluster(t_Params *ptParams, t_
   free(anIndex); 
   free(szOtuFile);
   free(szListFile);
-  return;
+  return 0;
   
 }
 
--- a/SplitClusterEven/SplitClusterEven.c
+++ b/SplitClusterEven/SplitClusterEven.c
@@ -375,7 +375,7 @@ double maxDepth(t_Node* ptTree, double*
     maxDepth(ptTree->ptLeft, pdDepth);
   }
 
-  return;
+  return 0;
 }
 
 double setDepth(t_Node* ptTree, double dDepth)
@@ -390,7 +390,7 @@ double setDepth(t_Node* ptTree, double d
     setDepth(ptTree->ptRight, dDepth + ptTree->dRight);
   }
 
-  return;
+  return 0;
 }
 
 void writeIndices(t_Node* ptTree, FILE* ofp)