ports/databases/hk_classes/files/patch-hk_drivermanager.cpp
Tilman Keskinoz ffa94017d6 Add hk_classes,
C++ library which allows rapid development of database applications.

Note: hk_classes works with mysql, postgresql und ODBC, but this port only
supports mysql at the moment.

Prodded by: 	enoal <sreco@xmission.com>
PR:		41380
2003-10-31 12:38:30 +00:00

11 lines
410 B
C++

--- hk_classes/hk_drivermanager.cpp.orig Fri Oct 31 12:14:16 2003
+++ hk_classes/hk_drivermanager.cpp Fri Oct 31 12:14:25 2003
@@ -141,7 +141,7 @@
{
if (interactive)
{
- char* e=dlerror();
+ const char* e=dlerror();
hk_string error=hk_translate("Unknown reason");
if (e) error=e;
hk_string w=hk_translate("Database driver '%DRIVER%' could not be loaded.\nReason: ")+error;