pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/erlang-sqlite3



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jan 19 15:47:11 UTC 2021

Modified Files:
        pkgsrc/databases/erlang-sqlite3: Makefile distinfo
Added Files:
        pkgsrc/databases/erlang-sqlite3/patches: patch-c__src_sqlite3__drv.c

Log Message:
erlang-sqlite3: Update to 1.1.9

fixes building with newer OTP releases.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/erlang-sqlite3/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/erlang-sqlite3/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/erlang-sqlite3/Makefile
diff -u pkgsrc/databases/erlang-sqlite3/Makefile:1.19 pkgsrc/databases/erlang-sqlite3/Makefile:1.20
--- pkgsrc/databases/erlang-sqlite3/Makefile:1.19       Thu Nov  5 09:07:40 2020
+++ pkgsrc/databases/erlang-sqlite3/Makefile    Tue Jan 19 15:47:11 2021
@@ -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
 

Index: pkgsrc/databases/erlang-sqlite3/distinfo
diff -u pkgsrc/databases/erlang-sqlite3/distinfo:1.5 pkgsrc/databases/erlang-sqlite3/distinfo:1.6
--- pkgsrc/databases/erlang-sqlite3/distinfo:1.5        Wed Mar 28 21:50:16 2018
+++ pkgsrc/databases/erlang-sqlite3/distinfo    Tue Jan 19 15:47:11 2021
@@ -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

Added files:

Index: pkgsrc/databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c
diff -u /dev/null pkgsrc/databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c:1.1
--- /dev/null   Tue Jan 19 15:47:11 2021
+++ pkgsrc/databases/erlang-sqlite3/patches/patch-c__src_sqlite3__drv.c Tue Jan 19 15:47:11 2021
@@ -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