diff options
author | ale <ale@FreeBSD.org> | 2005-01-11 00:25:13 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-01-11 00:25:13 +0800 |
commit | 3bbb9eddf2224ac939aa8b76719045b5deaeb61a (patch) | |
tree | b771d0b754a07c5a4a7135cd6dce4db4421dacd2 /databases | |
parent | 832413e615e86ae6bcf811cfcc7c74d2fa425077 (diff) | |
download | freebsd-ports-gnome-3bbb9eddf2224ac939aa8b76719045b5deaeb61a.tar.gz freebsd-ports-gnome-3bbb9eddf2224ac939aa8b76719045b5deaeb61a.tar.zst freebsd-ports-gnome-3bbb9eddf2224ac939aa8b76719045b5deaeb61a.zip |
- 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')
12 files changed, 102 insertions, 6 deletions
diff --git a/databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql50-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/mysql50-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); diff --git a/databases/mysql50-server/pkg-plist b/databases/mysql50-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/mysql50-server/pkg-plist +++ b/databases/mysql50-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist diff --git a/databases/mysql51-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql51-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/mysql51-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); diff --git a/databases/mysql51-server/pkg-plist b/databases/mysql51-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/mysql51-server/pkg-plist +++ b/databases/mysql51-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist diff --git a/databases/mysql54-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql54-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/mysql54-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); diff --git a/databases/mysql54-server/pkg-plist b/databases/mysql54-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/mysql54-server/pkg-plist +++ b/databases/mysql54-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist diff --git a/databases/mysql55-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql55-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/mysql55-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); diff --git a/databases/mysql55-server/pkg-plist b/databases/mysql55-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/mysql55-server/pkg-plist +++ b/databases/mysql55-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist diff --git a/databases/mysql60-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/mysql60-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/mysql60-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); diff --git a/databases/mysql60-server/pkg-plist b/databases/mysql60-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/mysql60-server/pkg-plist +++ b/databases/mysql60-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist diff --git a/databases/percona55-server/files/patch-ndb::src::mgmclient::main.cpp b/databases/percona55-server/files/patch-ndb::src::mgmclient::main.cpp new file mode 100644 index 000000000000..ef1f6711f469 --- /dev/null +++ b/databases/percona55-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); diff --git a/databases/percona55-server/pkg-plist b/databases/percona55-server/pkg-plist index 243dddbdd337..8d36cf62ba99 100644 --- a/databases/percona55-server/pkg-plist +++ b/databases/percona55-server/pkg-plist @@ -11,7 +11,6 @@ bin/mysql_install_db bin/mysql_tzinfo_to_sql bin/mysql_waitpid bin/mysqld_safe -%%NDB%%bin/ndb_cpcd %%NDB%%bin/ndb_delete_all %%NDB%%bin/ndb_desc %%NDB%%bin/ndb_drop_index @@ -21,6 +20,7 @@ bin/mysqld_safe %%NDB%%bin/ndb_select_all %%NDB%%bin/ndb_select_count %%NDB%%bin/ndb_show_tables +%%NDB%%bin/ndb_test_platform %%NDB%%bin/ndb_waiter bin/pack_isam bin/perror @@ -29,6 +29,8 @@ bin/resolve_stack_dump bin/resolveip etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/mgmapi/mgmapi.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h +%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h %%NDB%%include/mysql/ndb/mgmapi/mgmapi_debug.h %%NDB%%include/mysql/ndb/ndb_types.h %%NDB%%include/mysql/ndb/ndb_version.h @@ -41,6 +43,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbError.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbEventOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbIndexOperation.hpp +%%NDB%%include/mysql/ndb/ndbapi/NdbIndexScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbPool.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbRecAttr.hpp @@ -49,6 +52,7 @@ etc/rc.d/mysql-server.sh %%NDB%%include/mysql/ndb/ndbapi/NdbScanFilter.hpp %%NDB%%include/mysql/ndb/ndbapi/NdbScanOperation.hpp %%NDB%%include/mysql/ndb/ndbapi/ndbapi_limits.h +%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp %%NDB%%include/mysql/ndb/ndbapi/ndberror.h lib/mysql/libdbug.a lib/mysql/libheap.a @@ -63,6 +67,7 @@ lib/mysql/libmysys.a lib/mysql/libnisam.a lib/mysql/libvio.a libexec/mysqld +%%NDB%%libexec/ndb_cpcd %%NDB%%libexec/ndb_mgmd %%NDB%%libexec/ndbd %%DATADIR%%/Description.plist |