pkgsrc/databases/mysql5-client/patches/patch-aj
taca 9f10abba62 Update mysql5-client and mysql5-server package to version 5.0.90.
This release many bug fixes and DoS security problem (CVE-2009-4484).

Plese refer these URL in detail.

http://dev.mysql.com/doc/refman/5.0/en/news-5-0-89.html
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html

There some minor pkgsrc change to prevent compile time warnings.
2010-02-18 15:46:10 +00:00

21 lines
689 B
Text

$NetBSD: patch-aj,v 1.4 2010/02/18 15:46:10 taca Exp $
--- client/mysqladmin.cc.orig 2010-01-15 09:47:38.000000000 +0000
+++ client/mysqladmin.cc
@@ -332,8 +332,14 @@ int main(int argc,char *argv[])
if (tty_password)
opt_password = get_tty_password(NullS);
- VOID(signal(SIGINT,endprog)); /* Here if abort */
- VOID(signal(SIGTERM,endprog)); /* Here if abort */
+#ifdef IRIX5
+#define _MYSQL_END_TYPE (void (*)(...))
+#else
+#define _MYSQL_END_TYPE
+#endif
+
+ VOID(signal(SIGINT,_MYSQL_END_TYPE endprog)); /* Here if abort */
+ VOID(signal(SIGTERM,_MYSQL_END_TYPE endprog));/* Here if abort */
if (opt_compress)
mysql_options(&mysql,MYSQL_OPT_COMPRESS,NullS);