Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/sword/files: sword-1.5.10+gcc-4.3.patch
Date: Mon, 09 Jun 2008 12:53:18
Message-Id: E1K5gs4-0007V4-7b@stork.gentoo.org
1 flameeyes 08/06/09 12:53:12
2
3 Added: sword-1.5.10+gcc-4.3.patch
4 Log:
5 Add patch to build with GCC 4.3. Thanks to Marek Miller in bug #225479.
6 (Portage version: 2.1.5.4)
7
8 Revision Changes Path
9 1.1 app-text/sword/files/sword-1.5.10+gcc-4.3.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/sword/files/sword-1.5.10+gcc-4.3.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/sword/files/sword-1.5.10+gcc-4.3.patch?rev=1.1&content-type=text/plain
13
14 Index: sword-1.5.10+gcc-4.3.patch
15 ===================================================================
16 --- include/gbfwordjs.h.orig 2008-06-09 00:45:08.000000000 +0200
17 +++ include/gbfwordjs.h 2008-06-09 00:45:49.000000000 +0200
18 @@ -21,6 +21,8 @@
19 #ifndef GBFWORDSJS_H
20 #define GBFWORDSJS_H
21
22 +
23 +#include <cstdio>
24 #include <swoptfilter.h>
25
26 SWORD_NAMESPACE_START
27
28 --- include/flatapi.h.orig 2008-06-09 00:51:23.000000000 +0200
29 +++ include/flatapi.h 2008-06-09 00:51:43.000000000 +0200
30 @@ -29,6 +29,8 @@
31
32 extern "C" {
33
34 +
35 +#include <stdint.h>
36 #define SWHANDLE intptr_t
37
38
39
40 --- utilities/diatheke/corediatheke.h.orig 2008-06-09 00:57:06.000000000 +0200
41 +++ utilities/diatheke/corediatheke.h 2008-06-09 00:57:57.000000000 +0200
42 @@ -3,7 +3,8 @@
43 // Licensed under GNU General Public License (GPL)
44 // see accompanying LICENSE file for license details
45
46 -#include <stdio.h>
47 +#include <cstdio>
48 +#include <fstream>
49
50 #include "diathekemgr.h"
51 #include <localemgr.h>
52
53 --- utilities/diatheke/osiscgi.h.orig 2008-06-09 01:01:14.000000000 +0200
54 +++ utilities/diatheke/osiscgi.h 2008-06-09 01:01:45.000000000 +0200
55 @@ -19,6 +19,7 @@
56
57 #include <swbasicfilter.h>
58
59 +#include <cctype>
60 #include <defs.h>
61
62 SWORD_NAMESPACE_START
63
64
65
66
67 --
68 gentoo-commits@l.g.o mailing list