aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-05 14:48:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-05 14:52:21 +0000
commit38685a9022b15b97ca27284a931df91a135c37d7 (patch)
tree073e0b00bf17533d1c1312fb477012efef1ec7a6
parentbc3e40f4f82f0cc2397fbc90c884e7259f1bb4cd (diff)
downloadaports-38685a9022b15b97ca27284a931df91a135c37d7.tar.bz2
aports-38685a9022b15b97ca27284a931df91a135c37d7.tar.xz
main/tdb: upgrade to 1.3.1
-rw-r--r--main/tdb/APKBUILD20
-rw-r--r--main/tdb/fix-headers.patch11
2 files changed, 23 insertions, 8 deletions
diff --git a/main/tdb/APKBUILD b/main/tdb/APKBUILD
index f5f83906c1..90d4113d50 100644
--- a/main/tdb/APKBUILD
+++ b/main/tdb/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tdb
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=0
pkgdesc="The tdb library"
url="http://tdb.samba.org/"
@@ -12,7 +12,8 @@ makedepends="$depends_dev python-dev"
install=""
subpackages="$pkgname-dev py-$pkgname:_py $pkgname-libs"
source="http://samba.org/ftp/tdb/tdb-$pkgver.tar.gz
- fix-libreplace.patch"
+ fix-libreplace.patch
+ fix-headers.patch"
_builddir="$srcdir"/tdb-$pkgver
prepare() {
@@ -59,9 +60,12 @@ libs() {
replaces="tdb"
}
-md5sums="f18cd6afc4f5670edfe58f72d2665f94 tdb-1.3.0.tar.gz
-b8c06c1a37bce8a7feea3b6896483da0 fix-libreplace.patch"
-sha256sums="04bee48d405ab7815810575a6e0cb364cc0eea6187b54b18c84e9c18a768ba20 tdb-1.3.0.tar.gz
-13617f691c648b44867c1a76d8be7c185021e8a8f3b695f8689a9f6244e65827 fix-libreplace.patch"
-sha512sums="b9a66070002879119627bae82d8bafeb52ae336afdc4d97e14a7e4ff78e42c7c516f8349781964c2bfbbcc6949247c5fa9519f936c884151ffff9e121f9f9334 tdb-1.3.0.tar.gz
-4adbbeb75de6c55199e10f284e741ee252f403b7809251caf4baf378669770be01d469b23e12f8119ed5dca5080dd45bda1b5b78cc7a791be44c1eb6fb8c0fa2 fix-libreplace.patch"
+md5sums="f597190451d976fe013dfae9934fb9ad tdb-1.3.1.tar.gz
+b8c06c1a37bce8a7feea3b6896483da0 fix-libreplace.patch
+2a126046e54e9aa28d2bb85e4b504281 fix-headers.patch"
+sha256sums="ff29985ae880c3906ddd7609664a94c64bfe87b2b2210250e3fdee532ca2ece3 tdb-1.3.1.tar.gz
+13617f691c648b44867c1a76d8be7c185021e8a8f3b695f8689a9f6244e65827 fix-libreplace.patch
+0925f585718c6c93cc328b41c1d193778ee6135480aedf2c5976bdf0c31debeb fix-headers.patch"
+sha512sums="556dfab08853477be784956f5a89a1748b4d02bf02cbd114f63077888a7ce85080524dfc0ea4b85dad6a552e38a80edd466c409dee2d27df385802d4b20582ce tdb-1.3.1.tar.gz
+4adbbeb75de6c55199e10f284e741ee252f403b7809251caf4baf378669770be01d469b23e12f8119ed5dca5080dd45bda1b5b78cc7a791be44c1eb6fb8c0fa2 fix-libreplace.patch
+79e45fe750a946674652081e221b9dc5f05d98411e07cfba6b67890fa78a98088a456bf938c9349c5e108b95d6872700497d323428aef829534c430d726cddb8 fix-headers.patch"
diff --git a/main/tdb/fix-headers.patch b/main/tdb/fix-headers.patch
new file mode 100644
index 0000000000..f9014c01ec
--- /dev/null
+++ b/main/tdb/fix-headers.patch
@@ -0,0 +1,11 @@
+--- ./include/tdb.h.orig
++++ ./include/tdb.h
+@@ -31,6 +31,8 @@
+ #endif
+
+ #include <signal.h>
++#include <stdbool.h>
++#include <sys/types.h>
+
+ /**
+ * @defgroup tdb The tdb API