Subject: [alpine-aports] [PATCH] community/lmdb: Update to 0.9.18

From: Olivier Mauras <[email-masked]>
Date: Tue, 23 Aug 2016 00:41:37 +0200

---
 community/lmdb/APKBUILD        | 16 ++++++++--------
 community/lmdb/lmdb_make.patch | 21 +++++----------------
 2 files changed, 13 insertions(+), 24 deletions(-)

diff --git a/community/lmdb/APKBUILD b/community/lmdb/APKBUILD
index baa3d6f..68ea44b 100644
--- a/community/lmdb/APKBUILD
+++ b/community/lmdb/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Olivier Mauras <[email-masked]>
 # Maintainer: Olivier Mauras <[email-masked]>
 pkgname=lmdb
-pkgver=0.9.17
-pkgrel=1
+pkgver=0.9.18
+pkgrel=0
 pkgdesc="Lightning Memory-Mapped Database"
 url="http://symas.com/mdb/"
 arch="all"
@@ -42,9 +42,9 @@ tools() {
 	mv "$pkgdir"/usr/bin "$subpkgdir"/usr
 }
 
-md5sums="8a5501c8b8535ddd6de67e95a8633aff  LMDB_0.9.17.tar.gz
-57ec2294bfbf1136f3c0380878bdb7fa  lmdb_make.patch"
-sha256sums="80a08218e40f76a0485ec18c42de6f1e020b1ed0268f7cb34c69746e8d98c72c  LMDB_0.9.17.tar.gz
-3e1828561bcfddab00afb0ef858c6225630730669b7f16a922eb9546b65ff28d  lmdb_make.patch"
-sha512sums="2f6108364973e01f6379613c02b9fa11933d6c91eadc5ae0cad55818bc0205041d0663a5dd936d89ec651eb1de0257390d48d549d1bc24ef29d7ee57c9fcb941  LMDB_0.9.17.tar.gz
-fd88db63888eb1fd54e4ba86801ff5ff2881f642086f22ca84d7154912b150cea83b9579aeda3ae08750f0a7e3774899ef3e22ef8b95be42295a5c01f079807b  lmdb_make.patch"
+md5sums="8b7eeb8a6c30b2763581de455d10441b  LMDB_0.9.18.tar.gz
+b7f2fe7bd4c0519c8ade94f74555c0b5  lmdb_make.patch"
+sha256sums="dd35b471d6eea84f48f2feece13d121abf59ef255308b8624a36223ffbdf9989  LMDB_0.9.18.tar.gz
+fdf996128602440342d8cb4583c93ca55bc92c498200ca07b436858850815525  lmdb_make.patch"
+sha512sums="394e88d99d446eb30771d7cf7a661584683a0d6d8e976cc561b5eecbb2a5d0817bbd59994002afa4eae6c86a39f05f50ebc2eff77cd70dd8c67225df4611f5e6  LMDB_0.9.18.tar.gz
+bce8363291cac22b4721181937e2e2504b88916f433813a84db86da9d5e8cbeb7e7b520d9925e9d51c5d6099b158479f1de3abbfa5556f720c5170fb8c44fab7  lmdb_make.patch"
diff --git a/community/lmdb/lmdb_make.patch b/community/lmdb/lmdb_make.patch
index b5b2baf..1fa8227 100644
--- a/community/lmdb/lmdb_make.patch
+++ b/community/lmdb/lmdb_make.patch
@@ -1,8 +1,8 @@
 diff --git a/Makefile b/Makefile
-index dbb5d69..149bdbf 100644
+index 0940c49..7a47dc2 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -23,11 +23,11 @@ AR	= ar
+@@ -23,10 +23,10 @@ AR	= ar
  W	= -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized
  THREADS = -pthread
  OPT = -O2 -g
@@ -11,18 +11,7 @@ index dbb5d69..149bdbf 100644
  LDLIBS	=
  SOLIBS	=
 -prefix	= /usr/local
--mandir = $(prefix)/man
 +prefix	= /usr
-+mandir = $(prefix)/share/man
- 
- ########################################################################
- 
-@@ -42,7 +42,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
- 	mkdir -p $(DESTDIR)$(prefix)/bin
- 	mkdir -p $(DESTDIR)$(prefix)/lib
- 	mkdir -p $(DESTDIR)$(prefix)/include
--	mkdir -p $(DESTDIR)$(prefix)/man/man1
-+	mkdir -p $(DESTDIR)$(mandir)/man1
- 	for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done
- 	for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
- 	for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ libdir = $(exec_prefix)/lib
-- 
2.9.3