Check-in [081b7cf929]
Overview
Comment:Upgraded to Tcl-LMDB 0.4.0, and fix to link statically
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 081b7cf9297e0da485e23b1c1ee2dd7268494743
User & Date: rkeene on 2019-01-18 15:53:25
Other Links: manifest | tags
Context
2019-01-18
16:01
Add a patch for TclUDP, which is needed for Android check-in: bb767f3401 user: rkeene tags: trunk
15:53
Upgraded to Tcl-LMDB 0.4.0, and fix to link statically check-in: 081b7cf929 user: rkeene tags: trunk
2018-10-25
00:14
Upgrade to tDOM 0.9.1 check-in: cfdca57b2a user: rkeene tags: trunk
Changes

Modified lmdb/build.sh from [0eac72fb9e] to [6456b2e9b0].

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'











|

>
|
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/env bash

# BuildCompatible: KitCreator

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

function postinstall() {
	local name

	find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do
		echo '-lntdll' > "${name}.linkadd"
	done
}

Deleted 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);
 
<
<
<
<
<
<
<
<
<
<
<
<
<
<