From owner-svn-ports-head@freebsd.org Mon May 9 14:31:39 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 533B7B34919; Mon, 9 May 2016 14:31:39 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2254A1887; Mon, 9 May 2016 14:31:39 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u49EVcQg002972; Mon, 9 May 2016 14:31:38 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u49EVcLJ002970; Mon, 9 May 2016 14:31:38 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201605091431.u49EVcLJ002970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Mon, 9 May 2016 14:31:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414858 - in head/databases/tcl-lmdb: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 14:31:39 -0000 Author: gahr Date: Mon May 9 14:31:38 2016 New Revision: 414858 URL: https://svnweb.freebsd.org/changeset/ports/414858 Log: databases/tcl-lmdb: switch the default -fixedmap option of [env open] to false See the discussion at https://github.com/ray2501/tcl-lmdb/issues/4 and the commit at https://github.com/ray2501/tcl-lmdb/commit/a6fb287. Added: head/databases/tcl-lmdb/files/ head/databases/tcl-lmdb/files/patch-generic_tclmdb.c (contents, props changed) Modified: head/databases/tcl-lmdb/Makefile Modified: head/databases/tcl-lmdb/Makefile ============================================================================== --- head/databases/tcl-lmdb/Makefile Mon May 9 14:20:47 2016 (r414857) +++ head/databases/tcl-lmdb/Makefile Mon May 9 14:31:38 2016 (r414858) @@ -3,6 +3,7 @@ PORTNAME= tcl-lmdb PORTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= gahr@FreeBSD.org Added: head/databases/tcl-lmdb/files/patch-generic_tclmdb.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/tcl-lmdb/files/patch-generic_tclmdb.c Mon May 9 14:31:38 2016 (r414858) @@ -0,0 +1,15 @@ +--- generic/tclmdb.c.orig 2016-05-05 23:50:19 UTC ++++ generic/tclmdb.c +@@ -1357,11 +1357,9 @@ static int LMDB_ENV(void *cd, Tcl_Interp + const char *zArg; + char *path = NULL; + mdb_mode_t mode = 0664; +- int flags; ++ int flags = 0; + int i = 0; + +- flags = MDB_FIXEDMAP; +- + if( objc < 4 || (objc&1)!=0 ){ + Tcl_WrongNumArgs(interp, 1, objv, + "ENV_HANDLE -path path ?-mode mode? ?-fixedmap BOOLEAN? ?-nosubdir BOOLEAN? ?-readonly BOOLEAN? ?-nosync BOOLEAN? ?-nordahead BOOLEAN? "