pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/erlang-sqlite3 erlang-sqlite3: Update to 1.1.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f588c121508c
branches:  trunk
changeset: 445303:f588c121508c
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 19 15:47:11 2021 +0000

description:
erlang-sqlite3: Update to 1.1.9

fixes building with newer OTP releases.

diffstat:

 databases/erlang-sqlite3/Makefile                            |   8 ++----
 databases/erlang-sqlite3/distinfo                            |  11 ++++----
 databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c |  15 ++++++++++++
 3 files changed, 24 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r d5cf59f12b86 -r f588c121508c databases/erlang-sqlite3/Makefile
--- a/databases/erlang-sqlite3/Makefile Tue Jan 19 15:37:09 2021 +0000
+++ b/databases/erlang-sqlite3/Makefile Tue Jan 19 15:47:11 2021 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.19 2020/11/05 09:07:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.20 2021/01/19 15:47:11 nia Exp $
 
-DISTNAME=      sqlite3-1.1.6
-PKGNAME=       erlang-${DISTNAME}
-PKGREVISION=   7
+DISTNAME=      sqlite3-1.1.9
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=processone/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/processone/erlang-sqlite3/
+HOMEPAGE=      https://github.com/processone/erlang-sqlite3
 COMMENT=       Sqlite gen_server port for Erlang
 LICENSE=       erlang-public-license
 
diff -r d5cf59f12b86 -r f588c121508c databases/erlang-sqlite3/distinfo
--- a/databases/erlang-sqlite3/distinfo Tue Jan 19 15:37:09 2021 +0000
+++ b/databases/erlang-sqlite3/distinfo Tue Jan 19 15:47:11 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2018/03/28 21:50:16 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2021/01/19 15:47:11 nia Exp $
 
-SHA1 (sqlite3-1.1.6.tar.gz) = 0ba88c157e0c8631ae826aab54bf5418b2da8740
-RMD160 (sqlite3-1.1.6.tar.gz) = 00188bfcc8872e0dd424bf4cf32c30442b58566e
-SHA512 (sqlite3-1.1.6.tar.gz) = f3781c186f4f677340bf752884559e9afe745726b6e8dfeb8b701ab34a5e58af0e7dba8bd852443f44fac874a1af66970ea29b044ff2f0cfbbeafbb4996cdc8d
-Size (sqlite3-1.1.6.tar.gz) = 1834834 bytes
+SHA1 (sqlite3-1.1.9.tar.gz) = c106f4dcd35dfa99bb21337700a3eb50bfd31128
+RMD160 (sqlite3-1.1.9.tar.gz) = 40712ac43823bef55d267e0b2c5897fc00e265a0
+SHA512 (sqlite3-1.1.9.tar.gz) = ef8004cb6cf7a4887fa55e54983d13a3ca0cfcae8bc4c571c4346b160a208073f7aea1c0123dec7f07745366b5cb1c0895df5a2d29c26eae292aba6b4d3fc553
+Size (sqlite3-1.1.9.tar.gz) = 1881273 bytes
+SHA1 (patch-c__src_sqlite3__drv.c) = fedaaf984fd3d167df60149b7e8b1e319ec9a4e3
diff -r d5cf59f12b86 -r f588c121508c databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c      Tue Jan 19 15:47:11 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-c__src_sqlite3__drv.c,v 1.1 2021/01/19 15:47:11 nia Exp $
+
+Argument to ctype functions must fit into unsigned char.
+
+--- c_src/sqlite3_drv.c.orig   2020-12-10 14:32:23.000000000 +0000
++++ c_src/sqlite3_drv.c
+@@ -75,7 +75,7 @@ static inline int sql_is_insert(const ch
+   int i;
+   char *insert = "insert";
+   for (i = 0; i < 6; i++) {
+-    if ((tolower(sql[i]) != insert[i]) && (sql[i] != ' ')) { return 0; }
++    if ((tolower((unsigned char)sql[i]) != insert[i]) && (sql[i] != ' ')) { return 0; }
+   }
+   return 1;
+ }



Home | Main Index | Thread Index | Old Index