Check-in [3760a06880]
Overview
Comment:Added LMDB package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3760a068802d15ec2b5cd1b9c5bc238855d2d65a
User & Date: rkeene on 2018-06-03 17:38:49
Other Links: manifest | tags
Context
2018-06-03
17:40
KitCreator 0.11.0 check-in: a1fba82110 user: rkeene tags: trunk, 0.11.0
17:38
Added LMDB package check-in: 3760a06880 user: rkeene tags: trunk
2018-02-19
18:26
Added Linux/AArch64 build support check-in: a37fff0c69 user: rkeene tags: trunk
Changes

Added lmdb/build.sh version [0eac72fb9e].








1
2
3
4
5
6
7
+
+
+
+
+
+
+
#! /usr/bin/env bash

# BuildCompatible: KitCreator

version="0.3.6"
url="https://github.com/ray2501/tcl-lmdb/archive/${version}.tar.gz"
sha256='887f72e7c8bc569d74d3c9f151313eadeb19036b4bf8ebd68d7da45aa8a14da7'

Added lmdb/patches/lmdb-0.3.6-1fixbytearray.diff version [014616fc0e].















1
2
3
4
5
6
7
8
9
10
11
12
13
14
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --no-dereference -uNr lmdb-0.3.6.orig/generic/tclmdb.c lmdb-0.3.6-1fixbytearray/generic/tclmdb.c
--- lmdb-0.3.6.orig/generic/tclmdb.c	2017-11-23 11:47:39.000000000 -0600
+++ lmdb-0.3.6-1fixbytearray/generic/tclmdb.c	2018-06-03 12:12:08.650738083 -0500
@@ -259,8 +259,8 @@
       }
 
       pResultStr = Tcl_NewListObj(0, NULL);
-      Tcl_ListObjAppendElement(interp, pResultStr, Tcl_NewStringObj(mkey.mv_data, mkey.mv_size));
-      Tcl_ListObjAppendElement(interp, pResultStr, Tcl_NewStringObj(mdata.mv_data, mdata.mv_size));
+      Tcl_ListObjAppendElement(interp, pResultStr, Tcl_NewByteArrayObj(mkey.mv_data, mkey.mv_size));
+      Tcl_ListObjAppendElement(interp, pResultStr, Tcl_NewByteArrayObj(mdata.mv_data, mdata.mv_size));
 
       Tcl_SetObjResult(interp, pResultStr);