File: compilation.patch

package info (click to toggle)
dotur 1.53-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: cpp: 1,811; makefile: 9
file content (39 lines) | stat: -rw-r--r-- 1,077 bytes parent folder | download
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
39
Description: Add new includes to be able to compile with current g++
Author: Steffen Moeller <moeller@debian.org>
Last-Update: 2011-03-03
Index: dotur-1.53/dotur.C
===================================================================
--- dotur-1.53.orig/dotur.C	2011-03-03 00:04:37.000000000 +0100
+++ dotur-1.53/dotur.C	2011-03-03 00:05:36.000000000 +0100
@@ -3,13 +3,15 @@
 
 using namespace std;
 
+#include <cstdlib>
+#include <algorithm>
 #include "otu.h"
 #include "richness.h"
 #include <iostream>
 #include <fstream>
 #include <iomanip>
 #include <vector>
-#include <string>
+#include <cstring>
 #include <sstream>
 #include <list>
 #include <ctime>
Index: dotur-1.53/otu.h
===================================================================
--- dotur-1.53.orig/otu.h	2011-03-03 00:04:37.000000000 +0100
+++ dotur-1.53/otu.h	2011-03-03 00:05:36.000000000 +0100
@@ -1,8 +1,9 @@
+#include <cstdlib>
 #include <iostream>
 #include <fstream>
 #include <iomanip>
 #include <vector>
-#include <string>
+#include <cstring>
 #include <sstream>
 #include <list>
 #include <cmath>