Fix build with gcc-3.4
This commit is contained in:
parent
81b9d9a3ed
commit
18cfdf600f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117054
2 changed files with 28 additions and 0 deletions
14
devel/datadesigner/files/patch-src_container.cc
Normal file
14
devel/datadesigner/files/patch-src_container.cc
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/container.cc.orig Sun Aug 22 21:54:00 2004
|
||||
+++ src/container.cc Sun Aug 22 21:54:09 2004
|
||||
@@ -103,7 +103,7 @@
|
||||
int idx;
|
||||
|
||||
count = m_project->GetChildrenCount(m_treeitemid, FALSE);
|
||||
- strings = new (wxString *) [count+1];
|
||||
+ strings = new wxString * [count+1];
|
||||
|
||||
idx = 0;
|
||||
child = m_project->GetFirstChild(m_treeitemid, cookie);
|
14
devel/datadesigner/files/patch-src_servers_dbserver.cc
Normal file
14
devel/datadesigner/files/patch-src_servers_dbserver.cc
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/servers/dbserver.cc.orig Sun Aug 22 21:52:56 2004
|
||||
+++ src/servers/dbserver.cc Sun Aug 22 21:53:09 2004
|
||||
@@ -181,7 +181,7 @@
|
||||
wxDBServerListNode *node;
|
||||
int idx = 0;
|
||||
|
||||
- names = new (wxString)[g_dbserverlist->GetCount()];
|
||||
+ names = new wxString[g_dbserverlist->GetCount()];
|
||||
|
||||
node = g_dbserverlist->GetFirst();
|
||||
while (node) {
|
Loading…
Reference in a new issue