freebsd-ports/databases/mysql54-server/files/patch-ndb::src::mgmclient::main.cpp
Alex Dupre e87c84f2d1 - Make it compilable with old gcc [1]
- Fix plist

PR:		ports/76054
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-01-10 16:25:13 +00:00

11 lines
410 B
C++

--- ndb/src/mgmclient/main.cpp.orig Mon Jan 10 15:36:57 2005
+++ ndb/src/mgmclient/main.cpp Mon Jan 10 15:37:26 2005
@@ -122,7 +122,7 @@
}
#ifdef HAVE_READLINE
/* Get a line from the user. */
- line_read = readline (prompt);
+ line_read = readline ((char *)prompt);
/* If the line has any text in it, save it on the history. */
if (line_read && *line_read)
add_history (line_read);