From 04d9a2405beaffb57bd29703a01bec6068536b6e Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 21 Apr 2016 13:18:28 +0000
Subject: libarchive: add nettle version dep to make sure there are not lib
 mismatches during upgrade that would cause bsdcpio to fail.

---
 abs/core/libarchive/PKGBUILD    | 4 ++--
 abs/core/libarchive/__changelog | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/abs/core/libarchive/PKGBUILD b/abs/core/libarchive/PKGBUILD
index 4c45763..4bb4c70 100644
--- a/abs/core/libarchive/PKGBUILD
+++ b/abs/core/libarchive/PKGBUILD
@@ -3,12 +3,12 @@
 
 pkgname=libarchive
 pkgver=3.1.2
-pkgrel=9
+pkgrel=10
 pkgdesc="library that can create and read several streaming archive formats"
 arch=('i686' 'x86_64')
 url="http://libarchive.org/"
 license=('BSD')
-depends=('acl' 'attr' 'bzip2' 'expat' 'lzo' 'nettle' 'openssl' 'xz' 'zlib')
+depends=('acl' 'attr' 'bzip2' 'expat' 'lzo' 'nettle>=3.2-1' 'openssl' 'xz' 'zlib')
 options=('strip' 'debug' 'libtool')
 provides=('libarchive.so')
 source=("http://libarchive.org/downloads/$pkgname-$pkgver.tar.gz"
diff --git a/abs/core/libarchive/__changelog b/abs/core/libarchive/__changelog
index a21fb55..e03a304 100644
--- a/abs/core/libarchive/__changelog
+++ b/abs/core/libarchive/__changelog
@@ -1,2 +1,2 @@
-- add nettle as a dep of libarchive. bsdcpio needs nettle when creating
-    the LH iso.
+- add nettle and version as a dep of libarchive. bsdcpio needs nettle when creating
+    the LH iso. The version is need to make sure it doesn't break due to lib mismatches.
-- 
cgit v0.12