Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/bonnie++/files: bonnie++-1.93c-missing_include.patch
Date: Fri, 02 May 2008 14:21:53
Message-Id: E1Jrw91-0003Kj-B8@stork.gentoo.org
1 dev-zero 08/05/02 14:21:51
2
3 Added: bonnie++-1.93c-missing_include.patch
4 Log:
5 Added patch to fix compilation problems with gcc-4.3
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch?rev=1.1&content-type=text/plain
13
14 Index: bonnie++-1.93c-missing_include.patch
15 ===================================================================
16 diff -Naur bonnie++-1.93c.orig/bon_csv2html.cpp bonnie++-1.93c/bon_csv2html.cpp
17 --- bonnie++-1.93c.orig/bon_csv2html.cpp 2008-05-02 14:12:19.000000000 +0200
18 +++ bonnie++-1.93c/bon_csv2html.cpp 2008-05-02 14:13:57.000000000 +0200
19 @@ -3,6 +3,7 @@
20 #include <vector>
21 #include <string.h>
22 #include <math.h>
23 +#include <stdlib.h>
24
25 // Maximum number of items expected on a csv line
26 #define MAX_ITEMS 48
27 diff -Naur bonnie++-1.93c.orig/getc_putc.cpp bonnie++-1.93c/getc_putc.cpp
28 --- bonnie++-1.93c.orig/getc_putc.cpp 2008-05-02 14:12:19.000000000 +0200
29 +++ bonnie++-1.93c/getc_putc.cpp 2008-05-02 14:19:15.000000000 +0200
30 @@ -12,6 +12,7 @@
31 #include <sys/types.h>
32 #include <sys/stat.h>
33 #include <fcntl.h>
34 +#include <string.h>
35 #include <vector>
36
37 #include "duration.h"
38 diff -Naur bonnie++-1.93c.orig/getc_putc_helper.cpp bonnie++-1.93c/getc_putc_helper.cpp
39 --- bonnie++-1.93c.orig/getc_putc_helper.cpp 2008-05-02 14:12:19.000000000 +0200
40 +++ bonnie++-1.93c/getc_putc_helper.cpp 2008-05-02 14:19:57.000000000 +0200
41 @@ -7,6 +7,7 @@
42 #include <sys/types.h>
43 #include <sys/stat.h>
44 #include <fcntl.h>
45 +#include <string.h>
46 #include "duration.h"
47 #include <vector>
48 #include "getc_putc.h"
49 diff -Naur bonnie++-1.93c.orig/zcav.cpp bonnie++-1.93c/zcav.cpp
50 --- bonnie++-1.93c.orig/zcav.cpp 2008-05-02 14:12:19.000000000 +0200
51 +++ bonnie++-1.93c/zcav.cpp 2008-05-02 14:20:42.000000000 +0200
52 @@ -9,6 +9,9 @@
53 #include "getopt.h"
54 #endif
55
56 +#include <stdlib.h>
57 +#include <string.h>
58 +
59 #define TOO_MANY_LOOPS 100
60
61 void usage()
62
63
64
65 --
66 gentoo-commits@l.g.o mailing list