Debian Codegraph @

3rdparty/parmetis/parmetis-4.0.3.patch

raw
1 --- a/parmetis-4.0.3/metis/GKlib/gk_arch.h 2015-03-12 18:55:30.000000000 +0100
2 +++ b/parmetis-4.0.3/metis/GKlib/gk_arch.h 2015-03-12 20:27:25.000000000 +0100
3 @@ -41,7 +41,9 @@
4 #endif
5 #include <inttypes.h>
6 #include <sys/types.h>
7 - #include <sys/resource.h>
8 +#ifndef __WIN32__
9 + #include <sys/resource.h>
10 +#endif
11 #include <sys/time.h>
12 #endif
13
14 --- a/parmetis-4.0.3/metis/GKlib/gk_getopt.h 2013-03-30 17:24:50.000000000 +0100
15 +++ b/parmetis-4.0.3/metis/GKlib/gk_getopt.h 2015-03-26 14:26:48.000000000 +0100
16 @@ -52,11 +52,11 @@
17
18
19 /* Function prototypes */
20 -extern int gk_getopt(int __argc, char **__argv, char *__shortopts);
21 -extern int gk_getopt_long(int __argc, char **__argv, char *__shortopts,
22 - struct gk_option *__longopts, int *__longind);
23 -extern int gk_getopt_long_only (int __argc, char **__argv,
24 - char *__shortopts, struct gk_option *__longopts, int *__longind);
25 +extern int gk_getopt(int argc, char **argv, char *shortopts);
26 +extern int gk_getopt_long(int argc, char **argv, char *shortopts,
27 + struct gk_option *longopts, int *longind);
28 +extern int gk_getopt_long_only (int argc, char **argv,
29 + char *shortopts, struct gk_option *longopts, int *longind);
30
31
32