summaryrefslogtreecommitdiff
path: root/databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-01-10 15:33:27 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-01-10 15:33:27 +0000
commitb87729161953322ea7c4fc0874cfc59a7574d7b9 (patch)
tree6d3ecfc13bdd7c2acaf4632c647478947ed14d03 /databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp
parentUpdate to 0.11.18 (diff)
- Make it compilable with old gcc [1]
- Fix plist PR: ports/76054 Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Diffstat (limited to 'databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp')
-rw-r--r--databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp
new file mode 100644
index 000000000000..ef1f6711f469
--- /dev/null
+++ b/databases/mysql41-server/files/patch-ndb::src::mgmclient::main.cpp
@@ -0,0 +1,11 @@
+--- 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);