summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/kpogre/files/kpogre-0.97-gentoo.patch')
-rw-r--r--dev-db/kpogre/files/kpogre-0.97-gentoo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-db/kpogre/files/kpogre-0.97-gentoo.patch b/dev-db/kpogre/files/kpogre-0.97-gentoo.patch
new file mode 100644
index 000000000000..81fff6b2c262
--- /dev/null
+++ b/dev-db/kpogre/files/kpogre-0.97-gentoo.patch
@@ -0,0 +1,24 @@
+diff -uNr kpogre-0.97/kpogre/DbObjects/kpgdatabase.cpp kpogre-0.97-fixed/kpogre/DbObjects/kpgdatabase.cpp
+--- kpogre-0.97/kpogre/DbObjects/kpgdatabase.cpp 2004-03-20 17:25:20.000000000 +0100
++++ kpogre-0.97-fixed/kpogre/DbObjects/kpgdatabase.cpp 2004-04-16 11:36:38.199823760 +0200
+@@ -368,7 +368,7 @@
+ {
+ kdError() << e.what() << endl;
+ KMessageBox::sorry(0, e.what());
+- return false;
++ return;
+ }
+ }
+
+diff -uNr kpogre-0.97/kpogre/kpogreview.cpp kpogre-0.97-fixed/kpogre/kpogreview.cpp
+--- kpogre-0.97/kpogre/kpogreview.cpp 2004-03-20 17:25:20.000000000 +0100
++++ kpogre-0.97-fixed/kpogre/kpogreview.cpp 2004-04-16 11:57:09.112696560 +0200
+@@ -204,7 +204,7 @@
+ connect(m_pTabPropertiesAndTerminals, SIGNAL(currentChanged( QWidget * )), this, SLOT (slotTabWidgetCurrentChanged( QWidget *)) );
+
+ //construct 10 KPGSqlQueryResultWindow
+- m_ppTerminals = new (KPGSqlQueryResultWindow*)[10];
++ m_ppTerminals = new KPGSqlQueryResultWindow*[10];
+ tabIndex = 0;
+ KPGSqlQueryResultWindow* pQueryResultWindow;
+ for (int i=0 ; i<10 ; i++ )