Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/xsqlmenu Use non-ancient connect interface



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1825f034b9fa
branches:  trunk
changeset: 431123:1825f034b9fa
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 09 15:19:32 2020 +0000

description:
Use non-ancient connect interface

diffstat:

 databases/xsqlmenu/distinfo                 |   3 ++-
 databases/xsqlmenu/patches/patch-Xsqldefs.h |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r a21b30662ea5 -r 1825f034b9fa databases/xsqlmenu/distinfo
--- a/databases/xsqlmenu/distinfo       Sat May 09 15:19:02 2020 +0000
+++ b/databases/xsqlmenu/distinfo       Sat May 09 15:19:32 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 01:56:36 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/05/09 15:19:32 joerg Exp $
 
 SHA1 (xsqlmenu-2.10.tar.gz) = d97c3237d5bfd2213648067196b5f6d4a57fe706
 RMD160 (xsqlmenu-2.10.tar.gz) = ab3f35954ce50de1bf391174d13045989839db84
 SHA512 (xsqlmenu-2.10.tar.gz) = 3dc1e84a39d390fac82f36e654819d0eba3c1cd32a26a01d6704d4ddccbe4c7d939aba09090789a70923744f071ac05941bc3697a05560601d08cffe9a5ffb99
 Size (xsqlmenu-2.10.tar.gz) = 31458 bytes
+SHA1 (patch-Xsqldefs.h) = 8eedffa8b92d0a9eae85e7879d65d04a34d91271
 SHA1 (patch-aa) = 68c45a0787adf3a840343cf968d1c2172822a080
diff -r a21b30662ea5 -r 1825f034b9fa databases/xsqlmenu/patches/patch-Xsqldefs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/xsqlmenu/patches/patch-Xsqldefs.h       Sat May 09 15:19:32 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Xsqldefs.h,v 1.1 2020/05/09 15:19:33 joerg Exp $
+
+mysql_connect is gone.
+
+--- Xsqldefs.h.orig    2020-05-09 01:21:30.054455724 +0000
++++ Xsqldefs.h
+@@ -34,7 +34,8 @@
+ #define sql_list_tables(sock, wild)  mysql_list_tables(sock, wild)
+ #define sql_list_fields(sock, table, wild)  mysql_list_fields(sock, table, wild)
+ #define sql_select_db(sock, db)   mysql_select_db(sock, db)
+-#define sql_connect(sock, server, user, pass) mysql_connect(sock, server, user, pass)
++#define sql_connect(sock, server, user, pass) mysql_real_connect(sock, server, user, pass, NULL, 0, NULL, 0)
++
+ #define sql_query(sock, query)    mysql_query(sock, query)
+ #define sql_close(sock)           mysql_close(sock)
+ #define SQL_FIELD                 MYSQL_FIELD



Home | Main Index | Thread Index | Old Index