pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/xsqlmenu
Module Name: pkgsrc
Committed By: joerg
Date: Sat May 9 15:19:33 UTC 2020
Modified Files:
pkgsrc/databases/xsqlmenu: distinfo
Added Files:
pkgsrc/databases/xsqlmenu/patches: patch-Xsqldefs.h
Log Message:
Use non-ancient connect interface
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/xsqlmenu/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/xsqlmenu/patches/patch-Xsqldefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/xsqlmenu/distinfo
diff -u pkgsrc/databases/xsqlmenu/distinfo:1.5 pkgsrc/databases/xsqlmenu/distinfo:1.6
--- pkgsrc/databases/xsqlmenu/distinfo:1.5 Tue Nov 3 01:56:36 2015
+++ pkgsrc/databases/xsqlmenu/distinfo Sat May 9 15:19:32 2020
@@ -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
Added files:
Index: pkgsrc/databases/xsqlmenu/patches/patch-Xsqldefs.h
diff -u /dev/null pkgsrc/databases/xsqlmenu/patches/patch-Xsqldefs.h:1.1
--- /dev/null Sat May 9 15:19:33 2020
+++ pkgsrc/databases/xsqlmenu/patches/patch-Xsqldefs.h Sat May 9 15:19:33 2020
@@ -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