1 |
volkmar 09/04/08 17:30:28 |
2 |
|
3 |
Added: gnugk-2.2.8-firebird-2.1.patch |
4 |
Log: |
5 |
version bump to 2.2.8 see bug 258518 |
6 |
(Portage version: 2.1.6.7/cvs/Linux ppc) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-voip/gnugk/files/gnugk-2.2.8-firebird-2.1.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/files/gnugk-2.2.8-firebird-2.1.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/gnugk/files/gnugk-2.2.8-firebird-2.1.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnugk-2.2.8-firebird-2.1.patch |
15 |
=================================================================== |
16 |
--- gksql_firebird.cxx.old 2009-02-11 01:31:53.000000000 +0100 |
17 |
+++ gksql_firebird.cxx 2009-02-11 01:31:59.000000000 +0100 |
18 |
@@ -370,7 +370,7 @@ |
19 |
char errormsg[512]; |
20 |
if (errcode == -999) { |
21 |
errcode = status[1]; |
22 |
- long *pvector = status; |
23 |
+ ISC_STATUS *pvector = status; |
24 |
// TODO: replace all isc_interprete() with fb_interpret() |
25 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
26 |
} else { |
27 |
@@ -417,7 +417,7 @@ |
28 |
char errormsg[512]; |
29 |
if (errcode == -999) { |
30 |
errcode = status[1]; |
31 |
- long *pvector = status; |
32 |
+ ISC_STATUS *pvector = status; |
33 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
34 |
} else { |
35 |
strcpy(errormsg, "SQL:"); |
36 |
@@ -497,7 +497,7 @@ |
37 |
|
38 |
isc_attach_database(status, 0, const_cast<char*>(dbname.c_str()), &conn, dpb_offset, &(dpb[0])); |
39 |
if (status[0] == 1 && status[1] != 0) { |
40 |
- long *pvector = status; |
41 |
+ ISC_STATUS *pvector = status; |
42 |
char errormsg[512]; |
43 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
44 |
PTRACE(2, GetName() << "\tFirebird connection to " << m_username << '@' << dbname |
45 |
@@ -530,7 +530,7 @@ |
46 |
|
47 |
isc_start_transaction(status, &tr, 1, &conn, 0, NULL); |
48 |
if (status[0] == 1 && status[1] != 0) { |
49 |
- long *pvector = status; |
50 |
+ ISC_STATUS *pvector = status; |
51 |
char errormsg[512]; |
52 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
53 |
return new GkIBSQLResult(status[1], errormsg); |
54 |
@@ -541,7 +541,7 @@ |
55 |
long errorcode = isc_sqlcode(status); |
56 |
if (errorcode == -999) { |
57 |
errorcode = status[1]; |
58 |
- long *pvector = status; |
59 |
+ ISC_STATUS *pvector = status; |
60 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
61 |
} else { |
62 |
strcpy(errormsg, "SQL:"); |
63 |
@@ -562,7 +562,7 @@ |
64 |
long errorcode = isc_sqlcode(status); |
65 |
if (errorcode == -999) { |
66 |
errorcode = status[1]; |
67 |
- long *pvector = status; |
68 |
+ ISC_STATUS *pvector = status; |
69 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
70 |
} else { |
71 |
strcpy(errormsg, "SQL:"); |
72 |
@@ -585,7 +585,7 @@ |
73 |
long errorcode = isc_sqlcode(status); |
74 |
if (errorcode == -999) { |
75 |
errorcode = status[1]; |
76 |
- long *pvector = status; |
77 |
+ ISC_STATUS *pvector = status; |
78 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
79 |
} else { |
80 |
strcpy(errormsg, "SQL:"); |
81 |
@@ -603,7 +603,7 @@ |
82 |
long errorcode = isc_sqlcode(status); |
83 |
if (errorcode == -999) { |
84 |
errorcode = status[1]; |
85 |
- long *pvector = status; |
86 |
+ ISC_STATUS *pvector = status; |
87 |
errormsg[isc_interprete(errormsg, &pvector)] = 0; |
88 |
} else { |
89 |
strcpy(errormsg, "SQL:"); |