Index: head/databases/tcl-lmdb/files/patch-generic__tclmdb.c =================================================================== --- head/databases/tcl-lmdb/files/patch-generic__tclmdb.c (revision 414692) +++ head/databases/tcl-lmdb/files/patch-generic__tclmdb.c (nonexistent) @@ -1,46 +0,0 @@ ---- generic/tclmdb.c.orig 2016-02-25 12:27:48 UTC -+++ generic/tclmdb.c -@@ -26,6 +26,7 @@ - */ - #include - #include -+#include - #include - #include - #ifdef USE_SYSTEM_LMDB -@@ -567,7 +568,7 @@ static int LMDB_DBI(void *cd, Tcl_Interp - return TCL_ERROR; - } - -- dbi = Tcl_GetHashValue( hashEntryPtr ); -+ dbi = (MDB_dbi)Tcl_GetHashValue( hashEntryPtr ); - - switch( (enum DBI_enum)choice ){ - -@@ -1355,7 +1356,7 @@ static int LMDB_ENV(void *cd, Tcl_Interp - case DBENV_OPEN: { - const char *zArg; - char *path = NULL; -- mode_t mode = 0664; -+ mdb_mode_t mode = 0664; - int flags; - int i = 0; - -@@ -1374,7 +1375,7 @@ static int LMDB_ENV(void *cd, Tcl_Interp - if( strcmp(zArg, "-path")==0 ){ - path = Tcl_GetStringFromObj(objv[i+1], 0); - } else if( strcmp(zArg, "-mode")==0 ){ -- if(Tcl_GetIntFromObj(interp, objv[i+1], &mode) != TCL_OK) { -+ if(Tcl_GetIntFromObj(interp, objv[i+1], (int *)&mode) != TCL_OK) { - return TCL_ERROR; - } - } else if( strcmp(zArg, "-fixedmap")==0 ){ -@@ -2063,7 +2064,7 @@ static int LMDB_MAIN(void *cd, Tcl_Inter - pResultStr = Tcl_NewStringObj( handleName, -1 ); - - newHashEntryPtr = Tcl_CreateHashEntry(tsdPtr->lmdb_hashtblPtr, handleName, &newvalue); -- Tcl_SetHashValue(newHashEntryPtr, dbi); -+ Tcl_SetHashValue(newHashEntryPtr, (ClientData)(uintptr_t)dbi); - Tcl_MutexUnlock(&myMutex); - - Tcl_CreateObjCommand(interp, handleName, (Tcl_ObjCmdProc *) LMDB_DBI, Property changes on: head/databases/tcl-lmdb/files/patch-generic__tclmdb.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/tcl-lmdb/Makefile =================================================================== --- head/databases/tcl-lmdb/Makefile (revision 414692) +++ head/databases/tcl-lmdb/Makefile (revision 414693) @@ -1,35 +1,34 @@ # Created by: gahr # $FreeBSD$ PORTNAME= tcl-lmdb -PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTVERSION= 0.3.4 CATEGORIES= databases MAINTAINER= gahr@FreeBSD.org COMMENT= Tcl interface to the Lightning Memory-Mapped Database LICENSE= BSD2CLAUSE LIB_DEPENDS= liblmdb.so:databases/lmdb USE_GITHUB= yes GH_ACCOUNT= ray2501 USES= gmake tcl:tea CONFIGURE_ARGS= --with-system-lmdb CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib TEST_TARGET= test PLIST_FILES= lib/${TCL_PKG}/lib${TCL_PKG}.so \ lib/${TCL_PKG}/pkgIndex.tcl \ man/mann/lmdb.n.gz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${TCL_PKG}/lib${TCL_PKG}.so .include Index: head/databases/tcl-lmdb/distinfo =================================================================== --- head/databases/tcl-lmdb/distinfo (revision 414692) +++ head/databases/tcl-lmdb/distinfo (revision 414693) @@ -1,2 +1,2 @@ -SHA256 (ray2501-tcl-lmdb-0.3.3_GH0.tar.gz) = 5ac1af45303a3af7d820b30c8af95146a9732d09b32277085b04ca097aa32c3d -SIZE (ray2501-tcl-lmdb-0.3.3_GH0.tar.gz) = 276080 +SHA256 (ray2501-tcl-lmdb-0.3.4_GH0.tar.gz) = 66e4b34519d2dfc9aa47030d9603560364ea6e54922adaee9ea9229d1a1cbf9d +SIZE (ray2501-tcl-lmdb-0.3.4_GH0.tar.gz) = 276740