tcl-lmdb-0.4.0-fixrobust.diff at [e6fc8fa373]

File lmdb/patches/tcl-lmdb-0.4.0-fixrobust.diff artifact 672b2e5046 part of check-in e6fc8fa373


diff --no-dereference -uNr tcl_lmdb-0.4.0.orig/Makefile.in tcl_lmdb-0.4.0-fixrobust/Makefile.in
--- tcl_lmdb-0.4.0.orig/Makefile.in	2018-06-22 10:17:46.000000000 -0500
+++ tcl_lmdb-0.4.0-fixrobust/Makefile.in	2019-01-22 15:51:11.244784351 -0600
@@ -149,17 +149,6 @@
 
 PKG_CFLAGS	= @PKG_CFLAGS@
 
-# Workaround for glibc pthread robust mutex support (glibc < 2.12) fix
-ifneq ("$(OS)","Windows_NT")
-UNAME_S := $(shell uname -s)
-ifeq ($(UNAME_S),Linux)
-GLIBCCHECK := $(shell expr `ldd --version | grep ^ldd | sed 's/^.* //g'` \< 2.12)
-ifeq "$(GLIBCCHECK)" "1"
-        PKG_CFLAGS += -DMDB_USE_ROBUST=0
-endif
-endif
-endif
-
 # TCL_DEFS is not strictly need here, but if you remove it, then you
 # must make sure that configure.ac checks for the necessary components
 # that your library may use.  TCL_DEFS can actually be a problem if